116480
Goto Top

Nach Installation MOD SSL geht gar kein Web mehr auf CentOS

Hallo,

ich habe ein VHOST Web auf einen Cent OS 7 eröffnet.
Nun machte ich dieses , da das Web nur auf HTTP lauft und nicht auf HTTPS

https://wiki.centos.org/HowTos/Https

Danach geht nun rein gar kein Web mehr auf.
Kann man das openssl desinstallieren ?


Gruss
Ralf

Content-Key: 297927

Url: https://administrator.de/contentid/297927

Printed on: May 3, 2024 at 14:05 o'clock

Member: wiesi200
wiesi200 Mar 02, 2016 at 10:46:51 (UTC)
Goto Top
Hallo,

läuft der Apache überhaupt noch?
Was sagt das Logfile?
Mitglied: 116480
116480 Mar 02, 2016 at 10:53:47 (UTC)
Goto Top
Wie prüfe ich ob Apache lauft ?

Gruss
Ralf
Member: wiesi200
wiesi200 Mar 02, 2016 at 10:58:19 (UTC)
Goto Top
systemctl status httpd.service

oder

Service http Status
Mitglied: 116480
116480 Mar 02, 2016 at 11:31:48 (UTC)
Goto Top
Habe nun Kommando eingebben

apachectl configtest

Da kam
AH00526: Syntax error on line 49 of /etc/httpd/conf.d/ssl.conf

nvalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration


Gruss
Ralf
Mitglied: 116480
116480 Mar 02, 2016 at 11:39:12 (UTC)
Goto Top
Nun lauft das wieder ! Bei deinem Befehl kommt aber

root@1 ~]# systemctl status httpd.service
â httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mit 2016-03-02 12:36:20 CET; 23s ago
     Docs: man:httpd(8)
           man:apachectl(8)
 Main PID: 10005 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"  
   CGroup: /system.slice/httpd.service
           ââ10005 /usr/sbin/httpd -DFOREGROUND
           ââ11170 /usr/sbin/httpd -DFOREGROUND
           ââ11171 /usr/sbin/httpd -DFOREGROUND
           ââ11172 /usr/sbin/httpd -DFOREGROUND
           ââ11173 /usr/sbin/httpd -DFOREGROUND
           ââ11174 /usr/sbin/httpd -DFOREGROUND

Mär 02 12:36:14 1.domain.local systemd[1]: Starting The Apache HTTP Server...
Mär 02 12:36:15 1.domain.local httpd[10005]: [Wed Mar 02 12:36:15.090869 2016] [so:warn] [pid 10005] AH01574: module php5_module is already loaded, skipping
Mär 02 12:36:15 1.domain.local httpd[10005]: [Wed Mar 02 12:36:15.141564 2016] [so:warn] [pid 10005] AH01574: module ssl_module is already loaded, skipping
Mär 02 12:36:20 1.domain.local systemd[1]: Started The Apache HTTP Server.


Letzendlich ruft man Browser mit Web auf, dann kommt http 403 Forbidden im Browser
The website declined to show this Webpage

Gruss
Ralf
Mitglied: 116480
116480 Mar 02, 2016 at 11:51:32 (UTC)
Goto Top
Die Frage ist nun wie erlaube ich es wieder auf die Seiten zuzugreifen. Scheint vom Apache direct zu kommen

http://serverfault.com/questions/279794/how-do-i-access-the-web-server- ...

Gruss
Ralf
Mitglied: 116480
116480 Mar 02, 2016 at 12:13:36 (UTC)
Goto Top
Das Standard Web Vberzichnis lauft nicht + VHost Webs !
Wo sage ich, das Webseitenzugriff erlaubt ist ?

Gruss
Ralf