HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Apache Error (http://www.howtoforge.com/forums/showthread.php?t=58240)

leethoster 12th August 2012 18:10

Apache Error
 
httpd: Syntax error on line 148 of /usr/local/apache/conf/httpd.conf: module auth_basic_module is built-in and can't be loaded


our apache server has gone down and won't restart. and we are getting this error. anybody know how to fix it

TiTex 12th August 2012 20:49

post the 147-149 lines from your httpd.conf

leethoster 12th August 2012 21:01

147
148 #LoadModule auth_basic_module modules/mod_auth_basic.so
149 #LoadModule auth_digest_module modules/mod_auth_digest.so
150 #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

TiTex 12th August 2012 21:15

strange , looks like you have already commented out those lines ... try starting apache with
apachectl graceful
also if you have an apache2.conf in your /usr/local/apache/conf/ dir rename the httpd.conf to something else and see if it's starting
mv httpd.conf httpd.conf.tmp

falko 13th August 2012 18:51

Quote:

Originally Posted by leethoster (Post 283581)
147
148 #LoadModule auth_basic_module modules/mod_auth_basic.so
149 #LoadModule auth_digest_module modules/mod_auth_digest.so
150 #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

Is this from /usr/local/apache/conf/httpd.conf or another httpd.conf?


All times are GMT +2. The time now is 20:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.