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 has failed, please contact the sysadmin.

Discussion in 'General Discussion' started by Secret Agent, Dec 5, 2004.

  1. Secret Agent

    Secret Agent Guest

    httpd has failed, please contact the sysadmin.

    Ran:
    /scripts/upcp --force
    /scripts/fixeverything
    /scripts/updatenow
    Updated Apache via WHM (1.33.3)
    Rebooted (graceful).

    Still shows as apache failed in server status.

    Please help.
     
  2. Secret Agent

    Secret Agent Guest

    root@server [~]# httpd restart
    /usr/sbin/httpd restart: httpd not running, trying to start
    httpd: bad group name lynn
    /usr/sbin/httpd restart: httpd could not be started

    ?
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Try
    /usr/sbin/httpd configtest
     
  4. Secret Agent

    Secret Agent Guest

    root@server [/scripts]# /usr/sbin/httpd configtest
    httpd: bad group name lynn

    Is the group name a particular domain's username?
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Sounds like the httpd.conf file is using the group "lynn" somewhere but that group doesn't exist anymore. Need to find out where it is in the conf file and fix it.
     
  6. Secret Agent

    Secret Agent Guest

    Wasn't that, it looks fine (with updated username).
     
  7. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Is the error shown by the test gone now?
    Do you still get unable to start when started in shell?
     
  8. Secret Agent

    Secret Agent Guest

    root@server [~]# /usr/sbin/httpd configtest
    httpd: bad group name lynn7686
     
  9. Secret Agent

    Secret Agent Guest

    I fixed apache by correcing the /etc/groups file.

    Now, ALL domains on the server point to the one domain (that is used has host domain for dns).

    How do I fix this?
     
  10. Secret Agent

    Secret Agent Guest

    root@server [/etc/httpd/logs]# service httpd configtest
    Warning: DocumentRoot [/dev/null] does not exist
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Mon Dec 6 07:44:33 2004] [warn] VirtualHost xxx.32.80.98:80 overlaps with VirtualHost 216.32.80.98:80, the first has precedence, perhaps you need a NameVirtualHost directive
    Syntax OK
     
  11. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Do you have a NameVirtualHost statement?
     
  12. Secret Agent

    Secret Agent Guest

    That appeared to be the problem and I fixed it (was missing it in httpd.conf).

    Thanks for all who helped
     
  13. mher

    mher Well-Known Member

    Joined:
    Jun 14, 2004
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    this happened with me, but fixing it was easy:

    #/ groupadd lynn7686
    #/ service httpd start
     
  14. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    This is a bug.
    Whenerver you or a reseller change the username of an account
    it will mess up apache and group file.
    Modify account is a bad idea if you wanna change username or domain on an acocunt.

    his must be fixed - will add a new bug on this - you should to
     
Loading...

Share This Page