httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Glauberman" <rglauber...@michaeli-gymnasium.de>
Subject Re: [users@httpd] Restaring Apache From A Batch File
Date Tue, 30 Nov 2004 22:56:31 GMT
under windows try:
net stop apache
net start apache

or try apache --help to gt the possible parameters, i think it was sowething 
like -k retart, but don't know for win.

----- Original Message ----- 
From: "Luke Shannon" <lshannon@hypermedia.com>
To: <users@httpd.apache.org>
Sent: Tuesday, November 30, 2004 11:26 PM
Subject: [users@httpd] Restaring Apache From A Batch File


> Hello;
>
> I need to make some configuration changes and than restart Apache in a
> windows environment. Everything is fine until I try and restart:
>
> :: sample from my batch script
> cd C:\Program Files\Apache Group\Apache\
> Apache.exe --ntservice
>
> It hangs for a few seconds and then tells me:
> error (1063) The service process could not connect to the service
> controller: Error starting service control dispatcher.
>
> When I went into the control panel this is what the Apache service calls 
> to
> restart. Am I going about this the wrong way?
>
> Thanks,
>
> Luke
>
> ----- Original Message ----- 
> From: "Ralf Glauberman" <rglauberman@michaeli-gymnasium.de>
> To: <users@httpd.apache.org>
> Sent: Tuesday, November 30, 2004 5:15 PM
> Subject: Re: [users@httpd] Apache won't start with User Account
>
>
>> plain text please!
>>
>> perhaps you can give us some more info, try to start apache from the
> console
>> (cmd.exe), what do you get? what is in the error-log? hat does a
>> config-check say? also notice that on unix-systems only root can start
>> services listening at low ports (1-1024 i think, but not sure). this 
>> might
>> be right for windows as well, so try to start apache as administrator,
> does
>> this work?
>>
>> ----- Original Message ----- 
>> From: Adrianne D Mason
>> To: users@httpd.apache.org
>> Sent: Tuesday, November 30, 2004 8:39 PM
>> Subject: [users@httpd] Apache won't start with User Account
>>
>>
>>
>>
>> All -- 
>>
>> I have Windows XP and have been trying unsuccessfully for the past couple
> of
>> days to set up Apache2 to run with my specified user account. I had 
>> Apache
>> 1.3 working this way under Win2000 but my computer was recently wiped
> clean
>> and XP was installed. Because this was a clean install, I don't believe
> any
>> of the old data from Apache 1.3 is affecting my installation of Apache2. 
>> I
>> can stop/start/restart the HTTP server just fine using the Local System
>> account but as soon as I edit the properties to use my user account, I
> can't
>> get the server to start.
>>
>> Any ideas?
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message