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.

Httpd spelling errors causing apache failure

Discussion in 'EasyApache' started by rupdog, Dec 26, 2002.

  1. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Hi,
    On one of my server every week now ot then, the apache fails and restarting also fails as I see this error:
    =======
    [~]# service httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 3807 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'ÓerverName', perhaps mis-spelled or defined by a module not included in the server configuration
    /etc/init.d/httpd restart: httpd could not be started
    ======
    this happens quite frequently, like when someone adds a domain or does something related to editing apache and the spelling error at the time of editing by cpanel is causng apchae to fail.
    In most time correcting the spelling and restarting apache works fine but some time, even after I correct the wrong spelling I cant start apache and I get the following error:
    ====

    [Thu Dec 26 19:23:24 2002] [crit] (98)Address already in use: make_sock: could not bind to port 80

    ========
    I do not know yet to correct this issue I had to reboot server each time this above error happens.

    Does anyone else having this issue, can Cpanel shed some light on it ? PleaSe

    Thanks
     
  2. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Bump : does anyone know anyhting about it

    thanks
     
  3. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    None knows :((
    some plz...
     
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    I don't why it is happening, but some things to possible look at..

    Language is there a language being used that is not supported?

    Have you tried to run easyapache to resetup the apache server?

    What cpanel/whm build are you using?

    What theme? It is plausible it could be a theme issue.

    Have you submitted a support ticket to cpanel?

    These are some things to possibly look into.
     
  5. Tim Greer

    Tim Greer Well-Known Member

    Joined:
    Aug 11, 2002
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    [quote:8ca2a3dead][i:8ca2a3dead]Originally posted by rupdog[/i:8ca2a3dead]

    Hi,
    On one of my server every week now ot then, the apache fails and restarting also fails as I see this error:
    =======
    [~]# service httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 3807 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'ÓerverName', perhaps mis-spelled or defined by a module not included in the server configuration
    /etc/init.d/httpd restart: httpd could not be started
    ======
    this happens quite frequently, like when someone adds a domain or does something related to editing apache and the spelling error at the time of editing by cpanel is causng apchae to fail.
    In most time correcting the spelling and restarting apache works fine but some time, even after I correct the wrong spelling I cant start apache and I get the following error:
    ====

    [Thu Dec 26 19:23:24 2002] [crit] (98)Address already in use: make_sock: could not bind to port 80

    ========
    I do not know yet to correct this issue I had to reboot server each time this above error happens.

    Does anyone else having this issue, can Cpanel shed some light on it ? PleaSe

    Thanks[/quote:8ca2a3dead]

    ÓerverName = ServerName. The directive is mispelled. About the already in use on port 80, make sure all current instances are killed.
     
  6. rupdog

    rupdog Active Member

    Joined:
    May 18, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I have tried everything to find the second instance of use of port 80 but I cant find it in Ps command or any other I know of. In the end i had to reboot server and do manual fsck :(

    But I am not sure why when someone deltes a site on server the cpanel misspells the conf file. Today again i had to reboot as it misses 'c' in front of cgi-bin in the httpd.conf file and i edited it and it gave the same error upon restarting apache:
    [crit] (98)Address already in use: make_sock: could not bind to port 80,
     
  7. LucasVanzin

    LucasVanzin Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    This is driving me nuts, i have the same problem here and nobody knows how to fix.

    I open a ticket on cPanel and they keep recompiling apache with and the problem persists.

    If it helps i work only with resellers.
     
  8. aurigus

    aurigus Member

    Joined:
    Apr 30, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Have you checked the memory or disk? It almost sounds like there could be an error in there which causes these errors while writing the config file.
     
  9. LucasVanzin

    LucasVanzin Well-Known Member

    Joined:
    Jan 21, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    Seems like the problem was solved, the problem was with the logs of 2 domains that was too big (aprox 3Gb). Since file was excluded apache is ok.
     
Loading...

Share This Page