[Bug 813705] New: apache fails to start - Invalid command 'User'
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c0 Summary: apache fails to start - Invalid command 'User' Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 0 Platform: Other OS/Version: openSUSE 12.3 Status: NEW Severity: Critical Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- Apache fails to start after updating to latest factory. # journalctl -b -u apache2 Apr 05 13:16:15 geeko.boltz start_apache2[3243]: Module "authz_default" is not installed, ignoring. Apr 05 13:16:15 geeko.boltz start_apache2[3243]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Apr 05 13:16:21 geeko.boltz start_apache2[3243]: AH00526: Syntax error on line 1 of /etc/apache2/uid.conf: Apr 05 13:16:21 geeko.boltz start_apache2[3243]: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration My previous factory update (with working version) was: 2013-02-20 23:07:57|install|apache2|2.2.22-11.2|x86_64||factory-oss|13ebfdeb2f0aa7b2debd96d54646725071e017a80bbb29b9e44824a53ac6939d| and the new, broken version is: 2013-04-04 00:03:21|install|apache2|2.4.3-1.1|x86_64||factory-oss|52990d13fda64a55d7faaadf27b4c5b39b4088a354d39a0f54a49e9fd6f4bfe9| -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c1 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|apache fails to start - |apache 2.4 fails to start - |Invalid command 'User' |Invalid command 'User' --- Comment #1 from Christian Boltz <suse-beta@cboltz.de> 2013-04-05 21:08:05 CEST --- Looks like some 2.2 -> 2.4 upgrade problem, it's even mentioned on http://httpd.apache.org/docs/trunk/upgrading.html After running a2enmod unixd a2enmod access_compat a2enmod authn_core apache starts again. (That's basically the "common problems on upgrading" section.) -> I'd recommend to do this automatically in %post The only remaining part at startup is: Apr 05 20:35:23 geeko.boltz systemd[1]: Started The Apache Webserver. Apr 05 20:35:23 geeko.boltz start_apache2[6612]: Module "authz_default" is not installed, ignoring. Apr 05 20:35:23 geeko.boltz start_apache2[6612]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. running a2dismod authz_default helps - also a candidate for %post. Unfortunately, I can't access anything on localhost - the error log says [Fri Apr 05 20:47:28.286661 2013] [core:error] [pid 6913] [client 127.0.0.1:42798] AH00027: No authentication done but request not allowed without authentication for /. Authentication not configured? [Fri Apr 05 20:47:28.286744 2013] [core:error] [pid 6913] [client 127.0.0.1:42798] AH00027: No authentication done but request not allowed without authentication for /error/HTTP_INTERNAL_SERVER_ERROR.html.var. Authentication not configured? Any idea what could be wrong? Note: At the moment, I'm testing with the _default config as packaged_. (I reverted my changes in /etc/apache2/ - rpm -V doesn't show modified files, and rpm -qf `find` doesn't list files not owned by a package except sysconfig.d/{global,include,loadmodule}.conf). With the default config, I still get the same error message. /etc/sysconfig/apache2 without comments: APACHE_CONF_INCLUDE_FILES="" APACHE_CONF_INCLUDE_DIRS="" APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 rewrite proxy proxy_http reqtimeout unixd access_compat 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" DOC_SERVER="no" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c2 --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> 2013-05-04 21:19:02 CEST --- I finally got a working config after reading http://mail-archives.apache.org/mod_mbox/httpd-users-de/201301.mbox/%3c50F52... a2dismod authn_file a2dismod authn_core a2enmod authz_file a2enmod authz_core (notice authN vs. authZ) for the records: authn_core was previously added by me (see previous comment), so please ignore it in this bugreport. The other parts to get a working config still apply. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c3 Glenn Doig <doiggl@velocitynet.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doiggl@velocitynet.com.au --- Comment #3 from Glenn Doig <doiggl@velocitynet.com.au> 2013-05-06 14:41:15 UTC --- I encountered this problem too. What else needs to be adjusted to get apache going on 127.0.0.1 Thanks Glenn asked here ->http://lists.opensuse.org/opensuse-factory/2013-05/msg00103.html I am trying to get apache going on opensuse - 127.0.0.1 and get this error[1] when attempting to connect to localhost - apache rpms installed[2] - errors listed[3] - I used this documentation http://en.opensuse.org/SDB:Apache_installation. - /etc/sysconfig/apache2 settings see [4] [1] Unable to connect Firefox can't establish a connection to the server at 127.0.0.1. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. [2] # rpm -qa | grep -i apache |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-Apache-AuthCookie-3.18-7.1.noarch perl-Apache-DBI-1.11-6.1.x86_64 perl-Apache2-AuthCookieDBI-2.14-6.1.noarch rubygem-passenger-apache2-3.0.19-1.2.x86_64 [3]errors # systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: failed (Result: exit-code) since Mon, 2013-05-06 18:34:34 EST; 5min ago Process: 12055 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=1/FAILURE) Process: 12027 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/apache2.service May 06 18:34:34 test.site start_apache2[12027]: Module "authz_default" is not installed, ignoring. May 06 18:34:34 test.site start_apache2[12027]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. May 06 18:34:34 test.site start_apache2[12027]: AH00526: Syntax error on line 1 of /etc/apache2/uid.conf: May 06 18:34:34 test.site start_apache2[12027]: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration May 06 18:34:34 test.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE May 06 18:34:34 test.site start_apache2[12055]: Module "authz_default" is not installed, ignoring. May 06 18:34:34 test.site start_apache2[12055]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. May 06 18:34:34 test.site start_apache2[12055]: AH00526: Syntax error on line 1 of /etc/apache2/uid.conf: May 06 18:34:34 test.site start_apache2[12055]: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration May 06 18:34:34 test.site systemd[1]: Unit apache2.service entered failed state # cat /etc/apache2/uid.conf User wwwrun Group www # 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. # rcapache2 restart redirecting to systemctl restart apache2 # 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 # rcSuSEfirewall2 restart # rcapache2 start redirecting to systemctl start apache2 # chkconfig -a apache2 # a2enmod php5 # a2enmod -l actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir reqtimeout php5 # rcapache2 restart redirecting to systemctl restart apache2 [4]/etc/sysconfig/apache2 settings # cat /etc/sysconfig/apache2 ## Path: Network/WWW/Apache/SuSEhelp ## Description: SuSE help doc server configuration ## Type: yesno ## Default: no ## Config: apache ## ServiceRestart: apache ## Command: # # Set this to yes on the central documentation server # or to configure apache for local use of susehelp. # Then the online-help-system indices are automatically adjusted # and access to the help-files is allowed as specified in DOC_ALLOW. # To run as a client for the central documentation server who's name # is specified in DOC_HOST, just set DOC_SERVER to no. # The DOC_HOST and DOC_ALLOW variables are in the file /etc/sysconfig/susehelp. # DOC_SERVER="no" ## Path: Network/WWW/Apache2 ## Description: Configuration for Apache 2 ## Type: string ## Default: "" ## ServiceRestart: apache2 # # Here you can name files, separated by spaces, that should be Include'd from # httpd.conf. # # This allows you to add e.g. VirtualHost statements without touching # /etc/apache2/httpd.conf itself, which makes upgrading easier. # APACHE_CONF_INCLUDE_FILES="" ## Type: string ## Default: "" ## ServiceRestart: apache2 # # Here you can name directories, separated by spaces, that should be Include'd # from httpd.conf. # # All files contained in these directories will be recursively included by apache. # If a pattern like *.conf is appended, apache will use it. # # Examples: "/etc/apache2/my_conf/" # "/etc/apache2/virtual_hosts/*.conf" # "local/*.conf /srv/www/virtual/" # APACHE_CONF_INCLUDE_DIRS="" ## Type: string ## Default: "actions alias auth_basic authz_host authn_file authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5" ## ServiceRestart: apache2 # # [It might look silly to not simply edit httpd.conf for the LoadModule statements. # However, since the LoadModule statements might need an absolute path to the modules, # switching between MPMs can be quite a hassle. It's easier to just give the names here.] # # * list of all modules shipped with the base distribution: # # actions alias asis auth_basic auth_digest authn_alias authn_anon # authn_dbd authn_dbm authn_default authn_file authnz_ldap authz_dbm # authz_default authz_groupfile authz_host authz_owner authz_user # autoindex bucketeer cache case_filter case_filter_in cern_meta cgi # charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio # echo env expires ext_filter file_cache filter headers ident imagemap # include info ldap log_config log_forensic logio mem_cache mime mime_magic # negotiation optional_fn_export optional_fn_import optional_hook_export # optional_hook_import proxy proxy_ajp proxy_balancer proxy_connect # proxy_ftp proxy_http proxy_scgi reqtimeout rewrite setenvif speling ssl # status substitute suexec unique_id userdir usertrack version vhost_alias # # see http://httpd.apache.org/docs-2.2/mod/ ! # # * It pays to use IfDefine statements... like # <IfModule mod_xyz.c> # .... # </IfModule> # # * In the APACHE_MODULES variable, you can use mod_xyz or just xyz syntax. # You may also name an absolute path if you like. # # * NOTE ON SSL: before you can use mod_ssl, you need a server certificate. # A test certificate can be created by entering # 'cd /usr/share/doc/packages/apache2; ./certificate.sh' as root. # Also, you need to set the ServerName inside the <VirtualHost _default_:443> # block to the fully qualified domain name (see /etc/HOSTNAME). # * if your server certificate is protected by a passphrase you should increase the # APACHE_START_TIMEOUT (see above) # * to finally enable ssl support, you need to add 'SSL' to APACHE_SERVER_FLAGS # below. # # * modules listed here will be ignored if they are not installed # # # EXAMPLES: # # fairly minimal # APACHE_MODULES="authz_host alias auth dir log_config mime setenvif" # # apache's default installation # APACHE_MODULES="authz_host actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir" # your settings APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir reqtimeout php5" ## Type: string ## Default: "" ## ServiceRestart: apache2 # # Additional server flags: # # Put here any server flags ("Defines") that you want to hand over to # httpd at start time, or other command line flags. # # Background: Any directives within an <IfDefine flag>...</IfDefine> # section are only processed if the flag is defined. # This allows to write configuration which is active only in a # special cases, like during server maintenance, or for testing # something temporarily. # # Notably, to enable ssl support, 'SSL' needs to be added here. # To enable the server-status, 'STATUS' needs to be added here. # # It does not matter if you write flag1, -D flag1 or -Dflag1. # Multiple flags can be given as "-D flag1 -D flag2" or simply "flag1 flag2". # # Specifying such flags here is equivalent to giving them on the commandline. # (e.g. via rcapache2 start -DReverseProxy) # # Example: # "SSL STATUS AWSTATS SVN_VIEWCVS no_subversion_today" # APACHE_SERVER_FLAGS="" ## Type: string ## Default: "" ## ServiceRestart: apache2 # # Which config file do you want to use? # (if not set, /etc/apache2/httpd.conf is used.) # It is unusual to need to use this setting. # # Note about ulimits: # if you want to set ulimits, e.g. to increase the max number of open file handle, # or to allow core files, you can do so by editing /etc/sysconfig/apache2 and # simply write the ulimit commands into that file. # Example: # ulimit -n 16384 # ulimit -H -n 16384 # ulimit -c unlimited # See the output of "help ulimit" in the bash, or "man 1 ulimit". # APACHE_HTTPD_CONF="" ## Type: list(prefork,worker,event,itk) ## Default: "" ## ServiceRestart: apache2 # # MPM (multi-processing module) to use. # # Needed to determine with which MPM apache will run, as well as # against which header files modules will be built. # # If not set, the system will simply pick one of the installed MPMs. # # The implementation of the logic is in /usr/share/apache2/find_mpm, # a script which can be used standalone as well if needed. # APACHE_MPM="" ## Type: string ## Default: "" ## ServiceReload: apache2 # # email address of the server administrator (ServerAdmin directive) # This address is added to the server's responses if APACHE_SERVERSIGNATURE # is set to "email". # # If empty ("") it defaults to webmaster@$FQHOSTNAME, where FQHOSTNAME is # taken from /etc/HOSTNAME. # # Note that ServerAdmin directives inside VirtualHost statements are not # changed, even not the one in the stock SSL virtual host block. # APACHE_SERVERADMIN="" ## Type: string ## Default: "" ## ServiceReload: apache2 # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If this is not set to valid DNS name for your host, server-generated # redirections will not work. See also the UseCanonicalName directive. # # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address anyway, and this will make # redirections work in a sensible way. # APACHE_SERVERNAME="" ## Type: integer ## Default: 2 # # timeout during server startup (seconds) # after this time, the start script decides wether the httpd process started without error. # # Increase it, if you use mod_ssl and your certificate is passphrase protected! # APACHE_START_TIMEOUT="2" ## Type: list(on,off,email) ## Default: "on" ## ServiceReload: apache2 # # Configures the footer on server-generated documents # This correlates to the ServerSignature directive. # APACHE_SERVERSIGNATURE="on" ## Type: list(debug,info,notice,warn,error,crit,alert,emerg) ## Default: "warn" ## ServiceReload: apache2 # # LogLevel: Control the number of messages logged to the error_log. # APACHE_LOGLEVEL="warn" ## Type: string ## Default: "/var/log/apache2/access_log combined" ## ServiceRestart: apache2 # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a <VirtualHost> # container, they will be logged here. Contrarywise, if you *do* # define per-<VirtualHost> access logfiles, transactions will be # logged therein and *not* in this file. # # Simply set it to empty, if you configure it yourself somewhere else. # # Examples: # # If you would like to have agent and referer logfiles: # # setting it to "/var/log/apache2/referer_log referer, /var/log/apache2/agent_log agent" # corresponds to # CustomLog /var/log/apache2/referer_log referer # CustomLog /var/log/apache2/agent_log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format): # # setting it to "/var/log/apache2/access_log combined" # corresponds to # CustomLog /var/log/apache2/access_log combined # APACHE_ACCESS_LOG="/var/log/apache2/access_log combined" ## Type: list(On,Off,DNS) ## Default: "Off" ## ServiceReload: apache2 # # UseCanonicalName: Determines how Apache constructs self-referencing # URLs and the SERVER_NAME and SERVER_PORT variables. # When set "Off", Apache will use the Hostname and Port supplied # by the client. When set "On", Apache will use the value of the # ServerName directive. # APACHE_USE_CANONICAL_NAME="off" ## Type: list(Major,Minor,Minimal,ProductOnly,OS,Full) ## Default: "OS" ## ServiceReload: apache2 # # How much information the server response header field contains about the server. # (installed modules, versions, etc.) # see http://httpd.apache.org/docs-2.2/mod/core.html#servertokens # APACHE_SERVERTOKENS="OS" ## Type: list(on,off) ## Default: "off" ## ServiceReload: apache2 # # If mod_status is used, include extended information about the server, like # CPU usage, in the status report. It is a server-wide setting, and it can cost # some performance! # APACHE_EXTENDED_STATUS="off" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c4 --- Comment #4 from Christian Boltz <suse-beta@cboltz.de> 2013-05-07 01:21:16 CEST --- Please use the attachment feature of bugzilla for bigger files - or remove the comments to make them short _and_ readable. Besides that, see my reply on the mailinglist - I don't want to abuse bugzilla for support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-apache@forge.provo |crrodriguez@opensuse.org |.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c5 --- Comment #5 from Glenn Doig <doiggl@velocitynet.com.au> 2013-05-29 15:52:43 UTC --- Hello, Problem happens on a more recent edition of apache2 as well. I did just a update to version apache2-2.4.3-1.1.x86_64 not a delete/reinstall of apache2-2.4.3-1.1.x86_64 I asked in this thread about that http://lists.opensuse.org/opensuse-factory/2013-05/msg00352.html 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 --Glenn -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c6 --- Comment #6 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-05-29 12:47:05 CLT --- THis is not a bug, loading a2enmod unixd and access_compat is required. HOWEVER :-) building unixd as a shared module makes no sense in our case as we always need "User", "Group". I will check it out . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c7 --- Comment #7 from Christian Boltz <suse-beta@cboltz.de> 2013-05-29 19:03:26 CEST --- (In reply to comment #6)
THis is not a bug, loading a2enmod unixd and access_compat is required.
Not only that - see my comments for other modules that can cause problems. Doing as much as possible in %post on upgrade to Apache 2.4 automatically would be a good idea[tm].
I will check it out .
Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c8 --- Comment #8 from Glenn Doig <doiggl@velocitynet.com.au> 2013-05-30 06:27:24 UTC --- Hello, I also found apache HTTP Server version 2.4.4 released. so can apache HTTP Server be updated to version 2.4.4 [from v-2.4.3] https://build.opensuse.org/package/show?package=apache2&project=openSUSE%3AFactory http://httpd.apache.org/download.cgi Stable Release - Latest Version: 2.4.4 (released 2013-02-25) http://httpd.apache.org/download.cgi#apache24 -- Thanks Glenn -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c9 --- Comment #9 from Glenn Doig <doiggl@velocitynet.com.au> 2013-05-31 15:51:59 UTC --- Hello, I found a thread which discusses "apache-2.4 complains about "User" entry" and at the end of the discussion looks like a solution was found. --Glenn see http://forums.gentoo.org/viewtopic-t-930372-view-next.html?sid=0fe1177f3ecb2... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c10 --- Comment #10 from Bruno Friedmann <bruno@ioda-net.ch> 2013-06-01 09:01:31 UTC --- To Boltz also review carefully the handle of Order Deny Allow Allow from etc. This has completely changed and need adjustment everywhere. Admins will still have to check and review carefully their configuration. I don't see how a rpm want to fix everything. Make it just clean for the default we send with it. In sysconfig : by default for 2.4 the event mpm is normally used, I don't know what kind of trouble it could cause with mod_php for example. http://httpd.apache.org/docs/2.4/upgrading.html At least we have to insist for upgrading a complete review by admin about the apache2 configuration. Really.... So a big todo for the release note. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c11 --- Comment #11 from Glenn Doig <doiggl@velocitynet.com.au> 2013-06-05 04:46:27 UTC --- Hello, I constructed a httpd-2.4.4.tar.xz file see attached, steps I used as follows: --Glenn # gunzip httpd-2.4.4.tar.gz # xz -vz httpd-2.4.4.tar httpd-2.4.4.tar (1/1) 100 % 4116.8 KiB / 30.3 MiB = 0.133 1.5 MiB/s 0:20 # ll httpd-2.4.4.tar.xz -rw-r--r-- 1 root root 4215648 May 31 19:19 httpd-2.4.4.tar.xz -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c12 --- Comment #12 from Glenn Doig <doiggl@velocitynet.com.au> 2013-06-05 04:55:47 UTC --- Created an attachment (id=542735) --> (http://bugzilla.novell.com/attachment.cgi?id=542735) httpd-2.4.4.tar.xz file httpd-2.4.4.tar.xz file May be of use, for update in https://build.opensuse.org/package/show?package=apache2&project=openSUSE%3AFactory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c13 --- Comment #13 from Bruno Friedmann <bruno@ioda-net.ch> 2013-06-05 09:22:06 UTC --- Glenn, thanks for the effort but there's a trouble with your approach. with your method there's no way to verify the source are really what upstream propose. (Check obs signature verify doc for more information) So if the .spec is still using tar.gz it will be easy to update it to then prefer the upstream bz2 proposed file and then being able to check pgp sha1 md5 signature proposed. Feel free to branch, update and submit patches on obs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c14 --- Comment #14 from Glenn Doig <doiggl@velocitynet.com.au> 2013-06-05 10:34:09 UTC --- Hello, In the specfile [1] and file list it uses. I saw httpd-2.4.3.tar.xz in the .spec so I looked for a httpd-2.4.4.tar.xz file, none found anywhere else eg upstream. So I got the source[2] and created one with the xz utility That was the reason why I asked about the upgrade. Used this source: http://httpd.apache.org/download.cgi#apache24 http://mirror.overthewire.com.au/pub/apache//httpd/httpd-2.4.4.tar.bz2 Cheers Glenn [1] https://build.opensuse.org/package/show?package=apache2&project=openSUSE%3AFactory openSUSE Build Service > Projects > openSUSE:Factory > apache2 httpd-2.4.3.tar.xz 3.85 MB 9 months ago https://build.opensuse.org/package/view_file?expand=1&file=apache2.spec&package=apache2&project=openSUSE%3AFactory . %define realver 2.4.3 . . Source0: httpd-%{realver}.tar.xz . . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c15 --- Comment #15 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-06-05 08:15:47 CLT --- Please cultivate the virtue of patience, I already updated apache and fixed this bug. However there was a mismerge while updating the patches and hence needs a little big more work. stay tuned. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c16 Robert Munteanu <robert.munteanu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #16 from Robert Munteanu <robert.munteanu@gmail.com> 2013-06-18 02:03:13 UTC --- *** Bug 825167 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=825167 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c17 --- Comment #17 from Glenn Doig <doiggl@velocitynet.com.au> 2013-06-20 09:28:30 UTC --- Hello, Can a working/valid mod_log_config.conf be attached as I get this error message - Thanks Glenn # systemctl status apache2.service systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled) Active: failed (Result: exit-code) since Fri, 2013-06-21 00:49:48 EST; 13min ago Process: 2658 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop (code=exited, status=1/FAILURE) Process: 2629 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/apache2.service Jun 21 00:49:48 test.site start_apache2[2629]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Jun 21 00:49:48 test.site start_apache2[2629]: AH00526: Syntax error on line 11 of /etc/apache2/mod_log_config.conf: Jun 21 00:49:48 test.site start_apache2[2629]: Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration Jun 21 00:49:48 test.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE Jun 21 00:49:48 test.site start_apache2[2658]: Module ""actions" is not installed, ignoring. Jun 21 00:49:48 test.site start_apache2[2658]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Jun 21 00:49:48 test.site start_apache2[2658]: AH00526: Syntax error on line 11 of /etc/apache2/mod_log_config.conf: Jun 21 00:49:48 test.site start_apache2[2658]: Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration Jun 21 00:49:48 test.site systemd[1]: Failed to start The Apache Webserver. Jun 21 00:49:48 test.site systemd[1]: Unit apache2.service entered failed state -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c18 --- Comment #18 from Bruno Friedmann <bruno@ioda-net.ch> 2013-06-22 13:06:36 UTC --- Glenn is right, last build doesn't have log_config a2dismod -q log_config "log_config" not present Installed here rpm -qa | grep apache2 apache2-mod_telemetry-1.0-4.2.x86_64 apache2-prefork-2.4.4-3.2.x86_64 apache2-2.4.4-3.2.x86_64 apache2-mod_perl-2.0.7+svn1448242-26.2.x86_64 apache2-devel-2.4.4-3.2.x86_64 apache2-mod_bmx-0.9.4-1.2.x86_64 apache2-worker-2.4.4-3.2.x86_64 apache2-mod_macro-1.2.1-408.2.x86_64 apache2-event-2.4.4-3.2.x86_64 apache2-mod_fcgid-2.3.7-25.3.x86_64 apache2-icons-oxygen-1.0.0-21.1.noarch apache2-mod_musicindex-1.4.1-1.2.x86_64 apache2-doc-2.4.4-3.2.noarch apache2-mod_wsgi-3.4-23.2.x86_64 apache2-example-pages-2.4.4-3.2.x86_64 apache2-utils-2.4.4-3.2.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c19 --- Comment #19 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-06-22 09:41:31 CLT --- (In reply to comment #18)
Glenn is right, last build doesn't have log_config
a2dismod -q log_config "log_config" not present
Last build DOES have log_config present, I have it installed, in a production server. BUgzilla is not a place for support, your custom configuration is broken, that's all. You just unloaded the log_config module, reenable it again a2enmod log_config , This upgrade has not touched the log_config module in anyway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c20 --- Comment #20 from Bruno Friedmann <bruno@ioda-net.ch> 2013-06-23 02:10:33 UTC --- Cristian, please calm down a bit. log_config was present (for years in my sysconfig/apache2 APACHE_MODULES) then 2.4.4 arrive, and it say kaput. So I follow your advise and re-enable log_config with a2enmod log_config, then apache2 start. BUT checking the APACHE_MODULES line I don't have it in it anymore APACHE_MODULES="actions alias auth_basic authn_file authz_core authz_host authz_groupfile authz_user authn_dbm autoindex cgi dir env expires include mime negotiation setenvif status suexec userdir asis dav dav_fs dav_lock deflate filter cache cache_disk file_cache headers ldap authnz_ldap proxy proxy_connect proxy_express proxy_ftp proxy_http proxy_fcgi rewrite dbd authn_dbd ssl socache_shmcb systemd authn_core " w00t! So there's some corner case, in the upgrade process. That's all what we have said here. Ask us any kind of information we could provide to help making the process over-smooth to any future user to version 2.4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c21 --- Comment #21 from Bruno Friedmann <bruno@ioda-net.ch> 2013-06-23 02:19:23 UTC --- Previous APACHE_MODULES before APACHE_MODULES="actions alias auth_basic authn_file authz_core authz_host authz_groupfile authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif status suexec userdir asis dav dav_fs dav_lock deflate filter cache cache_disk file_cache headers ldap authnz_ldap proxy proxy_connect proxy_express proxy_ftp proxy_http proxy_fcgi rewrite dbd authn_dbd ssl unixd socache_shmcb" I don't understand nor see why the upgrade module list would have failed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c22 --- Comment #22 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-06-22 22:57:53 CLT --- Bruno, what you are suggesting does not make sense, if the module is not in APACHE_MODULES, builtin or manually loaded in a configuration file there is no way apache will load it or know about it. What happends after reboot ? does apache still "magically" works ? :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c23 --- Comment #23 from Bruno Friedmann <bruno@ioda-net.ch> 2013-06-23 04:15:50 UTC --- Cristian there's no magic here : with 2.4.3 I was have log_config in APACHE_MODULES after 2.4.4 update log_config keyword in APACHE_MODULES was no more there ( see 20 after update and 21 before update) ) Now after having run a2enmod log_config it is again there, and obviously also after a reboot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c24 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jorgeh@fsbcomputers.com --- Comment #24 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-06-27 10:56:44 CLT --- *** Bug 826979 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=826979 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c25 --- Comment #25 from Glenn Doig <doiggl@velocitynet.com.au> 2013-07-18 04:39:15 UTC --- Hello, Questions: - Is their a working/installable apache2-2.4.4x rpm available somewhere for opensuse. - Can install instructions be updated to reflect the newer version changes. http://en.opensuse.org/SDB:Apache_installation Thanks Glenn -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c26 Jarl Gjessing <jarlgjessing@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jarlgjessing@gmail.com --- Comment #26 from Jarl Gjessing <jarlgjessing@gmail.com> 2013-08-22 06:16:11 UTC --- I'm not quite sure why this bug is still in Milestone 4? Is there some technical reason? I just added mod_authz_core to load modules and to sysconfig/apache2 and then it worked. Do you need some more input on this to implement a fix, I mean releasing opensuse mainly used by developers would not be good with an apache that is not working out of the box :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c27 --- Comment #27 from Christian Boltz <suse-beta@cboltz.de> 2013-08-22 14:26:20 CEST --- FYI: This bug is mostly about /etc/sysconfig/apache2, and Cristian wrote on the ML some weeks ago that he'll support two scenarios: - fresh installation (obviously) - upgrade from an older openSUSE _release_ (in other words: not between milestones) For testing, this means: Restore your /etc/sysconfig/apache2 from 12.3 and then update to the latest apache package. However, I don't see any a2enmod/a2dismod commands in %post, so at least on the first look I'd say the upgrade is not supported yet. (Cristian, please correct me if I'm wrong ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=813705 https://bugzilla.novell.com/show_bug.cgi?id=813705#c28 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #28 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-08-30 14:32:10 CLT --- All the upgrade woes have been corrected in the latest apache submitted yesterday, please open a separate bug report on new issues, but after reading the apache 2.2 --> 2.4 upgrade guide http://httpd.apache.org/docs/2.4/upgrading.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com