(New message)
Subject review (reverse sequence)
Posted by
Dace K
Canada (169 posts) bio
Date
Sat 17 Jun 2006 08:19 AM (UTC) [ quote
]
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
Posted by
Nick Gammon
Australia (18,797 posts) bio
Forum Administrator
Date
Sat 17 Jun 2006 12:43 AM (UTC) [ quote
]
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
Gadush
(92 posts) bio
Date
Sat 17 Jun 2006 12:09 AM (UTC) [ quote
]
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
Darzeth
(36 posts) bio
Date
Sat 17 Jun 2006 12:03 AM (UTC) [ quote
]
Message
i cant kill the mud with -9 212 with cygwin it keeps saying no such process top
Posted by
Nick Gammon
Australia (18,797 posts) bio
Forum Administrator
Date
Fri 16 Jun 2006 11:46 PM (UTC) [ quote
]
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
Nick Gammon
Australia (18,797 posts) bio
Forum Administrator
Date
Fri 16 Jun 2006 11:45 PM (UTC) [ quote
] 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
Darzeth
(36 posts) bio
Date
Fri 16 Jun 2006 11:21 PM (UTC) [ quote
] 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 (18,797 posts) bio
Forum Administrator
Date
Fri 16 Jun 2006 10:20 PM (UTC) [ quote
]
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
Conner
USA (381 posts) bio
Date
Fri 16 Jun 2006 09:31 PM (UTC) [ quote
]
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 (18,797 posts) bio
Forum Administrator
Date
Fri 16 Jun 2006 09:08 PM (UTC) [ quote
]
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
Dace K
Canada (169 posts) bio
Date
Fri 16 Jun 2006 08:13 PM (UTC) [ quote
]
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
Darzeth
(36 posts) bio
Date
Fri 16 Jun 2006 07:11 PM (UTC) [ quote
] 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
David Haley
USA (3,881 posts) bio
Moderator
Date
Fri 16 Jun 2006 07:02 PM (UTC) [ quote
]
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
Fri 16 Jun 2006 06:56 PM (UTC) [ quote
]
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
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.
3,138 views.
Reply to this subject
Start a new subject
  Refresh page
Go to topic:
(Choose topic)
Area Editor: Bug reports
Area Editor: General
Area Editor: News and updates
Area Editor: Suggestions
Area Editor: Tips and tricks
Dawn of Time: Administration
Dawn of Time: Configuration
Dawn of Time: Installing/compiling the server
Dawn of Time: New Dawn Muds Announcements
Dawn of Time: Playing
Dawn of Time: What is Dawn of Time (Dawn)?
Electronics: Microprocessors
Electronics: Operational Amplifiers
Forum: About
Forum: Announcements
Forum: Mailing other users
Forum: Problems
Forum: Registering
Forum: Searching
Forum: Subscribing
Forum: Suggestions
Forum: Test
Forum: Time zones / time display
Forum software: Administration
Forum software: Installation
MUDs: Announcements
MUDs: General
MUDs: MUD Design Concepts
MUSHclient: Announcements
MUSHclient: Beta testing
MUSHclient: Bug reports
MUSHclient: Development
MUSHclient: General
MUSHclient: Getting Started
MUSHclient: International
MUSHclient: Jscript
MUSHclient: Lua
MUSHclient: Miniwindows
MUSHclient: MXP and Pueblo
MUSHclient: Perlscript
MUSHclient: Plugins
MUSHclient: Python
MUSHclient: Suggestions
MUSHclient: Tips and tricks
MUSHclient: VBscript
MUSHclient: Wine
PennMUSH: Compiling the server
PennMUSH: Running the server
Programming: General
Programming: STL
Quilting: General
ROM: Compiling the server
ROM: Running the server
SMAUG: Commands
SMAUG: Compiling the server
SMAUG: Lua
SMAUG: Running the server
SMAUG: SMAUG coding
Search the forum
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )