Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ anybody ever see this? sleep: command not found
|
anybody ever see this? sleep: command not found
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Kik
(18 posts) Bio
|
| Date
| Wed 08 Oct 2003 04:17 PM (UTC) |
| Message
| 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 | | Top |
|
| Posted by
| Greven
Canada (835 posts) Bio
|
| Date
| Reply #1 on Wed 08 Oct 2003 04:30 PM (UTC) |
| Message
| 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. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | | Top |
|
| Posted by
| Kik
(18 posts) Bio
|
| Date
| Reply #2 on Wed 08 Oct 2003 05:16 PM (UTC) |
| Message
| 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 | | Top |
|
| Posted by
| Greven
Canada (835 posts) Bio
|
| Date
| Reply #3 on Wed 08 Oct 2003 07:44 PM (UTC) |
| Message
| | 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. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #4 on Wed 08 Oct 2003 08:30 PM (UTC) |
| Message
| | 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. | | Top |
|
| Posted by
| Kik
(18 posts) Bio
|
| Date
| Reply #5 on Thu 09 Oct 2003 05:24 PM (UTC) |
| Message
| 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 | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
20,299 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top