Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    May 2002
    Posts
    37

    Default Httpd spelling errors causing apache failure

    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. #2
    Member
    Join Date
    May 2002
    Posts
    37

    Default

    Bump : does anyone know anyhting about it

    thanks

  3. #3
    Member
    Join Date
    May 2002
    Posts
    37

    Default

    None knows (
    some plz...

  4. #4
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    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.
    Regards,
    David
    Forum Moderator

  5. #5
    Member
    Join Date
    Aug 2002
    Posts
    62

    Default

    [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.
    I'm Tim.

  6. #6
    Member
    Join Date
    May 2002
    Posts
    37

    Default

    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. #7
    Member
    Join Date
    Jan 2004
    Location
    Brazil
    Posts
    45

    Default

    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. #8
    Member
    Join Date
    Apr 2003
    Posts
    7

    Default

    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. #9
    Member
    Join Date
    Jan 2004
    Location
    Brazil
    Posts
    45

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Email forwarder issue (BUG?) - causing reverse DNS failure
    By wa4fat in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-02-2008, 09:36 AM
  2. Terminate Multiple Account from root is Causing HTTPD failure
    By aceslady06 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-15-2008, 08:08 PM
  3. cPanel spelling errors.
    By jols in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-05-2006, 07:57 AM
  4. remove errors from httpd error log (Apache)
    By iti in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-16-2004, 07:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube