[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Help?!!



Without wanting to look stupid (too late)!

I made some (basic) changes to the Virtual Sites section of my httpd.conf
file and used the following command to restart Apache:

kill -HUP $(cat /var/run/httpd.pid)

I checked my website to confirm that everything had worked, it was AOK. I
then made the changes to the rest of the Virtual Sites (it was to change the
ServerAdmin field to "Richard Abrams" from "admin"), and used the same
command to try and restart Apache.

This time I got the message "No such PID". Checked the /var/run/httpd.pid
file and it had a different PID in than the one reported for the first HTTPD
process using ps -aux | grep httpd.

OK, I think, so use the same command, but substitute $(cat...) with the
correct PID. Seems ok, and command executes. BUT, now my websites aren't
responding. "Hmmm" thinks me, reboot server. Now, although TELNET, POP3 etc
is all okay, my web server is refusing to respond. I even get a nice email
to the Admin account every few minutes telling me so... also, there is no
longer a /var/run/httpd.pid file.

HELP?!?!?!

Thanks in advance,

        -Richard