Apache Error

Discussion in 'Server Operation' started by leethoster, Aug 12, 2012.

  1. leethoster

    leethoster New Member

    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
     
  2. TiTex

    TiTex Member

    post the 147-149 lines from your httpd.conf
     
  3. leethoster

    leethoster New Member

    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
     
  4. TiTex

    TiTex Member

    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
     
  5. falko

    falko Super Moderator Howtoforge Staff

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

Share This Page