Mam na swoim dedyku Centos 7 i Apache 2.4.6
Problem ma taki, że nie mogę skonfigurować servera virtualnego. Jak tylko dodam jakąś domenę apache się nie podnosi.
Logi są takie:
Kod
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Mon 2015-11-23 21:49:06 CST; 5s ago
Process: 21713 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 21711 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 21711 (code=exited, status=1/FAILURE)
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 23 21:49:06 kukuniek kill[21713]: kill: cannot find process ""
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 23 21:49:06 kukuniek systemd[1]: Failed to start The Apache HTTP Server.
Nov 23 21:49:06 kukuniek systemd[1]: Unit httpd.service entered failed state.
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Mon 2015-11-23 21:49:06 CST; 5s ago
Process: 21713 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 21711 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 21711 (code=exited, status=1/FAILURE)
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 23 21:49:06 kukuniek kill[21713]: kill: cannot find process ""
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 23 21:49:06 kukuniek systemd[1]: Failed to start The Apache HTTP Server.
Nov 23 21:49:06 kukuniek systemd[1]: Unit httpd.service entered failed state.
Kod
[root@kukuniek conf]# journalctl -xn
-- Logs begin at Mon 2015-11-23 18:28:15 CST, end at Mon 2015-11-23 21:49:06 CST. --
Nov 23 21:48:45 kukuniek postfix/smtp[21684]: 8A27F80ECE: to=<unplcn@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.189.26]:25, delay=5.3, delays=0.1/0.
Nov 23 21:48:45 kukuniek postfix/qmgr[16376]: 8A27F80ECE: removed
Nov 23 21:49:05 kukuniek systemd[1]: Stopping The Apache HTTP Server...
-- Subject: Unit httpd.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun shutting down.
Nov 23 21:49:06 kukuniek systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Nov 23 21:49:06 kukuniek kernel: type=1400 audit(1448286546.570:386556): avc: denied { write } for pid=21711 comm="httpd" name="1cdeli.com.cn" dev="xvda1"
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 23 21:49:06 kukuniek kill[21713]: kill: cannot find process ""
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 23 21:49:06 kukuniek systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Nov 23 21:49:06 kukuniek systemd[1]: Unit httpd.service entered failed state.
-- Logs begin at Mon 2015-11-23 18:28:15 CST, end at Mon 2015-11-23 21:49:06 CST. --
Nov 23 21:48:45 kukuniek postfix/smtp[21684]: 8A27F80ECE: to=<unplcn@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.189.26]:25, delay=5.3, delays=0.1/0.
Nov 23 21:48:45 kukuniek postfix/qmgr[16376]: 8A27F80ECE: removed
Nov 23 21:49:05 kukuniek systemd[1]: Stopping The Apache HTTP Server...
-- Subject: Unit httpd.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun shutting down.
Nov 23 21:49:06 kukuniek systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Nov 23 21:49:06 kukuniek kernel: type=1400 audit(1448286546.570:386556): avc: denied { write } for pid=21711 comm="httpd" name="1cdeli.com.cn" dev="xvda1"
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 23 21:49:06 kukuniek kill[21713]: kill: cannot find process ""
Nov 23 21:49:06 kukuniek systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 23 21:49:06 kukuniek systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Nov 23 21:49:06 kukuniek systemd[1]: Unit httpd.service entered failed state.
Jak wywalę wirtualkę to chodzi a jak próbuję skonfigurować jakąś virtulaną domenę to pojawiają się te błędy.
Przy czy wcześniej wszystko działało dobrze w identycznej konfiguracji, dlatego poprostu już tracę głowę.
Czy ktoś może mi pomóc
Pozdrawiam
Czarek.