hitspot
07-25-2001, 11:34 AM
How do you restart a raq 3 server without actually rebooting the system.. for example, when I add a new virtual site- I have been restarting the system every time to get the new site recognized, but there must be a better way?
I really appreciate your help.
David Kiley
Go to /etc/rc.d/init.d
And look for httpd.
This is the web server, which must be restarted when you add a new virtual site.
to restart run
httpd restart
hitspot
07-27-2001, 11:18 AM
Thanks for your help, it works like a charm.
jnestor
07-27-2001, 11:54 AM
You should be able to "kill -HUP" the httpd process id. That forces apache to re-read the conf file. I don't know if it works for adding virtual sites but I don't see why not.
hitspot
07-29-2001, 12:55 AM
Do you know which method would be better for the system, restarting the httpd server from telnet or killing the process id?
Thanks,
David Kiley:)
a better question is why are you needing to restart it at all? when a site is added through the admin interface the service is automatically restarted. if your needing to do this manually you should talk to your host and find out why. chances are your raq needs a rebuild.
Steve
hitspot
07-29-2001, 01:46 AM
Thanks steve, i'll look into it.
David Kiley
hitspot
07-29-2001, 02:02 AM
I just tried to add a test site, without rebooting- and it worked. So, seems like there is no problem. I remember when I first got the server, that I needed to reboot, but perhaps I didn't know what I was doing at the time :)
Thanks everyone,
DK