Solved

Invalid command

Posted on 2002-05-14
6
190 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 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