PDA

Bekijk Volledige Versie : httpd dead but subsys locked



Arto
11/06/09, 22:43
[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

vipeax
11/06/09, 22:45
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?

Arto
11/06/09, 22:49
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.

vipeax
11/06/09, 22:53
Staat er nog iets in de Error_log?

Arto
11/06/09, 23:01
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

Wynand
11/06/09, 23:04
Er luistert dus nog iets anders op poort 80 waardoor apache dat niet kan.
$ lsof -i tcp:80
$ netstat -A inet -lnp

Arto
11/06/09, 23:13
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

mikeh
12/06/09, 02:33
Je bind mysql to *, leuk, geen speciefiek IP.

Verder is weinig informatie te halen uit uw netstat info...

Japje
12/06/09, 09:59
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 :)

Cakkie
12/06/09, 10:08
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.