guidomallee
Verified User
- Joined
- Jun 7, 2013
- Messages
- 15
After adding a new user in Direct Admin, Nginx returns a 502 Bad Gateway error accessing the new user's website. Checking the nginx error log of the new user shows me the following error:
Checking the folder /usr/local/php55/sockets/ confirms that new_user.sock doesn't exist. I tried creating a new user and again, the .sock file is not created. The only sock files present are admin.sock and webapps.sock.
Any workaround for this issue?
Code:
2013/06/10 17:26:46 [crit] 5822#0: *1 connect() to unix:/usr/local/php55/sockets/new_user.sock failed (2: No such file or directory) while connecting to upstream, client: 177.97.202.239, server: newdomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php55/sockets/new_user.sock:", host: "www.newdomain.com"
2013/06/10 17:27:12 [crit] 5822#0: *6 connect() to unix:/usr/local/php55/sockets/new_user.sock failed (2: No such file or directory) while connecting to upstream, client: 177.97.202.239, server: newdomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php55/sockets/new_user.sock:", host: "www.newdomain.com"
2013/06/10 17:27:23 [crit] 5843#0: *2 connect() to unix:/usr/local/php55/sockets/new_user.sock failed (2: No such file or directory) while connecting to upstream, client: 177.97.202.239, server: newdomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php55/sockets/new_user.sock:", host: "www.newdomain.com"
Checking the folder /usr/local/php55/sockets/ confirms that new_user.sock doesn't exist. I tried creating a new user and again, the .sock file is not created. The only sock files present are admin.sock and webapps.sock.
Any workaround for this issue?