The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Apache do not start with virtual server.  (Read 5173 times)

czarekplpl

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Apache do not start with virtual server.
« on: November 23, 2015, 03:37:22 PM »

Hello.
I running Apache 2.4.6 on Centos 7.
Today I found that server is down. I cannot find the reason of the crash.
Now I cannot start Apache if any virtual domain are configured. Apache starting normally without any virtual domain.
If I try to configure virtual domain I always get same errors:
Code: [Select]
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.

Code: [Select]
[[email protected] 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=<[email protected]>, 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.

Anybody can help me to fix this issue??
Thanks in advance.
Czarek
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 586
Re: Apache do not start with virtual server.
« Reply #1 on: November 23, 2015, 05:21:16 PM »

There should be more information in /var/logs/httpd/error_log why apache crashes.
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13