Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Invalid command

Posted on 2002-05-14
6
Medium Priority
?
199 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 300 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

636 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