Re: Nginx giving 502 Bad Gateway in random intervals

2013-05-15 Thread darshan.choudhary
darshan.choudhary Wrote: --- > Did everything you mentioned above but still it is showing after I > run/etc/init.d/php-fpm start > > -bash: /etc/init.d/php-fpm: No such file or directory I somehow managed to install fpm and n

Re: Nginx giving 502 Bad Gateway in random intervals

2013-05-15 Thread darshan.choudhary
Did everything you mentioned above but still it is showing after I run/etc/init.d/php-fpm start -bash: /etc/init.d/php-fpm: No such file or directory Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239181,239213#msg-239213 ___ nginx mailing l

Re: Nginx giving 502 Bad Gateway in random intervals

2013-05-15 Thread darshan.choudhary
I am using php 5.3.3 and trying to install php-fpm and on research i came to know that php-fpm come bundled wirh 5.3.3 but still not able to find it. http://trainingjunction.in/phpinfo.php where am i going wrong? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239181,239211#msg-239211

Re: Nginx giving 502 Bad Gateway in random intervals

2013-05-15 Thread darshan.choudhary
I am using php 5.3.3 but still not able to find php-fpm in it!! http://trainingjunction.in/phpinfo.php where am i going wrong? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239181,239210#msg-239210 ___ nginx mailing list nginx@nginx.org h

Re: Nginx giving 502 Bad Gateway in random intervals

2013-05-14 Thread darshan.choudhary
this is something that i do whenever this happens. and error goes away. but it happens again. about 3-4 times a day. is there a way to solve this permanently? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239181,239194#msg-239194 ___ nginx

Re: Nginx giving 502 Bad Gateway in random intervals

2013-05-14 Thread darshan.choudhary
Hi, Thanks for the help. It seems I don't have a www.conf in my nginx folder. This might sound naive but I am not able to find www.conf file. Upon search, I got to know that it should be in opt folder. But there is nothing in it. I have a nginx running on fcgi and Debian Squeeze. Posted at Ngin

Nginx giving 502 Bad Gateway in random intervals

2013-05-14 Thread darshan.choudhary
I am getting a 502 Bad Gateway on my server after any random intervals. If i run the following code the server starts working again: /usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f /usr/bin/php5-cgi -P /var/run/fastcgi-php.pid I have tried every possible way available on the