View previous topic :: View next topic |
Author |
Message |
Bonk -
Joined: 23 Dec 2003 Posts: 6
|
Posted: Tue Nov 08, 2005 2:36 pm Post subject: Service fails to stop. |
|
|
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 |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Tue Nov 08, 2005 2:39 pm Post subject: |
|
|
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 |
|
 |
Bonk -
Joined: 23 Dec 2003 Posts: 6
|
Posted: Tue Nov 08, 2005 2:43 pm Post subject: |
|
|
No I have not, that might be worth a try, thanks for the suggestion. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Nov 09, 2005 8:57 am Post subject: Re: Service fails to stop. |
|
|
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 |
|
 |
|