Thread: ERROR 503 nginx
View Single Post
  #3  
Old 22nd November 2011, 14:13
demon326 demon326 is offline
Junior Member
 
Join Date: Nov 2010
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
Please check your nginx error log and your PHP-FPM logs.

Hello Falko, i did a reinstall to be sure i did not made a mistake, so the logs dated from the new and fresh install:

HTML Code:
Php stuff logs, followd by nginx.

[22-Nov-2011 13:29:45] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful

[22-Nov-2011 13:29:45] NOTICE: fpm is running, pid 1580
[22-Nov-2011 13:29:45] NOTICE: ready to handle connections
[22-Nov-2011 13:30:48] NOTICE: Terminating ...
[22-Nov-2011 13:30:48] NOTICE: exiting, bye-bye!
[22-Nov-2011 13:30:48] NOTICE: fpm is running, pid 6254
[22-Nov-2011 13:30:48] NOTICE: ready to handle connections
[22-Nov-2011 13:44:55] NOTICE: fpm is running, pid 22931
[22-Nov-2011 13:44:55] NOTICE: ready to handle connections
[22-Nov-2011 13:48:56] NOTICE: fpm is running, pid 23182
[22-Nov-2011 13:48:56] NOTICE: ready to handle connections
[22-Nov-2011 14:01:03] NOTICE: Terminating ...
[22-Nov-2011 14:01:03] NOTICE: exiting, bye-bye!
[22-Nov-2011 14:01:03] NOTICE: fpm is running, pid 23582
[22-Nov-2011 14:01:03] NOTICE: ready to handle connections
---------------------------------------
2011/11/22 13:44:16 [crit] 22402#0: *1 connect() to unix:/var/lib/php5-fpm/ispconfig.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.56.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080"
2011/11/22 13:45:11 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined index: login in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139" while reading response header from upstream, client: 192.168.56.1, server: _, request: "POST /content.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/"
2011/11/22 13:45:11 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 103
PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 103
PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 110
PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 110" while reading response header from upstream, client: 192.168.56.1, server: _, request: "GET /dashboard/dashboard.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/index.php"
2011/11/22 13:45:18 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined index: country in /usr/local/ispconfig/interface/web/client/form/client.tform.php on line 223" while reading response header from upstream, client: 192.168.56.1, server: _, request: "GET /client/client_edit.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/index.php"
2011/11/22 13:45:27 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined index: country in /usr/local/ispconfig/interface/web/client/form/client.tform.php on line 223
PHP Notice:  Undefined index: limit_client in /usr/local/ispconfig/interface/web/client/client_edit.php on line 146
PHP Notice:  Undefined index: on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: client:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: client:client:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 218" while reading response header from upstream, client: 192.168.56.1, server: _, request: "POST /client/client_edit.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/index.php"
2011/11/22 13:45:31 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined index: web_id in /usr/local/ispconfig/interface/web/sites/ajax_get_json.php on line 38" while reading response header from upstream, client: 192.168.56.1, server: _, request: "GET /sites/ajax_get_json.php?1321965928284&server_id=1&type=getservertype HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/index.php"
2011/11/22 13:45:49 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 463
PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 463
PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 464
PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 464
PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 465
PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 465
PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 466
PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 466
PHP Notice:  Undefined index: on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: sites:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 218" while reading response header from upstream, client: 192.168.56.1, server: _, request: "POST /sites/web_domain_edit.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/index.php"
2011/11/22 13:46:01 [error] 22402#0: *1 FastCGI sent in stderr: "PHP Notice:  Undefined index: on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: sites:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: sites:ftp_user:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139
PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 218" while reading response header from upstream, client: 192.168.56.1, server: _, request: "POST /sites/ftp_user_edit.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "192.168.56.130:8080", referrer: "http://192.168.56.130:8080/index.php"
Please notice that i run ispconfig and a simple php info files just works, but a board and or drupal install won't work, error 503...

Update: I solved the problem! It seems, when there is a php script that needs a DB connection, but the DB connection has not been set, it spits out that error...

Last edited by demon326; 22nd November 2011 at 14:38.
Reply With Quote