Service fails to stop.

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Bonk
-


Joined: 23 Dec 2003
Posts: 6

PostPosted: Tue Nov 08, 2005 2:36 pm    Post subject: Service fails to stop. Reply with quote

I'm using Abyss Web Server X1 (version 2.0.6) to serve a maintenance message while our apache server is down for scheduled nightly maintenance.

When called from a scheduled batch file, the abyss service occassionally fails to stop, preventing apache from starting. The trick is it only does this sometimes.

I am using batch files as follows:

Runstats.bat:
Code:

NET STOP "Apache2"
ping -n 20 127.0.0.1
NET START "AbyssWebServer"
perl awstats.pl -update
*log rotation code removed for this post*
exit


StartServer.bat (scheduled to run six minutes after Runstats.bat):
Code:

NET STOP "AbyssWebServer"
ping -n 20 127.0.0.1
NET START "Apache2"
exit


Once weekly the StartServer.bat is scheduled to start 36 minutes after Runstats.bat while a dtabase backup is performed between these two batches.

Any idea why the abyss service sometimes fails to stop?

(the control instance stops but the serving instance keeps running... I added the "ping -n 20 127.0.0.1" to wait 20 seconds between the two servers and this seems to reduce its occurence but did not eliminate it...)
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Tue Nov 08, 2005 2:39 pm    Post subject: Reply with quote

Have you tried using the Abyss command line to stop it running instead?

abyssw --stop
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
Bonk
-


Joined: 23 Dec 2003
Posts: 6

PostPosted: Tue Nov 08, 2005 2:43 pm    Post subject: Reply with quote

No I have not, that might be worth a try, thanks for the suggestion.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Nov 09, 2005 8:57 am    Post subject: Re: Service fails to stop. Reply with quote

Bonk,

Can you please have a look on the Windows Events log. Abyss Web Server service logs there messages and error reports so there may be more information about the problem there.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group