IT Knowledge Base

Technical Repository

HowTo: Fix “unix:/var/run/php5-fpm.sock failed (13: Permission denied)”

If you look at the /usr/local/nginx/logs/error.log and see the following error, you can use the next steps to resolve the problem. connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: Change the owner of php5-fpm.sock and set permission to 660. chown nginx:nginx /var/run/php5-fpm.sock chmod 660 /var/run/php5-fpm.sock Open the php5-fpm configuration file […]

Read More

HowTo: Fix VMware Tools Services Failure after Upgrading Linux Kernel

After upgrading the kernel on a Red Hat server, we see the following vmware-tools services fail to start: Checking acpi hot plug [ OK ] Starting VMware Tools services in the virtual machine: Switching to guest configuration: [ OK ] VM communication interface: [FAILED] VM communication interface socket family: [FAILED] Guest operating system daemon: [ […]

Read More

HowTo: Debian/Ubuntu – nslookup Not Found

You need to install the dnsutils package. The Berkeley Internet Name Domain (BIND) implements an Internet domain name server. BIND is the most widely-used name server software on the Internet, and is supported by the Internet Software Consortium, This package delivers various client programs related to DNS that are derived from the BIND source tree. dig – query the DNS […]

Read More

HowTo: Enable the Status page for NGINX

Nginx has status page to give you information about Nginx’s server health including Active connections and other data. These statistics applied to the entire Nginx server and not per virtual host. nginx -V | grep –color -o http_stub_status Open Nginx.conf file to enable the status page. nano /usr/local/nginx/conf/nginx.conf Update the server { } block with […]

Read More