apache2ctl graceful - httpd not running
: 03 września 2013, 15:33
Zamiarem jest zainstalowanie i uruchomienie modułu php5-imap. Przy wykonaniu polecenia: apache2ctl graceful ukazuje mi się:
Co może być przyczyną? Debian 6-i386, DirectAdmin
Myślę że problem jest dość złożony.
1. /etc/init.d/apache2 stop
2. netstat -natp proces nadal jest: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1507/httpd
2. kill - zabijam proces httpd
3. netstat -natp - brak, wykonuję po paru sekundach: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1857/httpd
Więc robię inaczej:
/etc/init.d/apache2 stop -> Stopping web server: apache2.
/etc/init.d/apache2 start ->
Starting web server: apache2(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
/etc/httpd/conf/error_log:
Kod: Zaznacz cały
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'graceful' failed.
The Apache error log may have more information.
Myślę że problem jest dość złożony.
1. /etc/init.d/apache2 stop
2. netstat -natp proces nadal jest: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1507/httpd
2. kill - zabijam proces httpd
3. netstat -natp - brak, wykonuję po paru sekundach: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1857/httpd
Więc robię inaczej:
/etc/init.d/apache2 stop -> Stopping web server: apache2.
/etc/init.d/apache2 start ->
Starting web server: apache2(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
/etc/httpd/conf/error_log:
[Tue Sep 03 15:47:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:47:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:47:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 15:47:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:47:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:47:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations
[Tue Sep 03 15:49:34 2013] [notice] caught SIGTERM, shutting down
[Tue Sep 03 15:50:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:50:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:50:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 15:50:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:50:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:50:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations
[Tue Sep 03 15:50:19 2013] [notice] caught SIGTERM, shutting down
[Tue Sep 03 15:51:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:51:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:51:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 15:51:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:51:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:51:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations
[Tue Sep 03 15:53:45 2013] [notice] caught SIGTERM, shutting down
[Tue Sep 03 15:54:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:54:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:54:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 15:54:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 15:54:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 15:54:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations
[Tue Sep 03 16:02:52 2013] [notice] caught SIGTERM, shutting down
[Tue Sep 03 16:03:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 16:03:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 16:03:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 16:03:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 16:03:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 16:03:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations
[Tue Sep 03 16:09:10 2013] [notice] caught SIGTERM, shutting down
[Tue Sep 03 16:10:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 16:10:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 16:10:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 16:10:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 16:10:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 16:10:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations
[Tue Sep 03 16:58:55 2013] [notice] caught SIGTERM, shutting down
[Tue Sep 03 16:59:02 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 16:59:02 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 16:59:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 03 16:59:03 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Sep 03 16:59:03 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Sep 03 16:59:03 2013] [notice] Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8o DAV/2 PHP/5.3.27 configured -- resuming normal operations