New Buildapache problem

haze

Well-Known Member
Dec 21, 2001
1,550
3
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
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
I managed to fix it. It was looking for users non existent on the server ( previ ously removed ) I would get the error:

[email protected] [~]# /etc/rc.d/init.d/httpd startssl
httpd: bad user name imintera
/etc/rc.d/init.d/httpd startssl: httpd could not be started
[email protected] [~]# /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?
 

taivu

Well-Known Member
Nov 22, 2001
65
0
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 :)
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
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.