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
➜ Running the server
➜ Reboot problem: Mud goes down but doesnt come up
Reboot problem: Mud goes down but doesnt come up
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
3
4
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Mon 23 Jan 2006 08:18 PM (UTC) |
Message
| I am having a problem with rebooting my Smaug MUD. It is ona linux shell, and everytime I reboot or there is the daily auto reboot, the mud goes down but never reboots itself. I've searched and searched and it doesn't seem to be a problem with the port I have the game set to, also I have the "fix" for the autoreboot. Can someone please help me out? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Mon 23 Jan 2006 08:25 PM (UTC) |
Message
| Use nohup:
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Reply #2 on Mon 23 Jan 2006 08:37 PM (UTC) |
Message
| Thank you for the reply.
I regret to say that's what I use to start the mud everyday..
I also have to start it from the area folder. The mud boots, but when I use the reboot command or daily reboot occurs it doesn't come up on it's own. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Mon 23 Jan 2006 08:44 PM (UTC) |
Message
| You shouldn't be booting it from the area dir. The startup script should be in and run from the src dir. Why are you running it in area? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Reply #4 on Mon 23 Jan 2006 08:49 PM (UTC) |
Message
| The codebase I am running requires me to start it from the area file. I use this:
nohup ../src/dbsaga 4000 &
If I start it from the src with the way you told me, I get permission denied. I also tried using this from the src folder:
nohup ./dbsaga &
Though it didn't do anything. There wasn't even a process that was started.. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #5 on Mon 23 Jan 2006 08:52 PM (UTC) |
Message
| You need to run the startup script. The exec will not 'reboot' because there is no script to do that. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Reply #6 on Mon 23 Jan 2006 08:57 PM (UTC) |
Message
| Each time I try to use the startup script, it tells me:
nohup: appending output to `nohup.out'
nohup: cannot run command `./startup': Permission denied
[1]+ Exit 126 nohup ./startup
I assume this is a problem with the chmod settings? What would be the proper way to correct this? | Top |
|
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Reply #7 on Mon 23 Jan 2006 09:09 PM (UTC) |
Message
| OK. Changed the chmod properties to 755.
Now it gives me this:
nohup ./startup &
[1] 8252
nohup: appending output to `nohup.out'
[1]+ Exit 1 nohup ./startup
| Top |
|
Posted by
| Dralnu
USA (277 posts) Bio
|
Date
| Reply #8 on Mon 23 Jan 2006 09:30 PM (UTC) |
Message
| Sometimes the startup script doesn't work. On SMAUG, it was made for Cshell, and like for me I run bash, and the commands don't cross over. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #9 on Mon 23 Jan 2006 09:34 PM (UTC) |
Message
| Maybe check the nohup.out file? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Reply #10 on Mon 23 Jan 2006 09:50 PM (UTC) |
Message
| When I use the nohup command (nohup ./startup &) to start the mud up using the startup script this is generated in the nohup.out file:
Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
Using it with "nohup ./dbsaga &" works. Though only when executed in the area folder. Even using the other method with startup in the area folder does not work.
| Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #11 on Tue 24 Jan 2006 12:26 AM (UTC) |
Message
| Looks like it's using csh wrong. Can you paste the line in the startup script that has csh? Should be the first line or so. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #12 on Tue 24 Jan 2006 01:34 AM (UTC) |
Message
| If he's using the standard DBSC 2.5 codebase, his first line of startup should be:
Quote:
#!/bin/csh -f
Now, I'm no shell expert, but when I looked at the same first line from SmaugFUSS, it was:
Quote:
#! /bin/csh -f
Noting the extra space after the ! mark. Perhaps that is enough to throw it off? | Top |
|
Posted by
| Arathelle
(13 posts) Bio
|
Date
| Reply #13 on Tue 24 Jan 2006 02:18 AM (UTC) |
Message
| Alas.. Samsom is right about how the startup script looks, though unfortunately the propsed fix did not work. Would pasting the entire startup script help you guys find the problem? I'm totaly clueless at this point. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #14 on Tue 24 Jan 2006 03:56 AM (UTC) |
Message
| What are you using? Cygwin? Linux? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | 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.
128,521 views.
This is page 1, subject is 4 pages long: 1 2
3
4
It is now over 60 days since the last post. This thread is closed.
Refresh page
top