On Wed, 14 Aug 2013 17:51:42 +0200, Per Jessen <per@computer.org> wrote:
Per Jessen wrote:
# ls /etc/apache2/conf.d/*.conf /etc/apache2/conf.d/manual.conf /etc/apache2/conf.d/mod_mono.conf /etc/apache2/conf.d/mod_security2.conf /etc/apache2/conf.d/mod_evasive.conf /etc/apache2/conf.d/mod_passenger.conf /etc/apache2/conf.d/nss.conf /etc/apache2/conf.d/mod_fcgid.conf /etc/apache2/conf.d/mod_perl.conf /etc/apache2/conf.d/php5.conf
My guess is that one of those has a problem - start by commenting them all out, then enable them one by one, depending on what you need.
Hrmm, not commenting out, renaming to something else but '.conf' so they don't get included.
-- Per Jessen, Zürich (21.9°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
### Hello, - I moved all the *.conf out of the way.[1] - tried to re start apache2.service[2] -It failed. - logs[3] - configs[4] What changes in /etc/apache2/default-server.conf allow apache2 to work. Can someone attach a working default-server.conf please ? Thanks Glenn [1]moved all the *.conf out of the way /etc/apache2/conf.d # mv -v *.conf ../conf.d.old/. ‘manual.conf’ -> ‘../conf.d.old/./manual.conf’ ‘mod_evasive.conf’ -> ‘../conf.d.old/./mod_evasive.conf’ ‘mod_fcgid.conf’ -> ‘../conf.d.old/./mod_fcgid.conf’ ‘mod_mono.conf’ -> ‘../conf.d.old/./mod_mono.conf’ ‘mod_passenger.conf’ -> ‘../conf.d.old/./mod_passenger.conf’ ‘mod_perl.conf’ -> ‘../conf.d.old/./mod_perl.conf’ ‘mod_security2.conf’ -> ‘../conf.d.old/./mod_security2.conf’ ‘nss.conf’ -> ‘../conf.d.old/./nss.conf’ ‘php5.conf’ -> ‘../conf.d.old/./php5.conf’ [2] # systemctl start apache2.service Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details. [3] logs show # journalctl -xn -- Logs begin at Fri 2013-08-16 14:40:37 EST, end at Sat 2013-08-17 01:00:04 EST. -- Aug 17 01:00:01 test.site postfix/qmgr[1139]: A60C4218A5: removed Aug 17 01:00:02 test.site postfix/local[16345]: 716B928551: to=<root@test.site>, orig_to=<root>, relay=local, delay=1.1, delays=0.07/0.01/0/1, dsn=2.0.0, status=sent (delivered to mailbox) Aug 17 01:00:02 test.site postfix/qmgr[1139]: 716B928551: removed Aug 17 01:00:02 test.site postfix/pickup[16379]: AC0DE218A5: uid=0 from=<root> Aug 17 01:00:02 test.site postfix/cleanup[16342]: AC0DE218A5: message-id=<20130816150002.AC0DE218A5@test.site> Aug 17 01:00:02 test.site /USR/SBIN/CRON[16276]: pam_unix(crond:session): session closed for user root Aug 17 01:00:02 test.site postfix/qmgr[1139]: AC0DE218A5: from=<root@test.site>, size=2395, nrcpt=1 (queue active) Aug 17 01:00:02 test.site postfix/local[16380]: AC0DE218A5: to=<root@test.site>, orig_to=<root>, relay=local, delay=1.5, delays=1.4/0/0/0.13, dsn=2.0.0, status=sent (delivered to mailbox) Aug 17 01:00:02 test.site postfix/qmgr[1139]: AC0DE218A5: removed Aug 17 01:00:04 test.site /USR/SBIN/CRON[16275]: pam_unix(crond:session): session closed for user root # journalctl -b -u apache2 -- Logs begin at Fri 2013-08-16 14:40:37 EST, end at Sat 2013-08-17 01:10:02 EST. -- Aug 17 00:59:46 test.site systemd[1]: Starting The Apache Webserver... Aug 17 00:59:47 test.site start_apache2[16230]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/default-serve Aug 17 00:59:47 test.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE Aug 17 00:59:47 test.site start_apache2[16250]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/default-serve Aug 17 00:59:47 test.site systemd[1]: apache2.service: control process exited, code=exited status=1 Aug 17 00:59:47 test.site systemd[1]: Failed to start The Apache Webserver. Aug 17 00:59:47 test.site systemd[1]: Unit apache2.service entered failed state. # systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled) Active: failed (Result: exit-code) since Sat 2013-08-17 00:59:47 EST; 18min ago Process: 16250 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=1/FAILURE) Process: 16230 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start (code=exited, status=1/FAILURE) Main PID: 16230 (code=exited, status=1/FAILURE) Aug 17 00:59:47 test.site start_apache2[16230]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/... required) Aug 17 00:59:47 test.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE Aug 17 00:59:47 test.site start_apache2[16250]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/... required) Aug 17 00:59:47 test.site systemd[1]: apache2.service: control process exited, code=exited status=1 Aug 17 00:59:47 test.site systemd[1]: Failed to start The Apache Webserver. Aug 17 00:59:47 test.site systemd[1]: Unit apache2.service entered failed state. [4] configs show: # head -180 /etc/apache2/httpd.conf |tail -2 # Include /etc/apache2/default-server.conf # head -102 /etc/apache2/default-server.conf |tail -2 # Include /etc/apache2/conf.d/*.conf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org