anybody ever see this? sleep: command not found

Posted by Kik on Wed 08 Oct 2003 04:17 PM — 6 posts, 21,279 views.

#0
i can make all, get no errors..
i can ./startup 9000&, get no errors..
but..the mud does NOT start up, and it floods me with

sleep: command not found
sleep: command not found
sleep: command not found


you get the idea...i have a feeling this is whats keeping my mud from starting up, just dont know how to fix it, can anybody help???

Kik
still regretting the day i learned MUD
Canada #1
Sounds like the call in your startup script to sleep when the mud does not start is not working, specifically that it does not seem to be on your system. If your running it on a server thats not your own, talk to the sysadmin, they can probably help you out. If it your own computer, I can't help much, maybe someone else can. Meanwhile, you can start your mud without a startup script, but it will not automatically restart if it crashes. If this seems like a viable option until you can sort out the matter with your startup script, do the following:

Assuming that your binary file is in your /src directory, cd into your area directory

Type: ../src/smaug 9000 &

Again, also assuming that your running smaug, if not, replace it with whatever your running, perhaps swreality. That will boot it and let you work, but if it crashes, you gotta boot it manually until your startup script works.
#2
whooooooooeeeeeeeeee


i did that, and got FLOOODED with bugs and errors and such .. but the mud starts up now...hmm

also my siteadmin said that i keep running up the CPU usage to between 80% and 97% ... i hate my mud :(

i guess i need to find an actual good coder to fix my place up....not a newbie like myself
Canada #3
Whats probably happening is that you have lots of copies of startup running in the background. Type "ps ux", and you should have a list of whats running. Anything that says "startup", you need to get rid of. You do this with the kill command. The syntax is, "kill <pid>", where you can get the pid from the "ps ux" command. Just fill it in, and it should stop that one from running. If, on the other hand, you do not have much listed there, only your mud running, then you've got other problems and yeah, you need a coder.
USA #4
Also, try typing 'man sleep' at your shell prompt. If you get a manual page with the command and how to use it, it's on the system. If you get "No manual entry for sleep" then you'll need to talk to your sysadmin to get it fixed.
#5
thanx yall..i fixed the place with your help and now we are running smoothly..maybe im not so bad of a coder after all :P well maybe not a bad coder with helpfull people... anyways thanx again yall


-Kik