Apache stürzt bei "Listen 443" ab



gnome86

New Member
Liebe Community,

ich habe ein wirklich dummes Problem und auch mein Provider kann nicht helfen.

Das System:
Centos 5
Apache
mod_ssl
PHP5
Jeweils aktuell und soweit funktioniert auch alles.

Problem: Nachdem ich per yum mod_ssl installiert habe, kann ich Apache zwar neu starten und er antwortet mit "ok" aber der Prozess stürz sofort ab. Ich konnte den Fehler eingrenzen.

Mit der Standard ssl.conf gibt es nur ein Problem: Wenn ich Listen 443 aktiviere, stürzt der Apache sofort ab. Ohne das, läuft er (eben ohne SSL).

Der Error-Log spuckt folgendes aus (einmal falscher Start mit der "Listen 443" drin und dann danach ohne):
[Fri Sep 02 11:12:35 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 11:12:37 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:13:11 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:13:12 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:13:12 2011] [notice] Digest: done
[Fri Sep 02 11:13:12 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 11:15:20 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 11:15:21 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:15:46 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:15:47 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:15:47 2011] [notice] Digest: done
[Fri Sep 02 11:15:47 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 11:24:31 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 11:24:33 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:24:45 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:24:46 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:24:46 2011] [notice] Digest: done
[Fri Sep 02 11:24:46 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations


Mein Provider hat zwei Möglichkeiten gesagt: Anderer Programm ist auf dem Port (ist es aber afaik) nicht oder mir würden libs für mod_ssl fehlen. Dabei kann ich leider nichts sagen.

Was denkt ihr?

Vielen Dank für die Hilfe!
 
Möglicherweise fehlt dir dir openssl, ist dies installiert?

Ansonsten kann ich im error.log nichts verwunderliches finden, poste uns doch bitte mal mehr als diese paar Zeilen.
 
Openssl war schon installiert:

Code:
yum install openssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.softaculous.com
 * updates: mirror.softaculous.com
 * extras: mirror.softaculous.com
 * addons: mirror.softaculous.com
base                                                        | 2.1 kB     00:00     
updates                                                    | 1.9 kB     00:00     
extras                                                      | 2.1 kB     00:00     
addons                                                     |  951 B     00:00     
Setting up Install Process
Parsing package install arguments
Package openssl-0.9.8e-12.el5_5.7.x86_64 already installed and latest version
Package openssl-0.9.8e-12.el5_5.7.i686 already installed and latest version
Nothing to do

Ansonsten mehr vom Log:

Code:
[Fri Sep 02 10:05:53 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 10:05:54 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:05:54 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 02 10:05:55 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 10:05:55 2011] [notice] Digest: done
[Fri Sep 02 10:05:55 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 10:06:04 2011] [error] [client ******] Invalid method in request \x16\x03\x01
[Fri Sep 02 10:06:04 2011] [error] [client ******] Invalid method in request \x16\x03
[Fri Sep 02 10:06:05 2011] [error] [client ******] Invalid method in request \x16\x03
[Fri Sep 02 10:06:06 2011] [error] [client ******] Invalid method in request \x16\x03
[Fri Sep 02 10:06:07 2011] [error] [client ******] Invalid method in request \x16\x03
[Fri Sep 02 10:06:08 2011] [error] [client ******] Invalid method in request \x16\x03
[Fri Sep 02 10:06:33 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 10:06:35 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:06:35 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 02 10:06:36 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 10:06:36 2011] [notice] Digest: done
[Fri Sep 02 10:06:36 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 10:19:38 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 10:21:50 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:21:50 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 02 10:22:32 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:22:32 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 02 10:22:32 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 10:22:32 2011] [notice] Digest: done
[Fri Sep 02 10:22:32 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 10:24:30 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 10:24:31 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:24:31 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 02 10:24:46 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:24:46 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 02 10:24:47 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 10:24:47 2011] [notice] Digest: done
[Fri Sep 02 10:24:47 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 10:53:56 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 10:53:58 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 10:53:59 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 10:53:59 2011] [notice] Digest: done
[Fri Sep 02 10:53:59 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 10:54:36 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 10:54:38 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:03:53 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:03:54 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:03:54 2011] [notice] Digest: done
[Fri Sep 02 11:03:54 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 11:10:56 2011] [notice] child pid 6291 exit signal Segmentation fault (11)
[Fri Sep 02 11:10:56 2011] [notice] child pid 6292 exit signal Segmentation fault (11)
[Fri Sep 02 11:10:56 2011] [notice] child pid 6293 exit signal Segmentation fault (11)
[Fri Sep 02 11:11:02 2011] [notice] child pid 6294 exit signal Segmentation fault (11)
[Fri Sep 02 11:11:02 2011] [notice] child pid 6295 exit signal Segmentation fault (11)
ERROR: OTRS-CGI-11 Perl: 5.8.8 OS: linux Time: Fri Sep  2 11:11:16 2011

 Message: Module GD.pm not found!

 Traceback (6296): 
   Module: Kernel::Modules::AgentStats::Run (v1.113.2.1) Line: 1359
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-11 Perl: 5.8.8 OS: linux Time: Fri Sep  2 11:11:16 2011

 Message: Module GD/Graph.pm not found!

 Traceback (6296): 
   Module: Kernel::Modules::AgentStats::Run (v1.113.2.1) Line: 1359
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-11 Perl: 5.8.8 OS: linux Time: Fri Sep  2 11:11:28 2011

 Message: Module GD.pm not found!

 Traceback (6296): 
   Module: Kernel::Modules::AgentStats::Run (v1.113.2.1) Line: 1359
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-11 Perl: 5.8.8 OS: linux Time: Fri Sep  2 11:11:28 2011

 Message: Module GD/Graph.pm not found!

 Traceback (6296): 
   Module: Kernel::Modules::AgentStats::Run (v1.113.2.1) Line: 1359
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Fri Sep 02 11:12:35 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 11:12:37 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:13:11 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:13:12 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:13:12 2011] [notice] Digest: done
[Fri Sep 02 11:13:12 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 11:15:20 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 11:15:21 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:15:46 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:15:47 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:15:47 2011] [notice] Digest: done
[Fri Sep 02 11:15:47 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Sep 02 11:24:31 2011] [notice] caught SIGTERM, shutting down
[Fri Sep 02 11:24:33 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:24:45 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 02 11:24:46 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 02 11:24:46 2011] [notice] Digest: done
[Fri Sep 02 11:24:46 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations

Kannst du da etwas heraus lesen?

Danke dir!
 
Das Ergebnis ohne das Listen 443 in der ssl.conf
Code:
-bash-3.2# grep -ri "Listen" /etc/httpd/*
/etc/httpd/conf/httpd.conf:# Listen: Allows you to bind Apache to specific IP addresses and/or
/etc/httpd/conf/httpd.conf:# Change this to Listen on specific IP addresses as shown below to 
/etc/httpd/conf/httpd.conf:#Listen 12.34.56.78:80
/etc/httpd/conf/httpd.conf:Listen 80
/etc/httpd/conf.d/proxy_ajp.conf:# Tomcat is configured to listen on port 8009 for AJP requests
/etc/httpd/conf.d/ssl.conf:# When we also provide SSL we have to listen to the 
Binary file /etc/httpd/modules/mod_proxy_ftp.so matches
Binary file /etc/httpd/modules/mod_info.so matches
Binary file /etc/httpd/modules/libphp5.so matches
Binary file /etc/httpd/modules/mod_cgid.so matches
Danke!
 
Bin immer noch an diesem Problem dran. Leider ist es immer noch im gleichen dummen Status. Wie kann es denn eigentlich sein, dass Apache so hart abstürzt und dann keine richtige Fehlermeldung in den Logs ist?
Von den Libs her sollte auch alles installiert sein. Oder gibt es da noch irgendwelche?

Vielen Dank
 
Back
Top