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
➜ Startup Problem
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Thu 11 Feb 2010 09:03 PM (UTC) |
Message
| Alright so, I'm fairly new to this coding part and "running the server". So I'll get straight to the point.
I have a codebase in SWR format, that is not default SWR code, it's been rewritten and modified already. When I use cygwin to browse down into the src directory and type in ./startup &
It gives me a random number, random I think last one was 6068, and then it also tells me
$ limit: Command not found.
$ unlimit: Command not found.
Any ideas from anyone on this one? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 11 Feb 2010 09:54 PM (UTC) |
Message
| Search this forum for "limit Command not found".
I found quite a few posts about it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Reply #2 on Thu 11 Feb 2010 10:11 PM (UTC) |
Message
| Thanks
Now I have a different question.
I removed the limit/unlimit commands, then ./startup & again, it gave no errors, but whenever I tried to connect to 127.0.0.1 port 4000 it doesn't connect.
Sorry if creating a new thread on this is bothersome. | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 11 Feb 2010 11:11 PM (UTC) |
Message
| Have a look inside your startup file. I found mine to default to port 4020, not 4000. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #5 on Fri 12 Feb 2010 12:22 AM (UTC) |
Message
| Check what processes are running. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Reply #6 on Fri 12 Feb 2010 01:56 AM (UTC) |
Message
| If I gave you a list of processes, we'd be here all night. XD
Am I looking for tcsh.exe?
The ones that stand out from the normal ones that are runnning are as followed:
Sleep.exe
tcsh.exe
bash.exe (cygwin I assume)
xterm.exe
xwin.exe
Which processes should be running, and do you think it may be a firewall issue? I have my port forwarding set up for the port 4000, but there could be something else blocking it. | Top |
|
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Reply #7 on Fri 12 Feb 2010 01:58 AM (UTC) |
Message
| Bear in mind, I'm attempting this on a Windows Vista 64-bit machine, and it probably isn't set up at the moment for hosting, so ports may need to be opened or configured. If so, let me know what I need to do on my end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #8 on Fri 12 Feb 2010 02:12 AM (UTC) |
Message
| Not the processes in Windows, the processes in Cygwin. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Reply #9 on Fri 12 Feb 2010 02:17 AM (UTC) |
Message
| Hm... I'm not exactly sure how to check the processes in cygwin... | Top |
|
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Reply #10 on Fri 12 Feb 2010 02:20 AM (UTC) |
Message
| Wait nevermind.
jobs -l
3528 Running ./startup &
| Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #11 on Fri 12 Feb 2010 03:46 AM (UTC) |
Message
| Look into the ps command.
If you only see startup, that means the MUD exec isn't running. Check the logs. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #12 on Fri 12 Feb 2010 04:04 AM (UTC) |
Message
| Initially I would run "direct" without using the startup script. There is probably a log somewhere if you can find it. To run without the script, work out the executable name (quite possibly smaug.exe) - this will be in the src directory. Then type:
Then quite probably you will see error messages or something flying by to confirm or otherwise that things are working. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| MagisterXero
(11 posts) Bio
|
Date
| Reply #13 on Fri 12 Feb 2010 04:09 AM (UTC) |
Message
| PID PPID PGID WINPID TTY UID STIME COMMAND
4248 1 4248 5560 con 1000 20:50:07 /usr/bin/XWin
I 5568 1 5568 5568 con 1000 21:09:39 /usr/bin/bash
3528 5568 3528 5536 con 1000 21:11:53 /usr/bin/tcsh
1852 4248 1852 2620 ? 1000 23:07:13 /usr/bin/xterm
4540 1852 4540 4132 0 1000 23:07:14 /usr/bin/bash
4100 3528 3528 5232 con 1000 23:07:15 /usr/bin/sleep
6072 4540 6072 5688 0 1000 23:07:16 /usr/bin/ps
These are the processes that I see running | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #14 on Fri 12 Feb 2010 04:21 AM (UTC) |
Message
| Strange, I don't see startup there. If sleep and startup are there, that probably means the exec is failing to boot. What Nick says is a good idea. |
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.
55,591 views.
This is page 1, subject is 2 pages long: 1 2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top