Solved

Invalid command

Posted on 2002-05-14
6
192 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with htaccess under apache 7 29
maven set up 2 168
browser caching 4 77
Apache timeout remote connection if not port 80 10 90
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…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

791 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