[opensuse-factory] help wanted: How can I get an apache2 install working. on 127.0.0.1
Hello, How can I get an apache install working. I get the error on 127.0.0.1 I have been following instructions from http://en.opensuse.org/SDB:Apache_installation Here is what I have done: # zypper in apache2 Loading repository data... Reading installed packages... 'apache2' is already installed. No update candidate for 'apache2-2.4.3-1.1.x86_64'. The highest available version is already installed. sysconf_addword /etc/sysconfig/SuSEfirewall2 FW_CONFIGURATIONS_EXT apache2 "apache2" already present sysconf_addword /etc/sysconfig/SuSEfirewall2 FW_CONFIGURATIONS_EXT apache2-ssl "apache2-ssl" already present rcapache2 start redirecting to systemctl start apache2 #firewall rcSuSEfirewall2 restart chkconfig -a apache2 Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. # cat /srv/www/htdocs/index.html <html><body><h1>It works!</h1></body></html> #status and log shows: /bin/systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: failed (Result: exit-code) since Wed, 2013-05-29 20:08:59 EST; 37s ago Process: 9030 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=1/FAILURE) Process: 9001 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/apache2.service May 29 20:08:59 test.site start_apache2[9001]: Module "authz_default" is not installed, ignoring. May 29 20:08:59 test.site start_apache2[9001]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. May 29 20:08:59 test.site start_apache2[9001]: AH00526: Syntax error on line 1 of /etc/apache2/uid.conf: May 29 20:08:59 test.site start_apache2[9001]: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration May 29 20:08:59 test.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE May 29 20:08:59 test.site start_apache2[9030]: Module "authz_default" is not installed, ignoring. May 29 20:08:59 test.site start_apache2[9030]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. May 29 20:08:59 test.site start_apache2[9030]: AH00526: Syntax error on line 1 of /etc/apache2/uid.conf: May 29 20:08:59 test.site start_apache2[9030]: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration May 29 20:08:59 test.site systemd[1]: Unit apache2.service entered failed state cat /etc/apache2/uid.conf User wwwrun Group www rpm -qa| grep -i apache2 | sort apache2-2.4.3-1.1.x86_64 apache2-devel-2.4.3-1.1.x86_64 apache2-doc-2.4.3-1.1.noarch apache2-event-2.4.3-1.1.x86_64 apache2-example-pages-2.4.3-1.1.x86_64 apache2-mod_perl-2.0.7+svn1448242-1.1.x86_64 apache2-mod_php5-5.4.14-1.1.x86_64 apache2-prefork-2.4.3-1.1.x86_64 apache2-utils-2.4.3-1.1.x86_64 apache2-worker-2.4.3-1.1.x86_64 perl-Apache2-AuthCookieDBI-2.14-6.1.noarch rubygem-passenger-apache2-3.0.19-1.2.x86_64 # cat /srv/www/htdocs/index.html <html><body><h1>It works!</h1></body></html> Question: How can this error be fixed what commands do I run ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Quoting doiggl@velocitynet.com.au:
Hello,
How can I get an apache install working. I get the error on 127.0.0.1 I have been following instructions from http://en.opensuse.org/SDB:Apache_installation
https://bugzilla.novell.com/show_bug.cgi?id=813705 I'm amazed on how long this can linger around... does really nobody care for apache anymore??? Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, May 29, 2013 at 03:59:53PM +0200, Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting doiggl@velocitynet.com.au:
Hello,
How can I get an apache install working. I get the error on 127.0.0.1 I have been following instructions from http://en.opensuse.org/SDB:Apache_installation
https://bugzilla.novell.com/show_bug.cgi?id=813705
I'm amazed on how long this can linger around... does really nobody care for apache anymore???
Perhaps the bug should have been assigned to the one who updated Apache2, Cristian. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello, Am Mittwoch, 29. Mai 2013 schrieb Marcus Meissner:
On Wed, May 29, 2013 at 03:59:53PM +0200, Dominique Leuenberger a.k.a. Dimstar wrote:
https://bugzilla.novell.com/show_bug.cgi?id=813705
I'm amazed on how long this can linger around... does really nobody care for apache anymore???
Perhaps the bug should have been assigned to the one who updated Apache2, Cristian.
Basically that's a good idea, but I'm still wondering: Does someone care for bugs assigned to bnc-team-apache (at) forge.provo.novell.com ? Should we change the default assignee for apache bugs? At least no reaction in 2 months indicates nobody cares for bugs assigned to bnc-team-apache... (CC'ing the apache maintainers to make sure they don't miss this) BTW: Does a fresh installation have a working default config for apache? (Can someone[tm] test this, please? My system does not qualify as "fresh installation" ;-) Gruß Christian Boltz --
jeder mit etwas guten Willen und einem IQ knapp über einem Kühlschrank sollte das doch irgendwann einmal verstehen! dann sei du mein Gemüsefach, weil für mehr reicht es ja nicht .... ;) [> Burkhard Schichtel und Detlef Reichelt in opensuse-de]
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, May 29, 2013 at 07:54:01AM +1000, doiggl@velocitynet.com.au wrote:
Hello,
How can I get an apache install working. I get the error on 127.0.0.1 I have been following instructions from http://en.opensuse.org/SDB:Apache_installation
Here is what I have done:
# zypper in apache2 May 29 20:08:59 test.site start_apache2[9001]: Module "authz_default" is not installed, ignoring. May 29 20:08:59 test.site start_apache2[9001]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. May 29 20:08:59 test.site start_apache2[9001]: AH00526: Syntax error on line 1 of /etc/apache2/uid.conf: May 29 20:08:59 test.site start_apache2[9001]: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
Here the problem lies, /etc/apache2/uid.conf the first line has a syntax error and apparently "User" is not expected there. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 29/05/13 10:09, Marcus Meissner escribió:
Here the problem lies, /etc/apache2/uid.conf the first line has a syntax error and apparently "User" is not expected there.
Ciao, Marcus
The "problem" is that for User and Group a shared module has to be loaded first, mod_unixd , modular apache is good, but having to load a module for "User" and "Group" which are really basic barebones functionality is a step too far, I will fix it. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Christian Boltz
-
Cristian Rodríguez
-
doiggl@velocitynet.com.au
-
Dominique Leuenberger a.k.a. Dimstar
-
Marcus Meissner