[systemd-devel] httpd.service daemon failing to start on Manjaro Linux
killermoehre
killermoehre at gmx.net
Tue Aug 18 07:33:33 PDT 2015
Am 18.08.2015 um 16:24 schrieb Brenton Horne:
> Hi,
>
> I've been following this guide
> <https://wiki.archlinux.org/index.php/MediaWiki> to install MediaWiki
> 1.25.2 on my Manjaro Linux machine. I managed to follow the guide,
> without errors until I reached the stage of restarting httpd.service,
> namely running:
>
> systemctl restart httpd.service
>
>
> This gives the error:
>
> Job for httpd.service failed because the control process exited with
> error code. See "systemctl status httpd.service" and "journalctl
> -xe" for details.
>
>
> Running
>
> systemctl status httpd.service
>
> gives:
>
> ● httpd.service - Apache Web Server
> Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled;
> vendor preset: disabled)
> Active: failed (Result: exit-code) since Tue 2015-08-18 23:18:10
> AEST; 16s ago
> Process: 1083 ExecStart=/usr/bin/apachectl start (code=exited,
> status=1/FAILURE)
>
> Aug 18 23:18:10 fusion809-vbox systemd[1]: Stopped Apache Web Server.
> Aug 18 23:18:10 fusion809-vbox systemd[1]: Starting Apache Web Server...
> Aug 18 23:18:10 fusion809-vbox apachectl[1083]: AH00526: Syntax
> error on lin...:
> Aug 18 23:18:10 fusion809-vbox apachectl[1083]: Invalid command
> 'php_admin_v...n
> Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Control
> process ex...1
> Aug 18 23:18:10 fusion809-vbox systemd[1]: Failed to start Apache
> Web Server.
> Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Unit
> entered faile....
> Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Failed
> with result....
> Hint: Some lines were ellipsized, use -l to show in full.
>
>
> Likewise running:
>
> journalctl -xe
>
> gives:
>
> Aug 18 23:18:10 fusion809-vbox systemd[1]: Starting Apache Web 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.
> Aug 18 23:18:10 fusion809-vbox apachectl[1083]: AH00526: Syntax
> error on line 2
> Aug 18 23:18:10 fusion809-vbox apachectl[1083]: Invalid command
> 'php_admin_valu
> Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Control
> process exite
> Aug 18 23:18:10 fusion809-vbox systemd[1]: Failed to start Apache
> Web 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.
> Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Unit
> entered failed s
> Aug 18 23:18:10 fusion809-vbox systemd[1]: httpd.service: Failed
> with result 'e
> Aug 18 23:18:10 fusion809-vbox polkitd[384]: Unregistered
> Authentication Agent
> Aug 18 23:18:21 fusion809-vbox pulseaudio[666]: [alsa-sink-Intel
> ICH] alsa-sink
> Aug 18 23:18:21 fusion809-vbox pulseaudio[666]: [alsa-sink-Intel
> ICH] alsa-sink
> Aug 18 23:18:21 fusion809-vbox pulseaudio[666]: [alsa-sink-Intel
> ICH] alsa-sink
> lines 2281-2303/2
>
>
> Any help with be greatly appreciated.
>
> Thanks for your time,
> Brenton
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
As you can see in the output of systemctl status, your apache.conf has an syntax error. Fix it.
Regards
More information about the systemd-devel
mailing list