Plesk schiesst Apache ab ?


schani

New Member
Hallo zusammen,

ich habe das Problem das beim anlegen einer neuen Domain, einer Subdomain und heute beim anlegen einer Zusätzlichen IP, Plesk den Apache abschiesst.

Ich bekomme beim manuellen stren per rcapache2 restart die Meldung:
Code:
rcapache2 restart
Syntax OK
Warning: found stale pidfile (unclean shutdown?)
Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
startproc:  exit status of parent of /usr/sbin/httpd2-prefork: 1
                                                                      failed
Der Apache fährt nicht mehr hoch, auch nach dem 3. Versuch. Wenn ich den Server aber neustarte läuft der Apache normal per Runlevel wieder an.

Was hat das "could not bind to address 0.0.0.0:443" zu bedeuten und wie kann ich das beheben?

Besten Dank für Eure Hilfe

Schani
 
Sehr eigenartig!

Der Apache scheint nicht richtig beendet worden zu sein. Du musst die Fehlermeldung im Zusammenhang lesen.
Code:
Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Dies bedeutet, dass noch irgendwas (ein Zombieprozess, oder was auch immer) noch an Port 443 lauscht als der Apache versuchte neu zu starten.
Code:
Unable to open logs
Könnte daran liegen, dass noch ein Lock auf den Dateien liegt. Wenn Du den Fehler einfach reproduzieren kannst, so lasse uns doch nach dem Absturz mal die Ausgaben von folgenden Befehlen zukommen:
Code:
netstat -alnp | grep 443
ps aufx
 
Code:
leicht:~ # netstat -alnp | grep 443
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      1316/httpsd         
leicht:~ # ps aufx
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    724   260 ?        S    May29   0:01 init [3]       
root         2  0.0  0.0      0     0 ?        S    May29   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   May29   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    May29   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S<   May29   0:00 [events/0]
root         6  0.0  0.0      0     0 ?        S<   May29   0:00 [khelper]
root         7  0.0  0.0      0     0 ?        S<   May29   0:00 [kthread]
root         8  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [kacpid]
root         9  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [kblockd/0]
root        13  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [aio/0]
root        14  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [xfslogd/0]
root        15  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [xfsdatad/0]
root        16  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [xfsbufd]
root        17  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [kseriod]
root        18  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [ata/0]
root        19  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [scsi_eh_0]
root        20  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [scsi_eh_1]
root        21  0.0  0.0      0     0 ?        S<   May29   0:01  \_ [md7_raid1]
root        22  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [md6_raid1]
root        23  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [md5_raid1]
root        24  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [md1_raid1]
root       117  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [xfssyncd]
root       118  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [xfssyncd]
root       119  0.0  0.0      0     0 ?        S<   May29   0:00  \_ [xfssyncd]
root     23052  0.0  0.0      0     0 ?        S    May29   0:00  \_ [pdflush]
root     23236  0.0  0.0      0     0 ?        S    May29   0:00  \_ [pdflush]
root        12  0.0  0.0      0     0 ?        S    May29   0:04 [kswapd0]
root        25  0.0  0.0      0     0 ?        S    May29   0:00 [kjournald]
root       161  0.0  0.0   2548   448 ?        S<s  May29   0:00 /sbin/udevd -d
root       402  0.0  0.0   3604   296 ?        Ss   May29   0:00 /sbin/resmgrd
root       531  0.0  0.0   1420   344 ?        S    May29   0:00 svscan /etc/service
root       553  0.0  0.0   1256   292 ?        S    May29   0:00  \_ supervise qscanq
root       554  0.0  0.0   1260   292 ?        S    May29   0:00  \_ supervise log
10021      555  0.0  0.0   1268   284 ?        S    May29   0:00      \_ multilog t -* cleanq starting -* deleting: *: not sticky ./
root       532  0.0  0.0   1248   252 ?        S    May29   0:00 readproctitle service errors: .....................................
root       536  0.0  0.0   2580   500 ?        Ss   May29   0:00 /sbin/startpar -f -- svscan
root       623  0.0  0.0   2576   232 ?        Ss   May29   0:00 /sbin/dhcpcd -C -D -K -N -t 999999 -h leicht eth0
at         765  0.0  0.0   7944   392 ?        Ss   May29   0:00 /usr/sbin/atd
root       807  0.0  0.4  26964  4576 ?        S    May29   0:00 /usr/sbin/snmpd -r -A -Lf /var/log/net-snmpd.log -p /var/run/snmpd.
root       845  0.0  0.0  10668   924 ?        Ss   May29   0:00 /usr/sbin/xinetd
root       848  0.0  0.1  28624  1336 ?        Ss   May29   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root       678  0.0  0.3  46156  3052 ?        Ss   00:03   0:00  \_ sshd: root@pts/0                                   
root       683  0.0  0.2   8748  2220 pts/0    Ss   00:03   0:00      \_ -bash
root       829  0.0  0.0   3816   904 pts/0    R+   00:06   0:00          \_ ps aufx
root       851  0.0  0.0   9128   644 ?        Ss   May29   0:00 /sbin/syslog-ng
root       854  0.0  0.0   2624   468 ?        Ss   May29   0:00 /sbin/klogd -c 1 -x -x
gqscanq    866  0.1  6.6  94684 66288 ?        Ss   May29   0:39 /usr/sbin/clamd
root       906  0.0  0.0   9224   832 ?        S    May29   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbi
popuser   1277  0.0  0.1   9468  1304 ?        S    May29   0:00  \_ /usr/bin/imapd Maildir
popuser   1791  0.0  0.1   9484  1496 ?        S    May29   0:00  \_ /usr/bin/imapd Maildir
popuser   1792  1.3  1.5  23368 15328 ?        R    May29   5:40  \_ /usr/bin/imapd Maildir
popuser   1793  1.1  1.4  22860 14800 ?        S    May29   5:07  \_ /usr/bin/imapd Maildir
popuser   1794  0.0  0.1   9592  1584 ?        S    May29   0:02  \_ /usr/bin/imapd Maildir
popuser   1795  0.0  0.1   9472  1324 ?        S    May29   0:00  \_ /usr/bin/imapd Maildir
popuser   1977  0.0  0.1   9476  1492 ?        S    May29   0:00  \_ /usr/bin/imapd Maildir
popuser   1978  0.0  0.1   9480  1400 ?        S    May29   0:00  \_ /usr/bin/imapd Maildir
popuser   1979  0.0  0.1   9588  1584 ?        S    May29   0:02  \_ /usr/bin/imapd Maildir
popuser   1980  0.0  0.1   9588  1508 ?        S    May29   0:00  \_ /usr/bin/imapd Maildir
root       912  0.0  0.1   7876  1388 ?        S    May29   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql
mysql     1008  1.3  6.5 246656 65540 ?        Sl   May29   5:44  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user
root       919  0.0  0.1   7072  1044 ?        S    May29   0:00 /usr/sbin/courierlogger imapd
root       956  0.0  0.0   9224   824 ?        S    May29   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbi
root       962  0.0  0.0   6944   884 ?        S    May29   0:00 /usr/sbin/courierlogger imapd-ssl
root       971  0.0  0.0   9996   748 ?        Ss   May29   0:00 /usr/sbin/cron
root       985  0.0  0.0   9220   832 ?        S    May29   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbi
popuser  32102  0.0  0.1   7376  1520 ?        S    May29   0:00  \_ /usr/bin/pop3d Maildir
popuser  32185  0.0  0.1   7376  1520 ?        S    May29   0:00  \_ /usr/bin/pop3d Maildir
popuser    305  0.0  0.1   7376  1516 ?        S    May29   0:00  \_ /usr/bin/pop3d Maildir
popuser    489  0.0  0.1   7372  1516 ?        S    00:01   0:00  \_ /usr/bin/pop3d Maildir
root       996  0.0  0.1   7076  1044 ?        S    May29   0:00 /usr/sbin/courierlogger pop3d
root      1004  0.0  0.0   9224   824 ?        S    May29   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbi
root      1006  0.0  0.0   6944   884 ?        S    May29   0:00 /usr/sbin/courierlogger pop3d-ssl
gqscanq   1012  0.0  0.0  19756   984 ?        Ss   May29   0:00 /usr/bin/freshclam -d
mailman   1150  0.0  0.6  43680  6004 ?        Ss   May29   0:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl --quiet --stale-loc
mailman   1166  0.0  0.7  38128  7720 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=ArchRunne
mailman   1167  0.0  0.7  38188  7740 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=BounceRun
mailman   1168  0.0  0.7  38132  7732 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=CommandRu
mailman   1169  0.0  0.7  38140  7716 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=IncomingR
mailman   1170  0.0  0.7  38400  7780 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=NewsRunne
mailman   1171  0.0  0.8  39024  8548 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=OutgoingR
mailman   1172  0.0  0.7  38400  7796 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=VirginRun
mailman   1173  0.0  0.7  38188  7720 ?        S    May29   0:00  \_ /usr/bin/python /usr/lib/mailman/bin/qrunner --runner=RetryRunn
postgres  1183  0.0  0.4  41108  4368 ?        S    May29   0:00 /usr/bin/postmaster -D /var/lib/pgsql/data
postgres  1185  0.0  0.1  41108  1468 ?        S    May29   0:00  \_ postgres: writer process                  
postgres  1186  0.0  0.1  31376  1256 ?        S    May29   0:00  \_ postgres: stats buffer process            
postgres  1187  0.0  0.1  30512  1352 ?        S    May29   0:00      \_ postgres: stats collector process         
root      1219  0.0  3.9  68016 39388 ?        Ss   May29   0:00 /usr/sbin/spamd --username=popuser --daemonize --nouser-config --he
popuser   1220  0.7  4.7  76440 47728 ?        S    May29   3:02  \_ spamd child
popuser   1221  0.0  4.2  70524 41948 ?        S    May29   0:01  \_ spamd child
root      1316  0.0  0.6  72772  5984 ?        Ss   May29   0:00 /usr/local/psa/admin/bin/httpsd
psaadm    1320  0.0  4.9  98316 48836 ?        S    May29   0:15  \_ /usr/local/psa/admin/bin/httpsd
psaadm    2504  0.0  4.7  98236 47428 ?        S    May29   0:14  \_ /usr/local/psa/admin/bin/httpsd
root      1410  0.0  0.1  24172  1092 ?        Ssl  May29   0:01 /usr/sbin/nscd
root      1444  0.0  0.0  13128   896 ?        Ss   May29   0:00 /usr/sbin/rsyncd --daemon
root      1446  0.0  0.1  11448  1168 ?        S    May29   0:00 /usr/sbin/powersaved -d -x /usr/lib/powersave/scripts -a resmgr -v
root      1469  0.0  0.0  10256   956 ?        Sl   May29   0:00 /usr/sbin/3dm2
root      1470  0.0  0.0   2584   504 ?        Ss   May29   0:00 /sbin/startpar -f -- tdm2
root      1481  0.0  0.0   2992   676 tty1     Ss+  May29   0:00 /sbin/mingetty --noclear tty1
root      1482  0.0  0.0   2992   680 tty2     Ss+  May29   0:00 /sbin/mingetty tty2
root      1483  0.0  0.0   2996   684 tty3     Ss+  May29   0:00 /sbin/mingetty tty3
root      1484  0.0  0.0   2992   680 tty4     Ss+  May29   0:00 /sbin/mingetty tty4
root      1485  0.0  0.0   2992   676 tty5     Ss+  May29   0:00 /sbin/mingetty tty5
root      1486  0.0  0.0   2996   680 tty6     Ss+  May29   0:00 /sbin/mingetty tty6
root      1487  0.0  0.0   2560   540 ttyS0    Ss+  May29   0:00 /sbin/agetty -L ttyS0 57600 vt100
named     3198  0.0  0.3  29852  3768 ?        Ssl  May29   0:00 /usr/sbin/named -t /var/lib/named -u named
root       537  0.0  0.1  15860  1520 ?        Ss   00:03   0:00 /usr/local/psa/admin/bin/websrvmng --remove-vhost --vhost-name=ance
qmails     647  0.0  0.0   2612   432 ?        S    00:03   0:00 qmail-send
qmaill     648  0.0  0.0   2556   496 ?        S    00:03   0:00  \_ splogger qmail
root       649  0.0  0.0   2596   400 ?        S    00:03   0:00  \_ qmail-lspawn ./Maildir/
qmailr     650  0.0  0.0   2592   404 ?        S    00:03   0:00  \_ qmail-rspawn
qmailq     651  0.0  0.0   2552   376 ?        S    00:03   0:00  \_ qmail-clean
leicht:~ #
 

Back
Top