Solved

Invalid command

Posted on 2002-05-14
6
189 Views
Last Modified: 2010-03-04
Hi,
After installing apache web server, i added the modules in httpd.conf. On trying to start the sever i get the below mentioned error --
---------------------------------------------------------
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
./apachectl start: httpd could not be started
---------------------------------------------------------

Please let me know what to do.
Lakshmi
0
Comment
Question by:lakshminair
  • 3
  • 2
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7008332
check error.log and /var/log/messages for more detailed information
0
 
LVL 15

Expert Comment

by:samri
ID: 7009123
lakshminair,

What is your OS, and Apache version.

Maybe your apache is not compiled with DSO support.  Check by doing "httpd -l", and see is mod_so is listed.

Btw, You have a duplicate post.  Request for a deletion to the other one.
0
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 7009182
By default the Apache version that comes with most Linux distros (and Win32) will have mod_so (so called DSO) statically compiled into the apache.  If your do the installation from scratch, make sure to at least enable mod_so

./configure --enable-module=so

- more information here:
http://www.vttoth.com/loadmod.htm
http://www.geocrawler.com/archives/3/182/2000/10/0/4581377/

If you prefer to get more information on DSO:
http://httpd.apache.org/docs/dso.html
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 

Author Comment

by:lakshminair
ID: 7010295
tahnx a lot for the quick response
0
 
LVL 15

Expert Comment

by:samri
ID: 7010506
no prob.

I'm quite curious to know what do you decide to go? -

o - Rebuild the apache with DSO support, and use apxs to build the module, OR
o - Have the module statically linked into apache (rebuild apache)


cheers.
0
 

Author Comment

by:lakshminair
ID: 7010517
i rebuild apache with DSO support.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now