Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache not starting up 1

Status
Not open for further replies.

cmarchman

Programmer
Jun 18, 2004
56
US
Hi,

I've seen several postings concerning Apache startup problems, but I have not been able to see one regarding these issues.

When I attempt to start Apache I've received an error of Invalid command 'Order' probably mis-spelled ...

I then went into httpd.conf and un-commented almost all of the defaults and attempted to start Apache again.

This time I receive the error of bash:/bin/httpd Too many levels of symbolic links.

Is it a mod_perl problem or simply an httpd.conf problem?

Thanks,

cmarchman
 
cmarchman,

Try 'apachectl configtest'. This will advise you of any syntax errors and where they appear in your httpd.conf.

Wishdiak
A+, Network+, MCSA 2003 certified
 
Wishdiak,

Tried that and I'm still getting the following:

Syntax error on line 338 of /usr/local/apache/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration

I have installed mod_ssl and mod_perl onto the system.

Thanks,

cmarchman
 
Hmm, I may be going out on a limb here, but posting line 338 of /usr/local/apache/conf/httpd.conf *could* be helpful. The few lines before it and after it may *possibly* be useful, too.
 
Okay, here is what I've got:

<Directory "/usr/local/apache/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>

#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>

#
#PHP modules
#
<IfModule php4_module>
LoadModule php4_module libexec/libphp4.so
</IfModule>

<IfModule mod_php4.c>
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
</IFModule>
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#


Just a sample...

Thanks,

cmarchman
 
Looks like you don't have mod_access loaded. Since you're allowing all access anyway, just get rid of the Order and Allow directives.
 
ericbrunson,

That was it!!! Thanks for the assist.

cmarchman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top