Hello
i switched two of our server to newly appeared "nginx_apache" option ( nginx as a proxy for apache)
every things seems to work fine ( except password protected directories that seems rewrite_confs dont set the, up correctly in config files )
but today i have another problem that im not noticed before
in webmail path
for example http://domain.com/squirrelmail/
give following error in browser
502 Bad Gateway
nginx
and this error in nginx log
014/03/02 01:14:50 [crit] 5825#0: *47983 connect() to unix:/usr/local/php54/sockets/webapps.sock failed (2: No such file or directory) while connecting to upstream, client: 188.x.x.x., server: domain.com, request: "GET /roundcube/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php54/sockets/webapps.sock:", host: "doamin.com"
i changed webapp configuration in
File: /etc/nginx/webapps_settings.conf
to
fastcgi_pass unix:/usr/local/php53/sockets/webapps.sock;
but i get following error
2014/03/05 11:12:07 [crit] 27841#0: *1393 connect() to unix:/usr/local/php53/sockets/webapps.sock failed (13: Permission denied) while connecting to upstream, client: 128..x.x.x, server: domain.com, request: "GET /squirrelmail/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/webapps.sock:", host:domain.com "
i have other permission issue on this server that i challenging with them
i have installed a new server and attached hard disk that have /home partion to new configured server
i also tried
http://help.directadmin.com/item.php?id=173
for my permission issu but no hope !
im using php-fpm v 5.3 on this server
i switched two of our server to newly appeared "nginx_apache" option ( nginx as a proxy for apache)
every things seems to work fine ( except password protected directories that seems rewrite_confs dont set the, up correctly in config files )
but today i have another problem that im not noticed before
in webmail path
for example http://domain.com/squirrelmail/
give following error in browser
502 Bad Gateway
nginx
and this error in nginx log
014/03/02 01:14:50 [crit] 5825#0: *47983 connect() to unix:/usr/local/php54/sockets/webapps.sock failed (2: No such file or directory) while connecting to upstream, client: 188.x.x.x., server: domain.com, request: "GET /roundcube/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php54/sockets/webapps.sock:", host: "doamin.com"
i changed webapp configuration in
File: /etc/nginx/webapps_settings.conf
to
fastcgi_pass unix:/usr/local/php53/sockets/webapps.sock;
but i get following error
2014/03/05 11:12:07 [crit] 27841#0: *1393 connect() to unix:/usr/local/php53/sockets/webapps.sock failed (13: Permission denied) while connecting to upstream, client: 128..x.x.x, server: domain.com, request: "GET /squirrelmail/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/webapps.sock:", host:domain.com "
i have other permission issue on this server that i challenging with them
i have installed a new server and attached hard disk that have /home partion to new configured server
i also tried
http://help.directadmin.com/item.php?id=173
for my permission issu but no hope !
im using php-fpm v 5.3 on this server