pfr wrote:What does "journalctl -xe" show after the failed start command?
~]$ journalctl -xe
Mar 16 07:22:54 server.mydomain.org sudo[13517]: sadue : TTY=pts/0 ; PWD=/home/sadue ; USER=root ; COMMAND=/bin/mkdir /etc/httpd/sites-enabled
Mar 16 07:23:08 server.mydomain.org sudo[13521]: sadue : TTY=pts/0 ; PWD=/home/sadue ; USER=root ; COMMAND=/bin/nano /etc/httpd/conf/httpd.conf
Mar 16 07:23:50 server.mydomain.org sudo[13546]: sadue : TTY=pts/0 ; PWD=/home/sadue ; USER=root ; COMMAND=/bin/nano /etc/httpd/sites-available/myclasslis
Mar 16 07:24:53 server.mydomain.org sudo[13573]: sadue : TTY=pts/0 ; PWD=/home/sadue ; USER=root ; COMMAND=/bin/ln -s /etc/httpd/sites-available/myclassli
Mar 16 07:29:14 server.mydomain.org polkitd[678]: Registered Authentication Agent for unix-process:14008:124228732 (system bus name :1.1035 [/usr/bin/pkttyagent --not
Mar 16 07:29:19 server.mydomain.org polkit-agent-helper-1[14027]: pam_unix(polkit-1:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=root rhost= us
Mar 16 07:29:19 server.mydomain.org polkit-agent-helper-1[14027]: pam_succeed_if(polkit-1:auth): requirement "uid >= 1000" not met by user "root"
Mar 16 07:29:21 server.mydomain.org polkitd[678]: Operator of unix-process:14008:124228732 FAILED to authenticate to gain authorization for action org.freedesktop.sys
Mar 16 07:29:21 server.mydomain.org polkitd[678]: Unregistered Authentication Agent for unix-process:14008:124228732 (system bus name :1.1035, object path /org/freede
Mar 16 07:29:39 server.mydomain.org sudo[14048]: sadue : TTY=pts/0 ; PWD=/home/sadue ; USER=root ; COMMAND=/sbin/service apache2 restart
Mar 16 07:29:39 server.mydomain.org polkitd[678]: Registered Authentication Agent for unix-process:14049:124231256 (system bus name :1.1037 [/usr/bin/pkttyagent --not
Mar 16 07:29:39 server.mydomain.org polkitd[678]: Unregistered Authentication Agent for unix-process:14049:124231256 (system bus name :1.1037, object path /org/freede
Mar 16 07:29:40 server.mydomain.org sshd[14046]: Connection closed by 104.131.149.87 [preauth]
Mar 16 07:30:06 server.mydomain.org sudo[14065]: sadue : TTY=pts/0 ; PWD=/home/sadue ; USER=root ; COMMAND=/bin/systemctl restart httpd.service
Mar 16 07:30:06 server.mydomain.org polkitd[678]: Registered Authentication Agent for unix-process:14066:124234022 (system bus name :1.1038 [/usr/bin/pkttyagent --not
Mar 16 07:30:06 server.mydomain.org systemd[1]: Stopping The Apache HTTP Server...
-- Subject: Unit httpd.service has begun shutting down
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has begun shutting down.
Mar 16 07:30:08 server.mydomain.org systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has begun starting up.
Mar 16 07:30:08 server.mydomain.org httpd[14076]: AH00112: Warning: DocumentRoot [/var/www/mydomain.org/htdocs] does not exist
Mar 16 07:30:08 server.mydomain.org systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 16 07:30:08 server.mydomain.org kill[14078]: kill: cannot find process ""
Mar 16 07:30:08 server.mydomain.org systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 16 07:30:08 server.mydomain.org systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Mar 16 07:30:08 server.mydomain.org systemd[1]: Unit httpd.service entered failed state.
Mar 16 07:30:08 server.mydomain.org systemd[1]: httpd.service failed.
Mar 16 07:30:08 server.mydomain.org polkitd[678]: Unregistered Authentication Agent for unix-process:14066:124234022 (system bus name :1.1038, object path /org/freede
lines 1087-1128/1128 (END)