URGENT ISSUE-Server down, apparently due to wrong PHP setup
I have tried getting help from Linode staff since yesterday evening, but it has really not solved anything at all. We come from CleverKite and were recommended to come over here since it closes in 2015, but we are actually amateurs when it comes to any web development. I was told to come get help from the community for :
"There appears to be an error in the way your fastcgi (PHP) is set up."
The message that appears on our website is the following :
__503 Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.__
Honestly, I was told so many probable causes and suggested to do so many different things to try to identify what was wrong that I really have no idea why it would suddenly be due to wrong php setup. Even then, I do not know how to check what is wrong with it and how to fix it.
We migrated only Monday, and the site (
At the beginning, we were told that what might have caused this downtime is that our server OOMed.
Our website is a community message board of many thousand Members, so downtime like this really needs to be at a minimum, such as no more than 48 hours …
Thank you very much for whoever tries helping us.
16 Replies
As I had mentioned, nobody on our staff is particularly knowledgeable about that, but I was asked to run a few commands, so hopefully what you are looking for is somewhere :
Here is the result for service –status-all :
[ + ] apache2
[ + ] atd
[ + ] bind9
[ + ] clamav-daemon
[ + ] clamav-freshclam
[ ? ] console-setup
[ + ] cron
[ - ] dbus
[ ? ] dns-clean
[ + ] friendly-recovery
[ - ] hhvm
[ ? ] irqbalance
[ ? ] killprocs
[ ? ] kmod
[ ? ] mailman
[ + ] memcached
[ ? ] mysql
[ ? ] networking
[ + ] ntp
[ ? ] ondemand
[ + ] postfix
[ - ] postgresql
[ ? ] pppd-dns
[ - ] procps
[ + ] proftpd
[ - ] quota
[ - ] quotarpc
[ ? ] rc.local
[ + ] resolvconf
[ - ] rsync
[ + ] rsyslog
[ + ] saslauthd
[ ? ] screen-cleanup
[ ? ] sendsigs
[ - ] spamassassin
[ - ] ssh
[ - ] sudo
[ - ] sysstat
[ + ] udev
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ - ] unattended-upgrades
[ - ] urandom
[ ? ] usermin
[ ? ] webmin
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80 ::1 (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMPRUNCFG
User: name="www-data" id=33
Group: name="www-data" id=33
This is for apache2ctl -S :
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80 ::1 (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMPRUNCFG
User: name="www-data" id=33
Group: name="www-data" id=33
For tail /var/log/apache2/error.log :
[Wed Dec 31 15:49:36.113311 2014] [proxy:error] pid 5952Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Wed Dec 31 15:49:36.113389 2014] [proxy_fcgi:error] [pid 5952] [client 49.146.159.76:50040] AH01079: failed to make connection to backend: 127.0.0.1
[Wed Dec 31 15:49:36.988644 2014] [proxy:error] pid 17062Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Wed Dec 31 15:49:36.988714 2014] [proxy_fcgi:error] [pid 17062] [client 195.211.155.162:57644] AH01079: failed to make connection to backend: 127.0.0.1
[Wed Dec 31 15:49:41.807757 2014] [proxy:error] pid 4361Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Wed Dec 31 15:49:41.807819 2014] [proxy_fcgi:error] [pid 4361] [client 66.249.65.38:49177] AH01079: failed to make connection to backend: 127.0.0.1
[Wed Dec 31 15:49:43.871366 2014] [proxy:error] pid 7232Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Wed Dec 31 15:49:43.871421 2014] [proxy_fcgi:error] [pid 7232] [client 180.76.6.50:52428] AH01079: failed to make connection to backend: 127.0.0.1
[Wed Dec 31 15:49:49.827365 2014] [proxy:error] pid 4371Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Wed Dec 31 15:49:49.827422 2014] [proxy_fcgi:error] [pid 4371] [client 157.55.39.251:57519] AH01079: failed to make connection to backend: 127.0.0.1
And for tail /var/log/apache2/access.log :
118.103.233.48 - - [31/Dec/2014:15:50:26 +0000] "GET / HTTP/1.1" 503 479 "-" "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
188.165.15.203 - - [31/Dec/2014:15:50:27 +0000] "GET /User-KnightX HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.0; +
157.55.39.65 - - [31/Dec/2014:15:50:34 +0000] "GET /index.php/Special:Whatlinkshere/dia%5D%20(05/01/dia%5D%20(05/01/Thread-jimmy-choo-EtgY-gNu6-y5P1E?action=lastpost HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +
157.55.39.65 - - [31/Dec/2014:15:50:35 +0000] "GET /index.php/Template:Main_Page/Thread-Dio-s-shop-20-off-for-All-the-items-hms-beys-added?action=lastpost HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +
157.55.39.65 - - [31/Dec/2014:15:50:35 +0000] "GET /index.php/Thread-Super-Beyclash-Los-Angeles-CA-2-10-13–58751?action=lastpost HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +
24.27.103.240 - - [31/Dec/2014:15:50:36 +0000] "GET /Thread-BUYING-LAUNCHER-GRIP-MARS-RED-VER-and-BeyLauncher-MARS-RED HTTP/1.1" 503 479 "
24.27.103.240 - - [31/Dec/2014:15:50:37 +0000] "GET /favicon.ico HTTP/1.1" 200 1441 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
157.55.39.251 - - [31/Dec/2014:15:50:38 +0000] "GET /Thread-Tournament-Ideas HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +
188.165.15.239 - - [31/Dec/2014:15:50:38 +0000] "GET /User-legendry-blader HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.0; +
66.249.65.38 - - [31/Dec/2014:15:50:39 +0000] "GET /myawards.php?uid=13257 HTTP/1.1" 503 479 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +
Check other /var/log files if you find one from php-fpm. You could check config in /etc/php5/fpm/ (I hope is there in your linux distribution)
netstat -anop
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Timer
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 4009/perl off (0.00/0/0)
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2879/mysqld off (0.00/0/0)
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 3901/master off (0.00/0/0)
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 3792/memcached off (0.00/0/0)
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 4174/perl off (0.00/0/0)
tcp 0 0 66.228.48.123:80 123.125.71.25:47395 SYN_RECV - on (0.03/0/0)
tcp 0 0 66.228.48.123:53 0.0.0.0:* LISTEN 2841/named off (0.00/0/0)
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2841/named off (0.00/0/0)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2798/sshd off (0.00/0/0)
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3901/master off (0.00/0/0)
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2841/named off (0.00/0/0)
tcp 0 1233 66.228.48.123:10000 70.80.132.22:58208 ESTABLISHED 30365/index.cgi on (0.25/0/0)
tcp6 0 0 :::993 :::* LISTEN 2795/dovecot off (0.00/0/0)
tcp6 0 0 :::995 :::* LISTEN 2795/dovecot off (0.00/0/0)
tcp6 0 0 :::587 :::* LISTEN 3901/master off (0.00/0/0)
tcp6 0 0 :::110 :::* LISTEN 2795/dovecot off (0.00/0/0)
tcp6 0 0 :::143 :::* LISTEN 2795/dovecot off (0.00/0/0)
tcp6 0 0 :::80 :::* LISTEN 4111/apache2 keepalive (0.00/0/0)
tcp6 0 0 :::21 :::* LISTEN 4055/proftpd: (acce off (0.00/0/0)
tcp6 0 0 :::53 :::* LISTEN 2841/named off (0.00/0/0)
tcp6 0 0 :::22 :::* LISTEN 2798/sshd off (0.00/0/0)
tcp6 0 0 :::25 :::* LISTEN 3901/master off (0.00/0/0)
tcp6 0 0 ::1:953 :::* LISTEN 2841/named off (0.00/0/0)
tcp6 0 0 :::443 :::* LISTEN 4111/apache2 off (0.00/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:3031 TIME_WAIT - timewait (8.93/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1941 TIME_WAIT - timewait (7.41/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1583 TIME_WAIT - timewait (6.80/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2435 TIME_WAIT - timewait (8.22/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1064 TIME_WAIT - timewait (6.50/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:3308 TIME_WAIT - timewait (9.34/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.65:8155 TIME_WAIT - timewait (37.36/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:3099 TIME_WAIT - timewait (9.03/0/0)
tcp6 0 0 66.228.48.123:80 89.28.24.190:2724 TIME_WAIT - timewait (27.75/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.173:34979 TIME_WAIT - timewait (25.08/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.251:54714 TIME_WAIT - timewait (38.47/0/0)
tcp6 0 0 66.228.48.123:80 66.249.65.40:52057 TIME_WAIT - timewait (29.96/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2228 TIME_WAIT - timewait (7.81/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2638 TIME_WAIT - timewait (8.42/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1214 TIME_WAIT - timewait (6.60/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1902 TIME_WAIT - timewait (7.31/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1728 TIME_WAIT - timewait (7.10/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2321 TIME_WAIT - timewait (8.12/0/0)
tcp6 0 0 66.228.48.123:80 66.249.65.40:43858 TIME_WAIT - timewait (39.98/0/0)
tcp6 0 0 66.228.48.123:80 66.249.65.40:53693 TIME_WAIT - timewait (19.94/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1690 TIME_WAIT - timewait (7.00/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.251:54412 TIME_WAIT - timewait (37.89/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1914 TIME_WAIT - timewait (7.21/0/0)
tcp6 0 0 66.228.48.123:80 66.249.65.42:56307 TIME_WAIT - timewait (51.58/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2534 TIME_WAIT - timewait (8.32/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2704 TIME_WAIT - timewait (8.53/0/0)
tcp6 0 0 66.228.48.123:80 89.28.24.190:2700 TIME_WAIT - timewait (27.43/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2935 TIME_WAIT - timewait (8.73/0/0)
tcp6 0 0 66.228.48.123:80 54.209.44.52:41598 TIME_WAIT - timewait (33.01/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.251:55404 TIME_WAIT - timewait (40.62/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1409 TIME_WAIT - timewait (6.70/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2979 TIME_WAIT - timewait (8.83/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:3281 TIME_WAIT - timewait (9.23/0/0)
tcp6 0 0 66.228.48.123:80 54.209.44.52:41597 TIME_WAIT - timewait (32.89/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2303 TIME_WAIT - timewait (7.92/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2249 TIME_WAIT - timewait (8.02/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:3191 TIME_WAIT - timewait (9.13/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2063 TIME_WAIT - timewait (7.61/0/0)
tcp6 0 0 66.228.48.123:80 66.249.65.38:54988 TIME_WAIT - timewait (58.45/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2778 TIME_WAIT - timewait (8.63/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:3415 TIME_WAIT - timewait (9.44/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1997 TIME_WAIT - timewait (7.51/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:2174 TIME_WAIT - timewait (7.71/0/0)
tcp6 0 0 66.228.48.123:80 157.55.39.252:1654 TIME_WAIT - timewait (6.90/0/0)
udp 0 0 127.0.0.1:11211 0.0.0.0:* 3792/memcached off (0.00/0/0)
udp 0 0 0.0.0.0:20000 0.0.0.0:* 4009/perl off (0.00/0/0)
udp 0 0 0.0.0.0:10000 0.0.0.0:* 4174/perl off (0.00/0/0)
udp 0 0 66.228.48.123:53 0.0.0.0:* 2841/named off (0.00/0/0)
udp 0 0 127.0.0.1:53 0.0.0.0:* 2841/named off (0.00/0/0)
udp 0 0 0.0.0.0:68 0.0.0.0:* 2444/dhclient off (0.00/0/0)
udp 0 0 66.228.48.123:123 0.0.0.0:* 4238/ntpd off (0.00/0/0)
udp 0 0 127.0.0.1:123 0.0.0.0:* 4238/ntpd off (0.00/0/0)
udp 0 0 0.0.0.0:123 0.0.0.0:* 4238/ntpd off (0.00/0/0)
udp 0 0 0.0.0.0:25413 0.0.0.0:* 2444/dhclient off (0.00/0/0)
udp6 0 0 :::53 :::* 2841/named off (0.00/0/0)
udp6 0 0 fe80::f03c:91ff:fe8:123 :::* 4238/ntpd off (0.00/0/0)
udp6 0 0 2600:3c00::f03c:91f:123 :::* 4238/ntpd off (0.00/0/0)
udp6 0 0 ::1:123 :::* 4238/ntpd off (0.00/0/0)
udp6 0 0 :::123 :::* 4238/ntpd off (0.00/0/0)
udp6 0 0 :::20999 :::* 2444/dhclient off (0.00/0/0)
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ] DGRAM 4770 2805/rsyslogd /var/spool/postfix/dev/log
unix 2 [ ACC ] STREAM LISTENING 5927 2795/dovecot /var/run/dovecot/stats
unix 2 [ ACC ] STREAM LISTENING 1577 2879/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 5930 2795/dovecot /var/run/dovecot/ssl-params
unix 2 [ ACC ] STREAM LISTENING 5932 2795/dovecot /var/run/dovecot/login/ssl-params
unix 2 [ ACC ] STREAM LISTENING 5934 2795/dovecot /var/run/dovecot/replicator
unix 2 [ ACC ] STREAM LISTENING 5936 2795/dovecot /var/run/dovecot/replication-notify
unix 2 [ ACC ] STREAM LISTENING 5939 2795/dovecot /var/run/dovecot/login/pop3
unix 2 [ ACC ] STREAM LISTENING 5945 2795/dovecot /var/run/dovecot/log-errors
unix 2 [ ACC ] STREAM LISTENING 5947 2795/dovecot /var/run/dovecot/ipc
unix 2 [ ACC ] STREAM LISTENING 5949 2795/dovecot /var/run/dovecot/login/ipc-proxy
unix 2 [ ACC ] STREAM LISTENING 5951 2795/dovecot /var/run/dovecot/indexer-worker
unix 2 [ ACC ] STREAM LISTENING 5953 2795/dovecot /var/run/dovecot/indexer
unix 2 [ ACC ] STREAM LISTENING 5955 2795/dovecot /var/run/dovecot/login/imap
unix 2 [ ACC ] STREAM LISTENING 5957 2795/dovecot /var/run/dovecot/imap-urlauth-worker
unix 2 [ ACC ] STREAM LISTENING 4677 2729/dbus-daemon /var/run/dbus/systembussocket
unix 2 [ ACC ] STREAM LISTENING 5959 2795/dovecot /var/run/dovecot/token-login/imap-urlauth
unix 2 [ ACC ] STREAM LISTENING 5961 2795/dovecot /var/run/dovecot/imap-urlauth
unix 2 [ ACC ] STREAM LISTENING 5967 2795/dovecot /var/run/dovecot/doveadm-server
unix 2 [ ACC ] STREAM LISTENING 5969 2795/dovecot /var/run/dovecot/dns-client
unix 2 [ ACC ] STREAM LISTENING 5971 2795/dovecot /var/run/dovecot/director-admin
unix 2 [ ACC ] STREAM LISTENING 5973 2795/dovecot /var/run/dovecot/director-userdb
unix 2 [ ACC ] STREAM LISTENING 5975 2795/dovecot /var/run/dovecot/dict
unix 2 [ ACC ] STREAM LISTENING 5977 2795/dovecot /var/run/dovecot/config
unix 2 [ ACC ] STREAM LISTENING 5979 2795/dovecot /var/run/dovecot/login/login
unix 2 [ ACC ] STREAM LISTENING 5981 2795/dovecot /var/run/dovecot/token-login/tokenlogin
unix 2 [ ACC ] STREAM LISTENING 5983 2795/dovecot /var/run/dovecot/auth-login
unix 2 [ ACC ] STREAM LISTENING 5985 2795/dovecot /var/run/dovecot/auth-client
unix 2 [ ACC ] STREAM LISTENING 5987 2795/dovecot /var/run/dovecot/auth-userdb
unix 2 [ ACC ] STREAM LISTENING 242 1/init @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 5989 2795/dovecot /var/run/dovecot/auth-master
unix 2 [ ACC ] STREAM LISTENING 5991 2795/dovecot /var/run/dovecot/auth-worker
unix 2 [ ACC ] STREAM LISTENING 5993 2795/dovecot /var/run/dovecot/anvil
unix 2 [ ACC ] STREAM LISTENING 5995 2795/dovecot /var/run/dovecot/anvil-auth-penalty
unix 2 [ ACC ] STREAM LISTENING 986 3901/master public/pickup
unix 2 [ ACC ] STREAM LISTENING 990 3901/master public/cleanup
unix 2 [ ACC ] STREAM LISTENING 993 3901/master public/qmgr
unix 2 [ ACC ] STREAM LISTENING 5808 3901/master public/flush
unix 2 [ ACC ] STREAM LISTENING 5823 3901/master public/showq
unix 14 [ ] DGRAM 4767 2805/rsyslogd /dev/log
unix 2 [ ACC ] STREAM LISTENING 5883 3940/saslauthd /var/spool/postfix/var/run/saslauthd/mux
unix 2 [ ACC ] STREAM LISTENING 997 3901/master private/tlsmgr
unix 2 [ ACC ] STREAM LISTENING 5793 3901/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 5796 3901/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 5799 3901/master private/defer
unix 2 [ ACC ] STREAM LISTENING 5802 3901/master private/trace
unix 2 [ ACC ] STREAM LISTENING 5805 3901/master private/verify
unix 2 [ ACC ] STREAM LISTENING 5811 3901/master private/proxymap
unix 2 [ ACC ] STREAM LISTENING 5814 3901/master private/proxywrite
unix 2 [ ACC ] STREAM LISTENING 5817 3901/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 5820 3901/master private/relay
unix 2 [ ACC ] STREAM LISTENING 5826 3901/master private/error
unix 2 [ ACC ] STREAM LISTENING 5829 3901/master private/retry
unix 2 [ ACC ] STREAM LISTENING 5832 3901/master private/discard
unix 2 [ ACC ] STREAM LISTENING 5835 3901/master private/local
unix 2 [ ACC ] STREAM LISTENING 5838 3901/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 5841 3901/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 5844 3901/master private/anvil
unix 2 [ ACC ] STREAM LISTENING 5847 3901/master private/scache
unix 2 [ ACC ] STREAM LISTENING 5850 3901/master private/maildrop
unix 2 [ ACC ] STREAM LISTENING 5853 3901/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 5856 3901/master private/ifmail
unix 2 [ ACC ] SEQPACKET LISTENING 2272 1504/systemd-udevd /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 5859 3901/master private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 5862 3901/master private/scalemail-backend
unix 2 [ ACC ] STREAM LISTENING 5865 3901/master private/mailman
unix 2 [ ACC ] STREAM LISTENING 752 3635/clamd /var/run/clamav/clamd.ctl
unix 2 [ ] DGRAM 7182 4009/perl
unix 3 [ ] STREAM CONNECTED 5851 3901/master
unix 3 [ ] STREAM CONNECTED 5849 3901/master
unix 3 [ ] STREAM CONNECTED 5792 3901/master
unix 3 [ ] STREAM CONNECTED 5845 3901/master
unix 3 [ ] STREAM CONNECTED 5843 3901/master
unix 3 [ ] STREAM CONNECTED 5791 3901/master
unix 2 [ ] DGRAM 7505 4174/perl
unix 3 [ ] STREAM CONNECTED 5794 3901/master
unix 3 [ ] STREAM CONNECTED 5839 3901/master
unix 3 [ ] DGRAM 1254 1504/systemd-udevd
unix 3 [ ] STREAM CONNECTED 664 2729/dbus-daemon /var/run/dbus/systembussocket
unix 3 [ ] STREAM CONNECTED 5837 3901/master
unix 3 [ ] STREAM CONNECTED 5834 3901/master
unix 3 [ ] STREAM CONNECTED 5812 3901/master
unix 3 [ ] STREAM CONNECTED 991 3901/master
unix 3 [ ] STREAM CONNECTED 850 3792/memcached
unix 3 [ ] STREAM CONNECTED 5873 3901/master
unix 3 [ ] STREAM CONNECTED 5810 3901/master
unix 3 [ ] STREAM CONNECTED 853 3792/memcached
unix 3 [ ] STREAM CONNECTED 5867 3901/master
unix 3 [ ] STREAM CONNECTED 5830 3901/master
unix 3 [ ] STREAM CONNECTED 5816 3901/master
unix 3 [ ] STREAM CONNECTED 988 3901/master
unix 3 [ ] STREAM CONNECTED 656 2729/dbus-daemon
unix 3 [ ] STREAM CONNECTED 984 3901/master
unix 3 [ ] STREAM CONNECTED 5828 3901/master
unix 3 [ ] STREAM CONNECTED 5863 3901/master
unix 3 [ ] STREAM CONNECTED 5804 3901/master
unix 3 [ ] STREAM CONNECTED 856 3792/memcached
unix 3 [ ] STREAM CONNECTED 4692 1/init @/com/ubuntu/upstart
unix 3 [ ] STREAM CONNECTED 5861 3901/master
unix 3 [ ] STREAM CONNECTED 4701 1/init
unix 3 [ ] STREAM CONNECTED 5925 2795/dovecot
unix 3 [ ] STREAM CONNECTED 847 3792/memcached
unix 3 [ ] STREAM CONNECTED 5824 3901/master
unix 3 [ ] STREAM CONNECTED 5800 3901/master
unix 3 [ ] STREAM CONNECTED 5822 3901/master
unix 3 [ ] STREAM CONNECTED 995 3901/master
unix 3 [ ] STREAM CONNECTED 322 1/init @/com/ubuntu/upstart
unix 2 [ ] DGRAM 8305 4238/ntpd
unix 3 [ ] STREAM CONNECTED 5857 3901/master
unix 3 [ ] STREAM CONNECTED 5806 3901/master
unix 3 [ ] STREAM CONNECTED 4580 1/init @/com/ubuntu/upstart
unix 3 [ ] STREAM CONNECTED 5855 3901/master
unix 3 [ ] STREAM CONNECTED 5818 3901/master
unix 2 [ ] DGRAM 1887 4005/log
unix 3 [ ] STREAM CONNECTED 5852 3901/master
unix 3 [ ] STREAM CONNECTED 5848 3901/master
unix 2 [ ] DGRAM 5779 3901/master
unix 3 [ ] STREAM CONNECTED 5846 3901/master
unix 3 [ ] STREAM CONNECTED 5797 3901/master
unix 2 [ ] DGRAM 158140 2444/dhclient
unix 3 [ ] STREAM CONNECTED 5842 3901/master
unix 3 [ ] STREAM CONNECTED 5840 3901/master
unix 3 [ ] STREAM CONNECTED 5795 3901/master
unix 2 [ ] DGRAM 23588 6872/tlsmgr
unix 3 [ ] DGRAM 1253 1504/systemd-udevd
unix 3 [ ] STREAM CONNECTED 5836 3901/master
unix 3 [ ] STREAM CONNECTED 5798 3901/master
unix 3 [ ] STREAM CONNECTED 3876 2774/systemd-logind
unix 3 [ ] STREAM CONNECTED 5813 3901/master
unix 3 [ ] STREAM CONNECTED 854 3792/memcached
unix 2 [ ] DGRAM 139470 27680/pickup
unix 3 [ ] STREAM CONNECTED 992 3901/master
unix 2 [ ] DGRAM 5882 3940/saslauthd
unix 3 [ ] STREAM CONNECTED 655 2729/dbus-daemon
unix 2 [ ] DGRAM 5917 2795/dovecot
unix 3 [ ] STREAM CONNECTED 5833 3901/master
unix 3 [ ] STREAM CONNECTED 5872 3901/master
unix 3 [ ] STREAM CONNECTED 859 3792/memcached
unix 2 [ ] DGRAM 1858 3910/qmgr
unix 3 [ ] STREAM CONNECTED 987 3901/master
unix 3 [ ] STREAM CONNECTED 5831 3901/master
unix 3 [ ] STREAM CONNECTED 5866 3901/master
unix 3 [ ] STREAM CONNECTED 985 3901/master
unix 3 [ ] STREAM CONNECTED 5815 3901/master
unix 3 [ ] STREAM CONNECTED 5864 3901/master
unix 3 [ ] STREAM CONNECTED 860 3792/memcached
unix 3 [ ] STREAM CONNECTED 1330 2899/upstart-file-b
unix 3 [ ] STREAM CONNECTED 5827 3901/master
unix 3 [ ] STREAM CONNECTED 5825 3901/master
unix 3 [ ] STREAM CONNECTED 5803 3901/master
unix 3 [ ] STREAM CONNECTED 857 3792/memcached
unix 3 [ ] STREAM CONNECTED 5860 3901/master
unix 3 [ ] STREAM CONNECTED 1375 2729/dbus-daemon /var/run/dbus/systembussocket
unix 3 [ ] STREAM CONNECTED 5801 3901/master
unix 3 [ ] STREAM CONNECTED 848 3792/memcached
unix 3 [ ] STREAM CONNECTED 5858 3901/master
unix 3 [ ] STREAM CONNECTED 5809 3901/master
unix 3 [ ] STREAM CONNECTED 5821 3901/master
unix 3 [ ] STREAM CONNECTED 5807 3901/master
unix 3 [ ] STREAM CONNECTED 319 1496/upstart-udev-b
unix 3 [ ] STREAM CONNECTED 5926 2795/dovecot
unix 3 [ ] STREAM CONNECTED 851 3792/memcached
unix 3 [ ] STREAM CONNECTED 600 2903/upstart-socket
unix 3 [ ] STREAM CONNECTED 5819 3901/master
unix 3 [ ] STREAM CONNECTED 994 3901/master
unix 3 [ ] STREAM CONNECTED 5854 3901/master
unix 2 [ ] DGRAM 4776 2841/named
I did not find /etc/php5/fpm/ Any idea of specific var/log files to check for php-fpm ?
What OS are you running, and how did you set it up?
Also, you can wrap long blocks of text like that in 'code' tags and it'll show up monospaced, making it much easier to read. Like this:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Timer
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 4009/perl off (0.00/0/0)
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2879/mysqld off (0.00/0/0)
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 3901/master off (0.00/0/0)
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 3792/memcached off (0.00/0/0)
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2795/dovecot off (0.00/0/0)
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 4174/perl off (0.00/0/0)
That's left-bracket code right-bracket to start, and left-bracket /code right-bracket to end.
We are on Linux - Ubuntu.
How would I get php-fpm running or listening ?
Try:
service php5-fpm start
If that works,
update-rc.d php5-fpm defaults
and make sure it still works after a reboot.
Is it really a problem that could be on the warranty if our site/server worked from Monday noon to Tuesday evening, and then everything stopped working ?
We can guess how to fix it, but they will probably know.
uname -a
tail /var/log/apache2/error.log
ls -l /etc/init.d/fpm
service –status-all | egrep 'fastcgi|fpm'
Here are the results :
uname -a
Linux localhost 3.16.7-x8664-linode49 #3 SMP Fri Nov 14 16:55:37 EST 2014 x8664 x8664 x8664 GNU/Linux
tail /var/log/apache2/error.log
[Thu Jan 01 04:11:18.890679 2015] [proxy:error] pid 4126Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu Jan 01 04:11:18.890768 2015] [proxy_fcgi:error] [pid 4126] [client 157.55.39.12:63194] AH01079: failed to make connection to backend: 127.0.0.1
[Thu Jan 01 04:11:20.427500 2015] [proxy:error] pid 14443Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu Jan 01 04:11:20.427578 2015] [proxy_fcgi:error] [pid 14443] [client 66.249.65.40:56784] AH01079: failed to make connection to backend: 127.0.0.1
[Thu Jan 01 04:11:21.051916 2015] [proxy:error] pid 4128Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu Jan 01 04:11:21.051983 2015] [proxy_fcgi:error] [pid 4128] [client 66.249.65.40:52531] AH01079: failed to make connection to backend: 127.0.0.1
[Thu Jan 01 04:11:21.947149 2015] [proxy:error] pid 4127Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu Jan 01 04:11:21.947215 2015] [proxy_fcgi:error] [pid 4127] [client 94.228.34.248:53984] AH01079: failed to make connection to backend: 127.0.0.1
[Thu Jan 01 04:11:23.800757 2015] [proxy:error] pid 14413Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu Jan 01 04:11:23.800810 2015] [proxy_fcgi:error] [pid 14413] [client 157.55.39.251:64330] AH01079: failed to make connection to backend: 127.0.0.1
ls -l /etc/init.d/fpm
-rwxr-xr-x 1 root root 4403 Feb 17 2014 /etc/init.d/php5-fpm
service –status-all | egrep 'fastcgi|fpm'
[ ? ] console-setup
[ ? ] dns-clean
[ ? ] irqbalance
[ ? ] killprocs
[ ? ] kmod
[ ? ] mailman
[ ? ] mysql
[ ? ] networking
[ ? ] ondemand
[ ? ] pppd-dns
[ ? ] rc.local
[ ? ] screen-cleanup
[ ? ] sendsigs
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ ? ] usermin
[ ? ] webmin
[ - ] php5-fpm
Try to change PHP-FPM from UDS to TCP:
edit /etc/php5/fpm/pool.d/
www.conf change "listen" line from something ended with .sock to -> listen = 127.0.0.1:9000
Restart PHP-FPM: sudo service php5-fpm restart