You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Phillip Bruce <pb...@kpmg.com> on 2001/03/15 05:13:40 UTC

general/7414: web servers will NOT load modules

>Number:         7414
>Category:       general
>Synopsis:       web servers will NOT load modules
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 14 20:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     pbruce@kpmg.com
>Release:        1.3.19
>Organization:
apache
>Environment:
SunOS okiehero 5.8 Generic_108529-05 i86pc i386 i86pc
Solaris 2.8 10/00 release on Intel Hardware
# gcc -v
Reading specs from /opt/sfw/lib/gcc-l
gcc version 2.95.2 19991024 (release)
>Description:
As you see  i have the following modules loaded in the httpd.conf file.
They are currently commented out so the web server can start. It doesn't
matter which one I use the web server won't start:

# ../bin/apachectl configtest
Syntax OK

If I uncomment out the module the web server will fail like this:
okiehero# ../bin/apachectl configtest
Syntax error on line 398 of /usr/local/apache/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included
 in the server configuration

Line 398 is:

#
# Controls who can get stuff from this server.
#
   Order allow,deny   <<<<<< This line

This makes no sense to me. I did check above this line for
any entry of odd characters and can't find anything.

You see below is what the web server has been compiled for.

# ./httpd -l
Compiled-in modules:
  http_core.c
  mod_vhost_alias.c
  mod_env.c
  mod_log_config.c
  mod_mime_magic.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_auth_anon.c
  mod_headers.c
  mod_setenvif.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec


Below is what is located in the httpd.conf file.

# grep LoadModule httpd.conf
# have to place corresponding `LoadModule' lines a
# LoadModule foo_module libexec/mod_foo.so
#LoadModule vhost_alias_module libexec/mod_vhost_a
#LoadModule env_module         libexec/mod_env.so
#LoadModule config_log_module  libexec/mod_log_con
#LoadModule mime_magic_module  libexec/mod_mime_ma
#LoadModule mime_module        libexec/mod_mime.so
#LoadModule negotiation_module libexec/mod_negotia
#LoadModule status_module      libexec/mod_status.
#LoadModule info_module        libexec/mod_info.so
#LoadModule includes_module    libexec/mod_include
#LoadModule autoindex_module   libexec/mod_autoind
#LoadModule dir_module         libexec/mod_dir.so
#LoadModule cgi_module         libexec/mod_cgi.so
#LoadModule asis_module        libexec/mod_asis.so
#LoadModule imap_module        libexec/mod_imap.so
#LoadModule action_module      libexec/mod_actions
#LoadModule speling_module     libexec/mod_speling
#LoadModule userdir_module     libexec/mod_userdir
#LoadModule alias_module       libexec/mod_alias.s
#LoadModule rewrite_module     libexec/mod_rewrite
#LoadModule access_module      libexec/mod_access.
#LoadModule auth_module        libexec/mod_auth.so
#LoadModule anon_auth_module   libexec/mod_auth_an
#LoadModule dbm_auth_module    libexec/mod_auth_db
#LoadModule digest_module      libexec/mod_digest.
#LoadModule proxy_module       libexec/libproxy.so
#LoadModule cern_meta_module   libexec/mod_cern_me
#LoadModule expires_module     libexec/mod_expires
#LoadModule headers_module     libexec/mod_headers
#LoadModule usertrack_module   libexec/mod_usertra
#LoadModule unique_id_module   libexec/mod_unique_
#LoadModule setenvif_module    libexec/mod_setenvi
#LoadModule perl_module        libexec/libperl.so

I have compiled everything from scratched until I'm blue in the face
and still can't find the answer to this problem. 

Log files doesn't show anything. So the only explaination is the 
httpd.conf file is screwed up somehow. I've gone to lengths of
removing apache from the system and then re-compling and re-installing
all these modules. A lot of work. So who ever helps me. I guarantee
one way or the other A BIG COOL GLASS a BEER is on the house with ME.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]