[opensuse-factory] I need help to apache2 going on 13.1 milestone 4 new install.
Hello, I need help to apache2 going on 13.1 milestone 4 new install. What am I missing ? -- Thanks Glenn Rpms installed: Here is what I found so far: # rpm -qa | grep -i apache2 | sort apache2-2.4.6-3.2.x86_64 apache2-devel-2.4.6-3.2.x86_64 apache2-doc-2.4.6-3.2.noarch apache2-event-2.4.6-3.2.x86_64 apache2-example-pages-2.4.6-3.2.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-3.2.x86_64 apache2-utils-2.4.6-3.2.x86_64 apache2-worker-2.4.6-3.2.x86_64 perl-Apache2-AuthCookieDBI-2.17-1.3.noarch rubygem-passenger-apache2-4.0.10-1.2.x86_64 # errors found: # systemctl start apache2.services Failed to issue method call: Unit apache2.services.service failed to load: No such file or directory. See system logs and 'systemctl status apache2.services.service' for details. # # systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled) Active: failed (Result: exit-code) since Wed 2013-08-14 16:15:47 EST; 38min ago Process: 2963 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=1/FAILURE) Process: 2943 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start (code=exited, status=1/FAILURE) Main PID: 2943 (code=exited, status=1/FAILURE) CGroup: /system.slice/apache2.service Aug 14 16:15:47 test.site start_apache2[2943]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/d... directory Aug 14 16:15:47 test.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE Aug 14 16:15:47 test.site start_apache2[2963]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/d... directory Aug 14 16:15:47 test.site systemd[1]: apache2.service: control process exited, code=exited status=1 Aug 14 16:15:47 test.site systemd[1]: Failed to start The Apache Webserver. Aug 14 16:15:47 test.site systemd[1]: Unit apache2.service entered failed state. # 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 ## # 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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
doiggl@velocitynet.com.au wrote:
Hello, I need help to apache2 going on 13.1 milestone 4 new install. What am I missing ? -- Thanks Glenn
[snip]
# systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled) Active: failed (Result: exit-code) since Wed 2013-08-14 16:15:47 EST; 38min ago Process: 2963 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=1/FAILURE) Process: 2943 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start (code=exited, status=1/FAILURE) Main PID: 2943 (code=exited, status=1/FAILURE) CGroup: /system.slice/apache2.service
Aug 14 16:15:47 test.site start_apache2[2943]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/d... directory [snip]
# head -102 /etc/apache2/default-server.conf |tail -2 # Include /etc/apache2/conf.d/*.conf
# 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. I've got apache 2.4 running with PHP. -- Per Jessen, Zürich (17.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
doiggl@velocitynet.com.au wrote:
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
Hi Glenn I don't understand that syntax error - the include statement looks perfectly fine to me. Here is what I did to get apache2 to run: a) httpd.conf - comment out the include of default-server and add "IncludeOptional /etc/apache2/conf.d/*.conf" after it. (I need it for php). b) copy a vhosts config (an existing website I wanted to move to 2.4). c) add "authz_core" to /etc/sysconfig/apache2::APACHE_MODULES d) change my vhost config "allow,deny" statements to "require all granted". Also change httpd.conf, it has to places that need "require all denied". -- Per Jessen, Zürich (26.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 16 Aug 2013 18:23:02 +0200, Per Jessen <per@computer.org> wrote:
doiggl@velocitynet.com.au wrote:
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
Hi Glenn
I don't understand that syntax error - the include statement looks perfectly fine to me. Here is what I did to get apache2 to run:
a) httpd.conf - comment out the include of default-server and add "IncludeOptional /etc/apache2/conf.d/*.conf" after it. (I need it for php). b) copy a vhosts config (an existing website I wanted to move to 2.4). c) add "authz_core" to /etc/sysconfig/apache2::APACHE_MODULES d) change my vhost config "allow,deny" statements to "require all granted". Also change httpd.conf, it has to places that need "require all denied".
-- Per Jessen, Zürich (26.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Hello, Can you attach the files that were mentioned/changed ? - httpd.conf - vhosts config I will check lamp system runs after the changes and apache2 restart. Thanks Glenn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
doiggl@velocitynet.com.au wrote:
On Fri, 16 Aug 2013 18:23:02 +0200, Per Jessen <per@computer.org> wrote:
doiggl@velocitynet.com.au wrote:
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
Hi Glenn
I don't understand that syntax error - the include statement looks perfectly fine to me. Here is what I did to get apache2 to run:
a) httpd.conf - comment out the include of default-server and add "IncludeOptional /etc/apache2/conf.d/*.conf" after it. (I need it for php). b) copy a vhosts config (an existing website I wanted to move to 2.4). c) add "authz_core" to /etc/sysconfig/apache2::APACHE_MODULES d) change my vhost config "allow,deny" statements to "require all granted". Also change httpd.conf, it has to places that need "require all denied".
-- Per Jessen, Zürich (26.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Hello, Can you attach the files that were mentioned/changed ? - httpd.conf - vhosts config
I've sent Glenn the two files off-line. -- Per Jessen, Zürich (23.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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=<root@test.site>, size=1065, nrcpt=1 (queue active) Aug 19 18:25:02 test.site postfix/local[5685]: EBFC921B56: to=<root@test.site>, 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
Hello, Am Montag, 19. August 2013 schrieb doiggl@velocitynet.com.au:
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
That's the typical message telling you that you need to load another apache module. http://httpd.apache.org/docs/current/mod/mod_authz_core.html#require says "Module: mod_authz_core" The list of modules to load is stored in /etc/sysconfig/apache2 - add it there, or just call a2enmod mod_authz_core Regards, Christian Boltz --
Ich denke mein Beispiel war gut, nur dein Beispiel hinkt. Wenn mein Beispiel hinkt, dann hat Deines einen Behindertenausweis und darf direkt beim Eingang parken... ;) [Georg Schmidt und Christian Luetgens in dsrs]
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 19 Aug 2013 15:44:32 +0200, Christian Boltz <opensuse@cboltz.de> wrote:
Hello,
Am Montag, 19. August 2013 schrieb doiggl@velocitynet.com.au:
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
That's the typical message telling you that you need to load another apache module.
http://httpd.apache.org/docs/current/mod/mod_authz_core.html#require says "Module: mod_authz_core"
The list of modules to load is stored in /etc/sysconfig/apache2 - add it
there, or just call a2enmod mod_authz_core
Regards,
Christian Boltz
Hello, I wish to add the module to /etc/sysconfig/apache2 Question: Is this the line I change [from | to:] ? --Thanks Glenn <APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 reqtimeout systemd authn_core"
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 reqtimeout systemd authn_core mod_authz_core"
Currently uncommented lines read as follows. # cat /etc/sysconfig/apache2 | grep -v "#" DOC_SERVER="no" APACHE_CONF_INCLUDE_FILES="" APACHE_CONF_INCLUDE_DIRS="" APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 reqtimeout systemd authn_core" APACHE_SERVER_FLAGS="" APACHE_HTTPD_CONF="" APACHE_MPM="" APACHE_SERVERADMIN="" APACHE_SERVERNAME="" APACHE_START_TIMEOUT="2" APACHE_SERVERSIGNATURE="on" APACHE_LOGLEVEL="warn" APACHE_ACCESS_LOG="/var/log/apache2/access_log combined" APACHE_USE_CANONICAL_NAME="off" APACHE_SERVERTOKENS="OS" APACHE_EXTENDED_STATUS="off" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 08/14/2013 03:45 AM, doiggl@velocitynet.com.au wrote:
Hello, I need help to apache2 going on 13.1 milestone 4 new install. What am I missing ?
Aug 14 16:15:47 test.site start_apache2[2943]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/d... directory
# head -102 /etc/apache2/default-server.conf |tail -2 # Include /etc/apache2/conf.d/*.conf
^^ IncludeOptional /etc/apache2/conf.d/*.conf "The Include directive will fail with an error if a wildcard expression does not match any file." The default config files need to be updated to reflect that fact. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 08/14/2013 11:42 AM, Cristian Rodríguez wrote:
On 08/14/2013 03:45 AM, doiggl@velocitynet.com.au wrote:
Hello, I need help to apache2 going on 13.1 milestone 4 new install. What am I missing ?
Aug 14 16:15:47 test.site start_apache2[2943]: httpd2-prefork: Syntax error on line 180 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/d... directory
# head -102 /etc/apache2/default-server.conf |tail -2 # Include /etc/apache2/conf.d/*.conf
^^
IncludeOptional /etc/apache2/conf.d/*.conf
"The Include directive will fail with an error if a wildcard expression does not match any file."
The default config files need to be updated to reflect that fact.
Wait, in your case, it matches many files.
# 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
Do you need all those modules ? please post the exact information available in the apache error log, what you posted is incomplete and does not help -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Christian Boltz
-
Cristian Rodríguez
-
doiggl@velocitynet.com.au
-
Per Jessen