The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache wont restart !! help please

Discussion in 'EasyApache' started by kickback, Jan 15, 2004.

  1. kickback

    kickback Member

    Joined:
    Nov 9, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hi, currenly I cant restart apache and it says contact your sysadmin and this is what i think the problem is, so if anyone thinks they can help fix this please pm me as I dont want to mess with big config files and mess things up.

    root@server [~]# httpd configtest
    Warning: DocumentRoot [/home/crazytol/public_html/games] does not exist
    Warning: DocumentRoot [/home/crazytol/public_html/movies] does not exist
    Warning: DocumentRoot [/home/crazytol/public_html/music] does not exist
    Warning: DocumentRoot [/home/crazytol/public_html/tv] does not exist
    Warning: DocumentRoot [/home/geonet/public_html/forums] does not exist
    Warning: DocumentRoot [/home/jeopardy/public_html/warlords] does not exist
    Warning: DocumentRoot [/home/jkc/public_html/ipb] does not exist
    Warning: DocumentRoot [/home/phoenix/public_html/ruben] does not exist
    Warning: DocumentRoot [/home/thespot/public_html/downloads] does not exist
    Warning: DocumentRoot [/home/digital/public_html/zanet] does not exist
    Warning: DocumentRoot [/home/digital/public_html/zaorg] does not exist
    Syntax error on line 7605 of /usr/local/apache/conf/httpd.conf:
    ServerAlias only used in <VirtualHost>

    Thanks Daniel
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Looks like you have httpd.conf entries for accounts that no longer exist. I'd dig up the httpd.conf in a text editor and comment out those entries, restart and u should be fine. If the accounts indeed were removed it should be safe to delete those entries from httpd.conf. I'd make a backup before you edit the file.
     
  3. kickback

    kickback Member

    Joined:
    Nov 9, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    well, I have never needed to edit a config file befor and there for dont know how and dont want to screw up, so is there anyone that could help ??? I managed to get it down to this though,

    root@server [~]# httpd configtest
    Syntax error on line 7605 of /usr/local/apache/conf/httpd.conf:
    ServerAlias only used in <VirtualHost>
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That one sounds like there's a stray SeverAlias line on line 7605. One that's not between 2 VirtualHost tags.

    If you can't get it yourself, PM me.
     
Loading...

Share This Page