crash takes out the startup script

Posted by Robert Powell on Sun 06 Jun 2004 04:12 AM — 6 posts, 19,217 views.

Australia #0
I do not know why but when my smaug mud crashes sometimes it takes out the startup scrip also, or more t the point it does not recover from the crash and the startup script shuts down also. I was wondering how i would go about fiding out whats going on and stop the startup script from shutting down. Oh the startup script doesnt allways crash out with the game, only sometimes.

The startup script is un-changed smaugfuss one, the startup script is run from a shell script that the host uses to shut down and startup the mud if they need to shutdown the host machine, and all it does is cd into the src directory and ./startup &

any help on how i can stop this from happening would be great.
Canada #1
I dunno what platform your on, but this may be applicable, I have the same issue, ended up using a different startup script, but anyways:

http://knights.wolfpaw.net/reboot.htm
Australia #2
Im hosted with genesismuds i think the server im on is redhat v something 7 or higher cant remember tho
Australia #3
Well i'll be dammed if the information on the link provided did not fix the problem of the failing startip script. So far i have crashed the mud on my local machine 30 times and each time it recovers. That is the last place i would have looked to try and resolve the problem Thanks heaps Greven exelent work as always. :)
Australia #4
Ok, i did all as was asked, changed the exit(0) to exit(1); but i still dont get core files when i crash, im looking in the area directory and there is nothing, any ideas as to how to get my core files back, i can comment it all out again till i work out what the bug is, but thats a pain in the you know whats.

thanks again for all your help
Canada #5
I changed my exit to abort, and it worked fine. Try that.