Page 1 of 1
Apache und SSL
Posted: 2002-12-07 17:27
by deepinpowder
Hallo,
mein Apache startet leider nur mit PHP und PERL.
Hier ein paar Auszüge aus den Dateien. Ich hoffe, diese können euch helfen um mir zu helfen !
mod_ssl ist installiert
Code: Select all
web1:/var/log/httpd # apachectl startssl
Syntax error on line 1422 of /etc/httpd/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl startssl: httpd could not be started
In der Zeile steht nur
Hier ein Auszug aus dem error_log
Code: Select all
[Sat Dec 7 18:14:16 2002] [notice] caught SIGTERM, shutting down
[Sat Dec 7 18:14:36 2002] [error] Cannot remove module mod_ssl.c: not found in module list
[Sat Dec 7 18:14:39 2002] [notice] Apache/1.3.23 (Unix) PHP/4.1.0 mod_perl/1.26 configured -- resuming normal operations
[Sat Dec 7 18:14:39 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Dec 7 18:14:39 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Dec 7 18:14:39 2002] [notice] caught SIGTERM, shutting down
[Sat Dec 7 18:14:41 2002] [error] Cannot remove module mod_ssl.c: not found in module list
Hatt einer eine Idee, wo mein Fehler leigen könnte ?
Vielen Dank
Re: Apache und SSL
Posted: 2002-12-07 17:32
by deepinpowder
Hallo nochmals,
Ich habe nach diesem Beitrag
http://www.rootforum.de/forum/viewtopic ... apache+ssl -DSSL angeschlossen und dann kommt beim start dieser Fehler :
Code: Select all
web1:/var/log/httpd # rcapache restart
Shutting down httpd done
Starting httpd [ PERL PHP4 ]
Syntax error on line 439 of /etc/httpd/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration failed
Danke
Re: Apache und SSL
Posted: 2002-12-07 18:08
by sascha
Was hast du denn zuletzt gemacht dass es nicht mehr geht?
Re: Apache und SSL
Posted: 2002-12-07 18:10
by deepinpowder
Hy,
danke für die Hilfe.
Ich habe nichts gemacht. Apache und SSL funktionierte noch nie !
Gruß
Deep
Re: Apache und SSL
Posted: 2002-12-07 18:15
by sascha
Hi,
naja es sieht so aus als ob das SSL Modul nicht korrekt in der httpd.conf eingebunden ist. Ã?berprüfe mal ob du libssl.so und mod_ssl.c überhaupt im System hast und ob diese in der httpd.conf korrekt eingetragen sind.
Re: Apache und SSL
Posted: 2002-12-07 20:33
by floschi
Hi !
Oft werden die VHosts, die SSL verwenden, in eine <IfModule mod_ssl> Direktive (oder so ähnlich) eingebunden.
Gruß
Olfi ;)
Re: Apache und SSL
Posted: 2002-12-08 13:21
by docbru
Sieht ganz so aus, als ob du das ssl Modul gar nicht geladen hast per LoadModule!?
Re: Apache und SSL
Posted: 2002-12-17 16:20
by deepinpowder
Hy,
ich hab jetzt fast alles durch, leider noch keine Lösung gefunden. Meist ist es aber nur ein kleiner Fehler, den ich leider nicht finde.
Kann sich vielleicht mal einer die konfig ansehen ?
Gruß
Deep
Re: Apache und SSL
Posted: 2002-12-17 17:01
by floschi
Ist das Modul denn geladen (LoadModule)?
Gibt es das Modul überhaupt?
Gruß
Olfi ;)
Re: Apache und SSL
Posted: 2002-12-17 19:26
by deepinpowder
Hy,
Danke für die Hilfe
Code: Select all
/etc/httpd/modules # ls -l mod_s*
-rw-r--r-- 1 root root 146 Mar 26 2002 mod_session
-rw-r--r-- 1 root root 139 Mar 26 2002 mod_snake
-rw-r--r-- 1 root root 153 Aug 23 2001 mod_ssl
-rw-r--r-- 1 root root 153 Aug 23 2001 mod_sxnet
Ich denke hier sollte es stehen, oder ?
unter /usr/lib/apache ist es nicht !
Gruß
Re: Apache und SSL
Posted: 2002-12-17 22:49
by floschi
Hi !
Wie, du hast in der httpd.conf (oder suse_loadmodule.conf) eine LoadModule Anweisung für das mod_ssl, die nicht auskommentiert ist, und beim starten bringt der dir keine Fehlermeldung, obwohl das Modul physisch gar nicht existiert?
Das glaub ich nicht...?!
Gruß
Olfi ;)
Re: Apache und SSL
Posted: 2002-12-18 11:18
by deepinpowder
Hy,
wenn du das sagst ?! :-D :-D
Code: Select all
www1:~ # rcapache restart
Shutting down httpd done
Starting httpd [ PERL PHP4 ] done
www1:~ #
httpd.conf
Code: Select all
<IfDefine DUMMYSSL>
AddModule mod_ssl.c
</IfDefine>
Ich weiß es auch nicht !?!
Gruß
Re: Apache und SSL
Posted: 2002-12-18 11:44
by floschi
Kommentier mal das IfDefine aus...
Hast du mod_ssl überhaupt installiert?
Re: Apache und SSL
Posted: 2002-12-18 12:11
by deepinpowder
Hy,
laut Yast ist mod_SSL installiert.
Code: Select all
#<IfDefine DUMMYSSL>
AddModule mod_ssl.c
#</IfDefine>
Code: Select all
www1:~ # rcapache restart
Shutting down httpd done
Starting httpd [ PERL PHP4 ] done
www1:~ #
Danke
Gruß
Re: Apache und SSL
Posted: 2002-12-18 12:31
by rootmaster
mach doch mal ein
httpd -t
"back to the roots"
Re: Apache und SSL
Posted: 2002-12-18 13:06
by deepinpowder
Hy,
Auch nochmals Danke für die Hilfe
Code: Select all
www1:/ # httpd -t
Syntax OK
[Wed Dec 18 13:10:54 2002] [error] Cannot remove module mod_ssl.c: not found in module list
www1:/ #
Das ist der Fehler, den ich schon in der Error Log hatte.
Gruß
Re: Apache und SSL
Posted: 2003-01-14 09:58
by deepinpowder
Hy,
hat keiner eine Idee ?
Irgendwie finde ich das Problem nicht !
Gruß
Re: Apache und SSL
Posted: 2003-08-02 01:09
by enny
Ich habe das Selbe Problem :(
Hat jemand nen tipp wo man noch suchen soll oder wordurch das kommt das er angeblich die datei nicht findet?
Re: Apache und SSL
Posted: 2003-08-02 10:46
by enny
Hab das Problem lösen können und zwar fehlte in
suse_addmodule.conf
der Eintrag
AddModule mod_ssl.c