Solved

Invalid command

Posted on 2002-05-14
6
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

737 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