Bekijk Volledige Versie : httpd dead but subsys locked
[root@server ~]# service httpd status
httpd dead but subsys locked
server : cent os met direct admin
na rebooten kan ik httpd niet starten.
als ik status chek krijg ik error.
kan iemand mij helpen
http://www.linuxquestions.org/questions/red-hat-31/service-httpd-status-results-in-httpd-dead-but-subsys-locked-215355/
Die al bekeken?
Wordt ook bevestigd hier:
http://www.linuxquestions.org/questions/linux-software-2/httpd-dead-but-subsys-locked-338834/
Of evt.
http://forums.theplanet.com/lofiversion/index.php/t53995.html
Tevens, recentelijk iets aangepast in een configuratie bestand?
Nee, helemaal niks geinstalleerd of gewijzigd.
Echt alleen reboot gegeven en dit resultaat.
Bij Direct Admin : httpd Process is stopped
Ik kan het niet starten en in /var/lock/subsys is er een bestand httpd
Die verwijder ik maar hij komt terug.
Bovenste links had ik al gekeken maar geen resultaat helaas.
Staat er nog iets in de Error_log?
Staat er nog iets in de Error_log?
[Thu Jun 11 23:00:12 2009] [notice] mod_security/1.9.5 configured
[Thu Jun 11 23:00:12 2009] [crit] (98)Address already in use: make_sock: could not bind to port 80
Er luistert dus nog iets anders op poort 80 waardoor apache dat niet kan.
$ lsof -i tcp:80
$ netstat -A inet -lnp
Er luistert dus nog iets anders op poort 80 waardoor apache dat niet kan.
$ lsof -i tcp:80
$ netstat -A inet -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:11110 0.0.0.0:* LISTEN 5189/fmsadmin
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 4865/mysqld
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 4929/exim
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 5298/vm-pop3d
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN 4915/directadmin
tcp 0 0 0.0.0.0:1935 0.0.0.0:* LISTEN 5002/fmsedge
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 4943/spamd -d -c -m
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 4834/xinetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2296/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5002/fmsedge
tcp 0 0 195.200.82.214:53 0.0.0.0:* LISTEN 5630/named
tcp 0 0 195.200.82.213:53 0.0.0.0:* LISTEN 5630/named
tcp 0 0 195.200.82.212:53 0.0.0.0:* LISTEN 5630/named
tcp 0 0 195.200.82.211:53 0.0.0.0:* LISTEN 5630/named
tcp 0 0 195.200.82.210:53 0.0.0.0:* LISTEN 5630/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 5630/named
tcp 0 0 127.0.0.1:19350 0.0.0.0:* LISTEN 5002/fmsedge
tcp 0 0 0.0.0.0:1111 0.0.0.0:* LISTEN 5189/fmsadmin
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4800/cupsd
tcp 0 0 0.0.0.0:823 0.0.0.0:* LISTEN 2337/rpc.statd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 5630/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4929/exim
udp 0 0 0.0.0.0:33028 0.0.0.0:* 5630/named
udp 0 0 0.0.0.0:49158 0.0.0.0:* 5423/avahi-daemon:
udp 0 0 0.0.0.0:817 0.0.0.0:* 2337/rpc.statd
udp 0 0 0.0.0.0:820 0.0.0.0:* 2337/rpc.statd
udp 0 0 195.200.82.214:53 0.0.0.0:* 5630/named
udp 0 0 195.200.82.213:53 0.0.0.0:* 5630/named
udp 0 0 195.200.82.212:53 0.0.0.0:* 5630/named
udp 0 0 195.200.82.211:53 0.0.0.0:* 5630/named
udp 0 0 195.200.82.210:53 0.0.0.0:* 5630/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 5630/named
udp 0 0 0.0.0.0:5353 0.0.0.0:* 5423/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 2296/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 4800/cupsd
Je bind mysql to *, leuk, geen speciefiek IP.
Verder is weinig informatie te halen uit uw netstat info...
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5002/fmsedge
die killen en dan nog eens proberen apache te starten :)
Blijkbaar staat de Flash media server ook op poort 80, normaal zit die op poort 1935. Als je meerdere IP's hebt kan je die ook gewoon op 1 IP binden.