Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    318
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    306
    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:
    318
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice