Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124245 - default apache-2.2 httpd.conf seems to be missing the loadmodule lines
Summary: default apache-2.2 httpd.conf seems to be missing the loadmodule lines
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 04:24 UTC by bemis
Modified: 2006-02-27 20:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for affected install (4854-apache-2.2.0.log,259.68 KB, text/plain)
2006-02-27 08:34 UTC, bemis
Details
pre-upgrade (2.0.55-r1) apache-builtin-mods (apache-builtin-mods-2055r1,2.02 KB, application/octet-stream)
2006-02-27 08:50 UTC, bemis
Details
files related to updating from apache 2.0.55 to 2.2.0-r1 (2055to220r1.tgz,19.49 KB, application/x-compressed-tar)
2006-02-27 11:33 UTC, bemis
Details
files related to updating from apache 2.2.0 to 2.2.0-r1 (broke220to220r1.tgz,19.19 KB, application/x-compressed-tar)
2006-02-27 11:34 UTC, bemis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bemis 2006-02-27 04:24:19 UTC
Symptom: 
Syntax error on line 139 of /etc/apache2/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

(resolved by adding: "LoadModule authz_host_module modules/mod_authz_host.so"
directly above user/group section of httpd.conf)

upon execution of apache2 binary
httpd.conf says: 
"GENTOO: Automaticly defined based on apache2-builtin-mods at compile time"
which seems to have not happened.

This happened on AMD64 (didn't test any other arch) with the following USE flags:
"mpm-prefork ssl threads -debug -doc -ldap -mpm-event -mpm-worker -no-suexec -static-modules"
and
"mpm-worker ssl threads -debug -doc -ldap -mpm-event -mpm-prefork -no-suexec -static-modules"
(with and without the IPv6 patch/use flag for apr)
Comment 1 bemis 2006-02-27 08:34:10 UTC
Created attachment 80839 [details]
build log for affected install
Comment 2 bemis 2006-02-27 08:41:07 UTC
 portage # cat /etc/apache2/apache2-builtin-mods
VERSION: 2.2

mod_actions shared
mod_alias shared
mod_asis disabled
mod_auth_basic shared
mod_auth_digest shared
mod_authn_alias disabled
mod_authn_anon shared
mod_authn_dbd shared
mod_authn_dbm shared
mod_authn_default shared
mod_authn_file shared
#mod_authnz_ldap disabled      # enable via USE-flag
mod_authz_dbm shared
mod_authz_default shared
mod_authz_groupfile shared
mod_authz_host shared
mod_authz_owner shared
mod_authz_user shared
mod_autoindex shared
mod_cache shared
mod_cern_meta disabled
mod_cgi shared
mod_cgid shared
mod_charset_lite disabled
mod_dav shared
mod_dav_fs shared
mod_dav_lock shared
mod_dbd shared
mod_deflate shared
mod_dir shared
mod_disk_cache shared
mod_dumpio disabled
mod_echo disabled
mod_env shared
mod_example disabled
mod_expires shared
mod_ext_filter shared
mod_file_cache shared
mod_filter shared
mod_headers shared
mod_ident shared
mod_imagemap shared
mod_include shared
mod_info shared
#mod_ldap disabled             # enable via USE-flag
mod_log_config shared
mod_log_forensic disabled
mod_logio shared
mod_mem_cache shared
mod_mime shared
mod_mime_magic shared
mod_negotiation shared
mod_proxy shared
mod_proxy_ajp disabled
mod_proxy_balancer disabled
mod_proxy_connect shared
mod_proxy_ftp disabled
mod_proxy_http shared
mod_rewrite shared
mod_setenvif shared
mod_so static
mod_speling shared
#mod_ssl disabled              # enable via USE-flag
mod_status shared
#mod_suexec disabled           # disable via USE-flag
mod_unique_id shared
mod_userdir shared
mod_usertrack shared
mod_version disabled
mod_vhost_alias shared
Comment 3 bemis 2006-02-27 08:50:57 UTC
Created attachment 80840 [details]
pre-upgrade (2.0.55-r1) apache-builtin-mods
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-02-27 09:27:40 UTC
This should be fixed in CVS now. Post here if you run into any problems on that test upgrade.

Thanks!
Comment 5 bemis 2006-02-27 11:33:19 UTC
Created attachment 80845 [details]
files related to updating from apache 2.0.55 to 2.2.0-r1

contains apache-builtin-mods httpd.conf and /var/log/portage/[build] files
Comment 6 bemis 2006-02-27 11:34:28 UTC
Created attachment 80846 [details]
files related to updating from apache 2.2.0 to 2.2.0-r1

contains apache-builtin-mods httpd.conf and /var/log/portage/[build] files
Comment 7 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-02-27 20:58:44 UTC
this time is was a libdir bug, which you happened to run into because you are using a /usr/lib64 instead of /usr/lib (my file check wasn't taking this into account.. my bad)

it should be fixed now.

as a side note: please don't use tarballs with bugs in the future - it makes it difficult easily look and debug the files without downloading and extracting them. it's ok to upload many files to bugs.