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.

New Buildapache problem

Discussion in 'EasyApache' started by haze, Jul 23, 2002.

  1. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    I just upgraded and apache wont start up, I get:

    Jul 22 09:53:13 pearljam httpd: /etc/rc3.d/S85httpd start: httpd (pid 1630) already running Jul 22 09:53:15 pearljam rc: Starting httpd: succeeded Jul 22 10:01:19 pearljam httpd: /etc/rc3.d/S85httpd start: httpd (pid 1630) already running Jul 22 10:01:19 pearljam rc: Starting httpd: succeeded httpd has failed, please contact the sysadmin
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    I managed to fix it. It was looking for users non existent on the server ( previ ously removed ) I would get the error:

    root@pearljam [~]# /etc/rc.d/init.d/httpd startssl
    httpd: bad user name imintera
    /etc/rc.d/init.d/httpd startssl: httpd could not be started
    root@pearljam [~]# /etc/rc.d/init.d/httpd startssl
    httpd: bad user name eroticwh
    /etc/rc.d/init.d/httpd startssl: httpd could not be started


    What I did was create 2 fake accounts with these usernames and restarted apache and it worked. Any idea why this might have happened? Do you think it would be safe to remove the new fake accounts?
     
  3. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Check if the are virtual host entries left in httpd.conf for those 2 users. If yes, remove them.

    Running /etc/rc.d/init.d/httpd configtest is not a bad idea either :)
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    I had checked for any entries of the usernames in httpd.conf and there was none. That is why I created the fake accounts with the usernames.
     
Loading...

Share This Page