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.
Entire forum
➜ SMAUG
➜ Running the server
➜ problem with startup
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Darzeth
(36 posts) Bio
|
Date
| Fri 16 Jun 2006 06:56 PM (UTC) |
Message
| Okay my mud compiles then I do ./startup & but it wont let me log on. So i try to do make clean and make and both say the mud is running. Why wont it let me log on if its running? | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Fri 16 Jun 2006 07:02 PM (UTC) |
Message
| What do you mean, you can't log on? Did you create a character and it's refusing it? Or are you unable to use the default character? Did you follow the instructions in the documentation regarding how to set up the first player? You could also try searching these forums, or even Google; this question has been asked/answered many times. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Darzeth
(36 posts) Bio
|
Date
| Reply #2 on Fri 16 Jun 2006 07:11 PM (UTC) Amended on Fri 16 Jun 2006 07:14 PM (UTC) by Darzeth
|
Message
| no when i try to connect it wont let me connect it keeps saying connection timed out | Top |
|
Posted by
| Dace K
Canada (169 posts) Bio
|
Date
| Reply #3 on Fri 16 Jun 2006 08:13 PM (UTC) |
Message
| It's cause you've been banned. |
ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com
Drop by the area archives and find something for your mud. http://areaarchives.servegame.com | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #4 on Fri 16 Jun 2006 09:08 PM (UTC) |
Message
| Check which port it is running on. I think the startup script defaults to 5000. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Conner
USA (381 posts) Bio
|
Date
| Reply #5 on Fri 16 Jun 2006 09:31 PM (UTC) |
Message
| Smaug usually defaults to port 4000. |
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #6 on Fri 16 Jun 2006 10:20 PM (UTC) |
Message
| Yeah maybe I changed it on mine. :)
You can see if it is listening on Linux like this (as root):
# netstat -lnp | grep smaug
tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN 17819/smaug
This shows that smaug is listening on port 4000.
On Windows, try "netstat -a" - that seemed to show listening ports for me. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Darzeth
(36 posts) Bio
|
Date
| Reply #7 on Fri 16 Jun 2006 11:21 PM (UTC) Amended on Fri 16 Jun 2006 11:23 PM (UTC) by Darzeth
|
Message
| i already know how to see the port i just go and alter it in startup. But as i said it says its refusing the connection and i dont know why. Question after i do ./startup & how do i shut it down with out entering the mud. closing the CYGWIN window doesnt work. If the case is im banned how do i unbanned myself with out entering the mud. | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #8 on Fri 16 Jun 2006 11:45 PM (UTC) Amended on Fri 16 Jun 2006 11:47 PM (UTC) by Nick Gammon
|
Message
|
Quote:
i already know how to see the port i just go and alter it in startup.
Yes, that shows the port it is trying to start up on. Netstat shows if it succeeded. Connection refused may well mean it didn't start.
In Cygwin, I type this (after succesfully starting it):
$ netstat -an | grep 4000
TCP 0.0.0.0:4000 0.0.0.0:0 LISTENING
The entry for 0.0.0.0:4000 shows it is running (listening for connections) on port 4000. You need to do that to confirm it is actually running.
Quote:
how do i shut it down with out entering the mud ...
You can find its process id:
$ ps waux | grep smaug
264 212 212 244 con 1000 09:31:24 /home/Nick/SmaugFUSS/src/smaug
Then kill that process id:
Although I found that with startup running Smaug came back a moment later lol because that is what startup is designed to do...
$ ps waux | grep smaug
281 212 212 277 con 1000 09:35:25 /home/Nick/SmaugFUSS/src/smaug
So you could spend all day killing them. :)
Next step, find and kill startup:
$ jobs -l
[1]- 212 Running ./startup &
Now kill startup:
$ kill -9 212
[1]- Killed ./startup
Once you have killed startup, check if smaug itself is still running and if so, kill that. Then it shouldn't reappear. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #9 on Fri 16 Jun 2006 11:46 PM (UTC) |
Message
| I found I had to comment out two lines in startup, or it didn't start up:
#limit coredumpsize unlimited
#limit stacksize unlimited
That is because it didn't find the "limit" command in my copy of Cygwin. Perhaps that is your problem? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Darzeth
(36 posts) Bio
|
Date
| Reply #10 on Sat 17 Jun 2006 12:03 AM (UTC) |
Message
| i cant kill the mud with -9 212 with cygwin it keeps saying no such process | Top |
|
Posted by
| Gadush
(92 posts) Bio
|
Date
| Reply #11 on Sat 17 Jun 2006 12:09 AM (UTC) |
Message
| What client are you using to try and log onto the MUD?
Are you sure you are using localhost, and the right port? | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #12 on Sat 17 Jun 2006 12:43 AM (UTC) |
Message
| The number 212 was taken from the example above. Typing "jobs -l" tells you the process IDs, then you kill that number. It won't always be 212. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Dace K
Canada (169 posts) Bio
|
Date
| Reply #13 on Sat 17 Jun 2006 08:19 AM (UTC) |
Message
| You can also check what port your mud is running on from the logs. ^^ |
ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com
Drop by the area archives and find something for your mud. http://areaarchives.servegame.com | 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.
32,028 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top