PDA

View Full Version : FC5 Apache Error



mick-porter
30th March 2006, 01:23 AM
root@localhost ~]# service httpd start
Starting httpd: Syntax error on line 148 of /etc/httpd/conf/httpd.conf:
API module structure `auth_basic_module' in file /etc/httpd/modules/mod_auth_basic.so is garbled - perhaps this is not an Apache module DSO?
[FAILED]
root@localhost ~]#

that is what I get when trying to start apache after upgrading to FC5 how can I fix this and does this have anything to do with udev.

Max

onefiftyfour
30th March 2006, 01:37 AM
there are a few differences between ver 2.0.54 (fc4) and 2.2.0 (fc5)

make sure you are using the AuthUserFile directive instead of the old AuthDigestFile directive

i had the same problem

mick-porter
30th March 2006, 01:41 AM
I don't do much with apache how can I do that.

Max

mick-porter
30th March 2006, 01:45 AM
make sure you are using the AuthUserFile directive instead of the old AuthDigestFile directive

How can I do this?

mick-porter
30th March 2006, 02:08 AM
Does anyone know??

mick-porter
30th March 2006, 02:13 AM
I don't think I am using either directive

Max

onefiftyfour
30th March 2006, 02:16 AM
check /etc/httpd/conf/httpd.conf

look for AuthDigestFile.

if you have it replace it with AuthUserFile.

see if that works.

mick-porter
30th March 2006, 02:24 AM
I don't have AuthDigestFile or AuthUserFile in the config. Also I will fix the syntax error later but all modules loaded with LoadModule are garbled is what apache says. after commenting out the one it lists it lists the next one down as "Garbled"

Max

mick-porter
30th March 2006, 02:25 AM
here is the section starting at line 148:

LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so

mick-porter
30th March 2006, 02:25 AM
and after commenting one out the next is said to be garbled so I think something is wrong with loading all modules.

Max

They all exist too

mick-porter
30th March 2006, 05:02 AM
Does anbody have an idea?

Max

BradW
30th March 2006, 09:11 AM
Max,

Just two comments:

1. I had some problems upgrading to FC5. Typical Linux. I still have a few MINOR ones. ProFTPD stopped working. The way I fixed it was to "yum remove proftpd" and then "yum install proftpd." This method will be less hassle if you're not really using Apache for anything important currently.

2. A couple of things were fixed by "yum update." Be sure you have all the FC5 updates.

YMMV. :)

Brad