Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> apache2ctl graceful - httpd not running
Tom:-)
post
Post #1





Grupa: Zarejestrowani
Postów: 284
Pomógł: 0
Dołączył: 25.03.2007
Skąd: Globalna wioska

Ostrzeżenie: (0%)
-----


Zamiarem jest zainstalowanie i uruchomienie modułu php5-imap. Przy wykonaniu polecenia: apache2ctl graceful ukazuje mi się:
Kod
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.


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 ->
Kod
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
[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


Ten post edytował Tom:-) 3.09.2013, 16:10:28
Go to the top of the page
+Quote Post
mar1aczi
post
Post #2





Grupa: Zarejestrowani
Postów: 731
Pomógł: 141
Dołączył: 9.05.2011
Skąd: śląskie

Ostrzeżenie: (0%)
-----


Jak instalowałeś tego apache2? Ręcznie czy apt-get/aptitude install nazwa_pakietu?
Go to the top of the page
+Quote Post
Tom:-)
post
Post #3





Grupa: Zarejestrowani
Postów: 284
Pomógł: 0
Dołączył: 25.03.2007
Skąd: Globalna wioska

Ostrzeżenie: (0%)
-----


Przez DirectAdmin
Go to the top of the page
+Quote Post
mar1aczi
post
Post #4





Grupa: Zarejestrowani
Postów: 731
Pomógł: 141
Dołączył: 9.05.2011
Skąd: śląskie

Ostrzeżenie: (0%)
-----


Nie używałem DirectAdmin'a.
Jeśli możesz, wyłącz/odinstaluj apache2 z panelu DirectAdmina, zaloguj się na konsolę i wykonaj
Kod
aptitude update
aptitude install apache2

Dziwi mnie, że logi zapisują się do /etc/httpd/conf/...
Go to the top of the page
+Quote Post
Tom:-)
post
Post #5





Grupa: Zarejestrowani
Postów: 284
Pomógł: 0
Dołączył: 25.03.2007
Skąd: Globalna wioska

Ostrzeżenie: (0%)
-----


Dokładnie od tego jest przecież /var/. Właśnie się bawię z tym. Napiszę co było jak dojadę do celu (IMG:style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 21:55