Hello,
Thanks for the files.
I did the following steps.
copied in file [1]
apache2 start failed.
Any idea why httpd.conf fails. [syntax error /etc/apache2/httpd.conf line
156]
--Thanks Glenn
- Detatached Files
- copied in 1 file [no changes made to file ]
[1]
# cp -v adenauer-httpd.conf /etc/apache2/httpd.conf
‘adenauer-httpd.conf’ -> ‘/etc/apache2/httpd.conf’
# /bin/systemctl start apache2.service
Job for apache2.service failed. See 'systemctl status apache2.service' and
'journalctl -xn' for details.
# journalctl -xn
-- Logs begin at Mon 2013-08-19 16:41:59 EST, end at Mon 2013-08-19
18:25:02 EST. --
Aug 19 18:25:01 test.site /USR/SBIN/CRON[5656]: pam_unix(crond:session):
session closed for user root
Aug 19 18:25:01 test.site postfix/pickup[4595]: EBFC921B56: uid=0
from=<root>
Aug 19 18:25:01 test.site postfix/cleanup[5680]: EBFC921B56:
message-id=<20130819082501.EBFC921B56@test.site>
Aug 19 18:25:02 test.site postfix/qmgr[1108]: EBFC921B56:
from=, size=1065, nrcpt=1 (queue active)
Aug 19 18:25:02 test.site postfix/local[5685]: EBFC921B56:
to=, orig_to=<root>, relay=local, delay=0.13,
delays=0.08/0.01/0/0.04, dsn=2.0.0, status=sent (d
Aug 19 18:25:02 test.site postfix/qmgr[1108]: EBFC921B56: removed
Aug 19 18:25:02 test.site /USR/SBIN/CRON[5655]: pam_unix(crond:session):
session closed for user wwwrun
Aug 19 18:25:02 test.site systemd[1]: Stopped User Manager for 30.
-- Subject: Unit user@30.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation:
http://www.freedesktop.org/wiki/Software/systemd/catalog/9d1aaa27d60140bd963...
--
-- Unit user@30.service has finished shutting down.
Aug 19 18:25:02 test.site systemd[1]: Stopping user-30.slice.
-- Subject: Unit user-30.slice has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-30.slice has begun shutting down.
Aug 19 18:25:02 test.site systemd[1]: Removed slice user-30.slice.
-- Subject: Unit user-30.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation:
http://www.freedesktop.org/wiki/Software/systemd/catalog/9d1aaa27d60140bd963...
--
-- Unit user-30.slice has finished shutting down.
# systemctl status apache2.service
apache2.service - The Apache Webserver
Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled)
Active: failed (Result: exit-code) since Mon 2013-08-19 18:24:34 EST;
3min 40s ago
Process: 5627 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k
graceful-stop (code=exited, status=1/FAILURE)
Process: 5607 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH
-k start (code=exited, status=1/FAILURE)
Main PID: 5607 (code=exited, status=1/FAILURE)
Aug 19 18:24:34 test.site start_apache2[5607]: AH00526: Syntax error on
line 156 of /etc/apache2/httpd.conf:
Aug 19 18:24:34 test.site start_apache2[5607]: Invalid command 'Require',
perhaps misspelled or defined by a module not included in the server
configuration
Aug 19 18:24:34 test.site systemd[1]: apache2.service: main process
exited, code=exited, status=1/FAILURE
Aug 19 18:24:34 test.site start_apache2[5627]: AH00526: Syntax error on
line 156 of /etc/apache2/httpd.conf:
Aug 19 18:24:34 test.site start_apache2[5627]: Invalid command 'Require',
perhaps misspelled or defined by a module not included in the server
configuration
Aug 19 18:24:34 test.site systemd[1]: apache2.service: control process
exited, code=exited status=1
Aug 19 18:24:34 test.site systemd[1]: Failed to start The Apache
Webserver.
Aug 19 18:24:34 test.site systemd[1]: Unit apache2.service entered failed
state.
# head -156 /etc/apache2/httpd.conf |tail -2
#Deny from all
Require all denied
# rpm -qa | grep -i apache2 | sort
apache2-2.4.6-6.1.x86_64
apache2-devel-2.4.6-6.1.x86_64
apache2-doc-2.4.6-6.1.noarch
apache2-event-2.4.6-6.1.x86_64
apache2-example-pages-2.4.6-6.1.x86_64
apache2-icons-oxygen-1.0.0-13.2.noarch
apache2-mod_apparmor-2.8.1-7.4.x86_64
apache2-mod_auth_ntlm_winbind-0.0.0.lorikeet_svn_682-190.4.x86_64
apache2-mod_dnssd-0.6-19.4.x86_64
apache2-mod_evasive-1.10.1-4.4.x86_64
apache2-mod_fcgid-2.3.7-1.3.x86_64
apache2-mod_jk-1.2.37-1.6.x86_64
apache2-mod_mono-2.10-13.4.x86_64
apache2-mod_nss-1.0.8-5.1.x86_64
apache2-mod_perl-2.0.8-2.1.x86_64
apache2-mod_perl-devel-2.0.8-2.1.x86_64
apache2-mod_php5-5.4.17-3.1.x86_64
apache2-mod_scgi-1.14-1.3.x86_64
apache2-mod_security2-2.6.7-3.4.x86_64
apache2-mod_tidy-0.5.5-224.4.x86_64
apache2-mod_wsgi-3.4-1.3.x86_64
apache2-prefork-2.4.6-6.1.x86_64
apache2-utils-2.4.6-6.1.x86_64
apache2-worker-2.4.6-6.1.x86_64
perl-Apache2-AuthCookieDBI-2.17-1.3.noarch
rubygem-passenger-apache2-4.0.10-1.2.x86_64