Find the answer to your Linux question:
Results 1 to 3 of 3
when I try to start apache in Webmin I get this message Failed to start apache : /usr/local/apache2/bin/httpd -d /etc/httpd -f /usr/local/apache2/conf -DSSL -DHAVE_ROAMING -DHAVE_PHP4 -DHAVE_DAV -DHAVE_PHP3 -DHAVE_PERL -DHAVE_SSL -DHAVE_PHP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2003
    Posts
    1

    Can't start apache in Webmin


    when I try to start apache in Webmin I get this message

    Failed to start apache :

    /usr/local/apache2/bin/httpd -d /etc/httpd -f /usr/local/apache2/conf -DSSL -DHAVE_ROAMING -DHAVE_PHP4 -DHAVE_DAV -DHAVE_PHP3 -DHAVE_PERL -DHAVE_SSL -DHAVE_PHP :
    Syntax error on line 22 of /usr/local/apache2/conf/magic:
    Invalid command '0', perhaps mis-spelled or defined by a module not included in the server configuration

    What do I need to do to fix this, I went into the magic file and put a # in front of the 0 and it just goes to the next line and locates another error, line 22 had something to do with Java.

    thanks
    Scott

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    If you telnet or ssh to the server instead, can you start apache manually?

  3. #3
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Start it with

    /etc/init.d/httpd stop or start
    Regards

    Andutt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •