Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache 2.4: Invalid command 'SSLEngine'
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Gladdle
Guru
Guru


Joined: 27 Jul 2008
Posts: 313
Location: Cleebronn, Germany

PostPosted: Mon Nov 27, 2017 10:27 am    Post subject: Apache 2.4: Invalid command 'SSLEngine' Reply with quote

Ich habe meinen Apache 2.4 abgeschossen, wenn ich ihn starten will kommt folgendes:
Code:
/usr/sbin/apache2
AH00526: Syntax error on line 14 of /etc/apache2/httpd-vhosts-https.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

In der Datei /etc/apache2/httpd2.conf ist der Eintrag zu SSL vorhanden:
Code:
<IfDefine SSL>
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
</IfDefine>
LoadModule speling_module modules/mod_speling.so
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>

Auch in der /etc/conf.d/apache2 ist der Eintrag vorhanden:
Code:
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D WSGI"

Compiliert wurde er mit folgenden Flags:
Code:
[ebuild   R   ~] www-servers/apache-2.4.29:2::gentoo  USE="ssl threads -debug -doc -ldap -libressl (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info log_config logio mime mime_magic negotiation proxy proxy_http rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias watchdog -access_compat -asis -authn_dbd -authz_dbd -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute -version -xml2enc" APACHE2_MPMS="worker -event -prefork"

Hat jemand eine Idee, warum der Apache nicht startet?
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5173

PostPosted: Mon Nov 27, 2017 8:47 pm    Post subject: Re: Apache 2.4: Invalid command 'SSLEngine' Reply with quote

Gladdle wrote:
Ich habe meinen Apache 2.4 abgeschossen, wenn ich ihn starten will kommt folgendes:
Code:
/usr/sbin/apache2
AH00526: Syntax error on line 14 of /etc/apache2/httpd-vhosts-https.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

In der Datei /etc/apache2/httpd2.conf ist der Eintrag zu SSL vorhanden:

Das ist aber nicht die Datei, welche in der Fehlermeldung angegeben ist.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Gladdle
Guru
Guru


Joined: 27 Jul 2008
Posts: 313
Location: Cleebronn, Germany

PostPosted: Mon Nov 27, 2017 11:05 pm    Post subject: Reply with quote

Stimmt, die habe ich vergessen, ich habe aber die Kommentare und meine eMail Adresse entfernt entfernt:
Code:
<VirtualHost 192.168.0.33:443>
   ServerName               owncloud.gladdle.rainyday-productions.de:443
   DocumentRoot             "/var/www/owncloud"
   ServerAdmin              ZENSIERT
   DirectoryIndex           index.html index.php
   ErrorLog                 /var/log/apache2/owncloud.error.log
   CustomLog                /var/log/apache2/owncloud.custom.log common
   SSLEngine                on
   SSLCertificateFile       /root/ssl/owncloud.gladdle.dynpc.org.crt
   SSLCertificateKeyFile    /root/ssl/owncloud.gladdle.dynpc.org.key
</VirtualHost>

Die Zeile, die den Fehler produziert, ist folgende:
Code:
SSLEngine on
Back to top
View user's profile Send private message
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 464
Location: 09xxx

PostPosted: Tue Nov 28, 2017 8:05 am    Post subject: Reply with quote

Hier hatte vor 5 Jahren jemand das gleiche Problem: https://unix.stackexchange.com/questions/31378/apache2-invalid-command-sslengine
vielleicht hilft es ja.
_________________
Linux ryzen 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sun Mar 24 18:32:46 CET 2024 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum