Thanks for the reply.
I have checked the log file:
- NginX at "/usr/local/apps/nginx/var/log/error.log" and there is no error at all (no information at all/ empty file)
- NginX at "/usr/local/apps/nginx/var/error_log" and it print usual activity visible in 'WebServer log' file
However, while looking at "/usr/local/apps/php54/var/log/php-fpm.log", I get this information:
Quote
[21-Jan-2014 10:16:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:16:01] ERROR: FPM initialization failed
[21-Jan-2014 10:17:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:17:01] ERROR: FPM initialization failed
[21-Jan-2014 10:18:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:18:01] ERROR: FPM initialization failed
[21-Jan-2014 10:19:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:19:01] ERROR: FPM initialization failed
[21-Jan-2014 10:20:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:20:01] ERROR: FPM initialization failed
[21-Jan-2014 10:21:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:21:01] ERROR: FPM initialization failed
[21-Jan-2014 10:22:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:22:01] ERROR: FPM initialization failed
[21-Jan-2014 10:23:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:23:01] ERROR: FPM initialization failed
[21-Jan-2014 10:24:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:24:01] ERROR: FPM initialization failed
[21-Jan-2014 10:25:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:25:01] ERROR: FPM initialization failed
[21-Jan-2014 10:26:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:26:01] ERROR: FPM initialization failed
[21-Jan-2014 10:27:01] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[21-Jan-2014 10:27:01] ERROR: FPM initialization failed
Service in Webuzo down again (about twenty hour after it started working correctly). At this time, three services were stopped:
- NginX
- PHP-FPM
- Pure-FTPD
I have setup cronjob to start a script that will 'start' both NginX and PHP-FPM if it stopped by anything. However, the script unable to 'start' both PHP-FPM and NginX'. The strange thing is even starting it via Webuzo Control Panel or root is not possible. However, 'Restart" it via Webuzo and Root work flawlessly.
While logging in Root, I use this command: "service --status--all" and here is the result:
Quote
crond (pid 1071) is running...
Status of csf:Error: /sbin/ip6tables (ip6tables binary location) does not exist!, at line 41
httpd is stopped
exim (pid 20417) is running...
htcacheclean is stopped
Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Table: mangle
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Status of lfd:lfd is stopped
SUCCESS! MySQL running (16317)
version: 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1
CPUs found: 8
worker threads: 8
number of zones: 74
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid 19166) is running...
netconsole module not loaded
Configured devices:
lo venet0
Currently active devices:
lo venet0
nginx (pid 17100) is running...
nmbd is stopped
nscd is stopped
Usage: perl-fcgi {start|stop|restart}
php-fpm (pid 17950) is running
php-fpm stopped
portreserve is stopped
status: Unknown job: pure-ftpd
quota_nld is stopped
rdisc is stopped
rpcbind is stopped
rsyslogd (pid 653) is running...
sandbox is stopped
saslauthd (pid 932) is running...
sendmail is stopped
sm-client is stopped
smbd is stopped
snmpd is stopped
snmptrapd is stopped
openssh-daemon (pid 727) is running...
nginx (pid 626) is running...
php-fpm (pid 638) is running...
winbindd is stopped
xinetd (pid 734) is running...
I saw there are two PHP-FPM and NginX PID in the log above (i have no idea it is normal or not) but I use default config for NginX with only one Worker Process.
Most o the times, the log in Webuzo Panel (WebServer log) said "NginX PID is XX" but when I checked it via root it was "YX". As an example, Webuzo panel said in Webserver log if NginX PID is 17101 but when I checked via root it says NginX with PID 1700. Another PID (look nGinX PID above), 626 is not even listed in webserver log.
About Pure-FTP stopped working correctly, I have no idea about it but if we look at the log above, status of the Pure-FTP is "Unknown job". Maybe this is what cause the trouble (just my assumption).
By the way, checking the status of Pure-FTPD via root is not possible when it is under "unknown job".
Arick
----------------------- Always remember: Help the other whenever possible. |