|
#1
|
|||
|
|||
|
----- Incoming Emails via IMAP (Google Apps/ Gmail) Outgoing Emails via SMTP (Google Apps/ Gmail) Ubuntu 11.10 x86_64 Server Nginx PHP 5.3.6 with PHP-FPM. ------- Here is a sample of a few of the various error showing up in my Error Log. Code:
2012/04/06 19:26:40 [error] 2115#0: *320 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "POST /scp/tickets.php?id=5 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=5" 2012/04/06 19:40:11 [error] 2114#0: *331 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "POST /scp/tickets.php?id=4 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=4" 2012/04/06 19:48:06 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=5" 2012/04/06 19:48:09 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php" 2012/04/06 19:48:13 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email" 2012/04/06 19:48:18 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff" 2012/04/06 19:48:20 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=depts HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email" 2012/04/06 19:48:23 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff&dept=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=depts" 2012/04/06 19:48:29 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff&id=3 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff&dept=1" 2012/04/06 19:48:31 [error] 2114#0: *360 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=settings HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff&id=3" 2012/04/06 20:43:14 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email" 2012/04/06 20:43:17 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=email" 2012/04/06 20:43:19 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=staff&id=4 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff" 2012/04/06 20:43:21 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=dashboard HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=staff&id=4" 2012/04/06 20:43:24 [error] 2114#0: *385 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "GET /scp/admin.php?t=email HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=dashboard" 2012/04/06 20:44:53 [error] 2114#0: *385 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.63.80, server: MyDomainName.com, request: "POST /scp/tickets.php?id=4 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/tickets.php?id=4" 2012/04/08 15:33:47 [error] 2114#0: *419 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 192.168.63.84, server: MyDomainName.com, request: "GET /favicon.ico HTTP/1.1", host: "MyDomainName.com" 2012/04/08 15:33:47 [error] 2114#0: *417 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 192.168.63.84, server: MyDomainName.com, request: "GET /favicon.ico HTTP/1.1", host: "MyDomainName.com" 2012/04/08 15:33:47 [error] 2114#0: *420 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 192.168.63.84, server: MyDomainName.com, request: "GET /favicon.ico HTTP/1.1", host: "MyDomainName.com" 2012/04/08 15:33:48 [error] 2114#0: *423 FastCGI sent in stderr: "PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/MyDomainName.com/public_html/include/pear/Mail/mimeDecode.php on line 335" while reading response header from upstream, client: 192.168.63.84, server: MyDomainName.com, request: "GET /scp/admin.php?t=dashboard HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "MyDomainName.com", referrer: "http://MyDomainName.com/scp/admin.php?t=dashboard" Last edited by sdrawkcab; 04-11-2012 at 04:00 PM. |
|
#2
|
|||
|
|||
|
Alright, I found the cause of my problem.
It was that the server didn't have the /etc/hosts setup. Since the Domain Name didn't exist externally in the public DNS system, but was only internally resolvable, I had to set it in the host on the server for the PHP-FPM to work properly with the listening socket. This fixed my problem. |
|
#3
|
||||
|
||||
|
Thank you for posting your solution. Maybe it someone else will find it and it will help them.
|
![]() |
| Bookmarks |
| Tags |
| fpm, nginx, php-fpm, timeout, ubuntu |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|