httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murray Hills <murrayhi...@outlook.com>
Subject [users@httpd] Apache Restart Failure
Date Sun, 03 Sep 2017 21:12:14 GMT
Hi There, BTW - I'm new to contacting this support process.

Until now I've had Apache running successfully on an AWS Ubuntu 16.04 EC2 with RDS MysSql

The problem is after adding another virtual host when I restart apache2 I got the following...................

ubuntu@ip-172-31-7-154:~$ sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code. See "systemctl
status apache2.service" and "journalctl -xe" for details.

I guess I inadvertently deleted or corrupted something??

So I did the following......................

ubuntu@ip-172-31-7-154:~$ sudo journalctl -xe
Sep 03 21:06:46 ip-172-31-7-154 apache2[1326]: (2)No such file or directory: AH02291: Cannot
access directory '/var/log/apache2/' for main error log
Sep 03 21:06:46 ip-172-31-7-154 apache2[1326]: (2)No such file or directory: AH02291: Cannot
access directory '/var/log/apache2/' for error log of vhost defined at /etc/apache2/sites-enable
Sep 03 21:06:46 ip-172-31-7-154 apache2[1326]: AH00014: Configuration check failed
Sep 03 21:06:46 ip-172-31-7-154 apache2[1326]: Action 'configtest' failed.
Sep 03 21:06:46 ip-172-31-7-154 apache2[1326]: The Apache error log may have more information.
Sep 03 21:06:46 ip-172-31-7-154 systemd[1]: apache2.service: Control process exited, code=exited
status=1
Sep 03 21:06:46 ip-172-31-7-154 sudo[1323]: pam_unix(sudo:session): session closed for user
root
Sep 03 21:06:46 ip-172-31-7-154 systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Sep 03 21:06:46 ip-172-31-7-154 systemd[1]: apache2.service: Unit entered failed state.
Sep 03 21:06:46 ip-172-31-7-154 systemd[1]: apache2.service: Failed with result 'exit-code'.
Sep 03 21:06:52 ip-172-31-7-154 systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Sep 03 21:06:52 ip-172-31-7-154 systemd[1]: mysql.service: Unit entered failed state.
Sep 03 21:06:52 ip-172-31-7-154 systemd[1]: mysql.service: Failed with result 'exit-code'.
Sep 03 21:06:53 ip-172-31-7-154 systemd[1]: mysql.service: Service hold-off time over, scheduling
restart.
Sep 03 21:06:53 ip-172-31-7-154 systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
Sep 03 21:06:53 ip-172-31-7-154 systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Sep 03 21:06:53 ip-172-31-7-154 audit[1364]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld"
name="/proc/1364/status" pid=1364 comm="mysqld" requested_mask="r" denied_mask
Sep 03 21:06:53 ip-172-31-7-154 audit[1364]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld"
name="/sys/devices/system/node/" pid=1364 comm="mysqld" requested_mask="r" den
Sep 03 21:06:53 ip-172-31-7-154 audit[1364]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld"
name="/proc/1364/status" pid=1364 comm="mysqld" requested_mask="r" denied_mask
Sep 03 21:06:53 ip-172-31-7-154 kernel: audit: type=1400 audit(1504472813.078:3643): apparmor="DENIED"
operation="open" profile="/usr/sbin/mysqld" name="/proc/1364/status" pid=1364 comm="my
Sep 03 21:06:53 ip-172-31-7-154 kernel: audit: type=1400 audit(1504472813.078:3644): apparmor="DENIED"
operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=1364
Sep 03 21:06:53 ip-172-31-7-154 kernel: audit: type=1400 audit(1504472813.078:3645): apparmor="DENIED"
operation="open" profile="/usr/sbin/mysqld" name="/proc/1364/status" pid=1364 comm="my
Sep 03 21:06:53 ip-172-31-7-154 systemd[1]: mysql.service: Main process exited, code=exited,
status=1/FAILURE
Sep 03 21:07:08 ip-172-31-7-154 sudo[1404]:   ubuntu : TTY=pts/0 ; PWD=/home/ubuntu ; USER=root
; COMMAND=/bin/journalctl -xe
Sep 03 21:07:08 ip-172-31-7-154 sudo[1404]: pam_unix(sudo:session): session opened for user
root by ubuntu(uid=0)
lines 2327-2375/2375 (END)

Any comments, ideas, suggestions would be much appreciated.

Thanks............................Murray









---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message