Centos 7 fresh install - apache not starting

zurf

Verified User
Joined
Nov 3, 2012
Messages
11
Hi,
I have install a new centos 7 with apache 2.4, php 5.6 as php-fpm
After the install of directadmin I see that apache is not started (or starting status)

I have made many the without php-fpm, ... but apache not want to start.

In the logs it's not clear the found the issue :

journalctl -x :
Code:
-- The result is done.
Jul 07 12:01:52  polkitd[1445]: Registered Authentication Agent for unix-process:3643:377098 (system bus name :1.223 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object pat
Jul 07 12:01:52 systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Jul 07 12:01:54 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 07 12:01:54 kill[3659]: kill: cannot find process ""
Jul 07 12:01:54 systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 07 12:01:54 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.
Jul 07 12:01:54 systemd[1]: Unit httpd.service entered failed state.
Jul 07 12:01:54 systemd[1]: httpd.service failed.
Jul 07 12:01:54 polkitd[1445]: Unregistered Authentication Agent for unix-process:3643:377098 (system bus name :1.223, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)

erro_log apache :
Code:
[Thu Jul 07 12:01:53.006752 2016] [ssl:warn] [pid 3658:tid 139949244360832] AH01909: [url]www.example.com:443:0[/url] server certificate does NOT include an ID which matches the server name
[Thu Jul 07 12:01:53.007022 2016] [suexec:notice] [pid 3658:tid 139949244360832] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 12:01:53.016195 2016] [auth_digest:notice] [pid 3658:tid 139949244360832] AH01757: generating secret for digest authentication ...
[Thu Jul 07 12:01:54.001075 2016] [core:emerg] [pid 3658:tid 139949244360832] (28)No space left on device: AH00023: Couldn't create the proxy mutex
[Thu Jul 07 12:01:54.001175 2016] [proxy:crit] [pid 3658:tid 139949244360832] (28)No space left on device: AH02478: failed to create proxy mutex
[Thu Jul 07 12:01:54.001186 2016] [:emerg] [pid 3658:tid 139949244360832] AH00020: Configuration Failed, exiting

I have test this solution but the service not start : http://help.directadmin.com/item.php?id=110

Somebody have a solution ?
 
Last edited:
Hello

Fresh install of apache 2.4.23 not compiled mod_systemd.so by default. Workaround:

mkdir -p /usr/local/directadmin/custombuild/custom/ap2
cp /usr/local/directadmin/custombuild/configure/ap2/configure.apache /usr/local/directadmin/custombuild/custom/ap2/

add line like this

"--enable-headers" \
"--enable-systemd"

run ./build apache

Voila!

PS. Bug has been reported to DA support helpdesk.
 
Last edited:
Hi,

I have apply the bug fix and after a reboot all work.

Thanks for the support.
Regards
 
Back
Top