Re: More about Virtual Hosts...


Subject: Re: More about Virtual Hosts...
From: Brian Watson (bcwatso1@uiuc.edu)
Date: Thu Aug 09 2001 - 11:01:35 MDT


I did not use the full path, because I cd'd to /etc/rc.d/init.d
before trying httpd. Using the full path worked. Thanks.

--Brian

>Did you use the full path as shown below (/etc/rc.d/init.d/httpd)? There
>is likely a different httpd in your path (/usr/sbin/httpd). If you simply
>executed 'httpd stop', chances are you executed the wrong thing and the
>daemon wasn't actually stopped. If you executed the correct script, you
>should have seen output that looked something like
>
>Shutting down http: [ OK ]
>
>The [ OK ] would be replaced by [FAILED] if you executed the correct
>script, but the shutdown for some reason failed.
>
>
>Jim
>
>Brian Watson's bits of Thu, 9 Aug 2001 translated to:
>
>>That still does not seem to reset my webserver...Port 80 is still
>>open after httpd stop, and none of the settings take effect.
>>
>>--Brian
>>
>>>Hi - The apache RPM file distributed with YDL 2.0 is missing apachectl. If
>>>you want to dig it out, apachectl is contained in the corresponding source
>>>RPM. I can also send it to you off-list if you would like. For a quick,
>>>temporary fix, you can use the system init script. For example
>>>
>>>/etc/rc.d/init.d/httpd restart
>>>/etc/rc.d/init.d/httpd stop
>>>/etc/rc.d/init.d/httpd start
>>>
>>>
>>>Jim
>>>
>>>
>>>Brian Watson's bits of Thu, 9 Aug 2001 translated to:
>>>
>>>>The command is not there, but apache is installed...
>>>>
>>>>--Brian
>>>>
>>>>>on 8/8/01 10:29 PM, Brian Watson at bcwatso1@uiuc.edu wrote:
>>>>>
>>>>>> What is the command to restart, and shutdown httpd? I thought httpd
>>>>>> did it, but that doesn't work. When I restart, the settings are
>>>>>> effective. Thanks.
>>>>>
>>>>>
>>>>>Well, it should be : /usr/sbin/apachectl graceful
>>>>>
>>>>>But do: locate apachectl to see if it's there first.
>>>>>
>>>>> Robert Brandtjen
>>>>> --------------------------------------
>>>>> Web Site Creation and Hosting Services
>>>>> Hostmaster@prometheusmedia.com
>>>>> www.prometheusmedia.com
>>>>
>>>>
>>
>>



This archive was generated by hypermail 2a24 : Thu Aug 09 2001 - 10:11:15 MDT