Apache und SSL

Apache, Lighttpd, nginx, Cherokee
Post Reply
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Apache und SSL

Post 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

Code: Select all

SSLEngine  on
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
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post 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
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: Apache und SSL

Post by sascha »

Was hast du denn zuletzt gemacht dass es nicht mehr geht?
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post by deepinpowder »

Hy,

danke für die Hilfe.

Ich habe nichts gemacht. Apache und SSL funktionierte noch nie !

Gruß

Deep
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: Apache und SSL

Post 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.
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: Apache und SSL

Post by floschi »

Hi !

Oft werden die VHosts, die SSL verwenden, in eine <IfModule mod_ssl> Direktive (oder so ähnlich) eingebunden.


Gruß

Olfi ;)
docbru
Posts: 12
Joined: 2002-12-02 12:05
 

Re: Apache und SSL

Post by docbru »

Sieht ganz so aus, als ob du das ssl Modul gar nicht geladen hast per LoadModule!?
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post 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
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: Apache und SSL

Post by floschi »

Ist das Modul denn geladen (LoadModule)?

Gibt es das Modul überhaupt?

Gruß

Olfi ;)
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post 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ß
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: Apache und SSL

Post 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 ;)
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post 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ß
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: Apache und SSL

Post by floschi »

Kommentier mal das IfDefine aus...

Hast du mod_ssl überhaupt installiert?
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post 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ß
rootmaster
Posts: 483
Joined: 2002-04-28 13:30
Location: Hannover
 

Re: Apache und SSL

Post by rootmaster »

mach doch mal ein

httpd -t

"back to the roots"
Cahn's Axiom:

When all else fails, read the instructions
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post 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ß
deepinpowder
Posts: 26
Joined: 2002-08-09 08:20
 

Re: Apache und SSL

Post by deepinpowder »

Hy,

hat keiner eine Idee ?

Irgendwie finde ich das Problem nicht !

Gruß
enny
Posts: 33
Joined: 2002-06-02 15:58
Contact:
 

Re: Apache und SSL

Post 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?
enny
Posts: 33
Joined: 2002-06-02 15:58
Contact:
 

Re: Apache und SSL

Post by enny »

Hab das Problem lösen können und zwar fehlte in
suse_addmodule.conf
der Eintrag
AddModule mod_ssl.c
Post Reply