Gammon Forum
Entire forum
SMAUG
Running the server
Cygwin starting problems
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Mopop
(115 posts) bio
|
Date
| Tue 09 May 2006 03:08 AM (UTC) |
Message
| This has never happened before but I wanna start up my mud and I keep getting this instead.
Limit: Command not found
This is all new to me and I tried messing with a few things, anyone know of the problem? | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #1 on Tue 09 May 2006 03:31 AM (UTC) |
Message
| Maybe it's not installed? Did you make sure the package is installed? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Mopop
(115 posts) bio
|
Date
| Reply #2 on Tue 09 May 2006 03:38 AM (UTC) |
Message
| Everything should be fine as I havent touched it for a month or 2. Why it is strange it stopped working here. | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #3 on Tue 09 May 2006 03:43 AM (UTC) |
Message
| What are you trying to do exactly? Run the startup script? Remember that it's case sensitive. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Mopop
(115 posts) bio
|
Date
| Reply #4 on Tue 09 May 2006 03:51 AM (UTC) |
Message
| ./startup &
limit:Command not found
limit:Command not found
I really am starting to hate Cygwin -.- | top |
|
Posted by
| David Haley
USA (3,881 posts) bio
|
Date
| Reply #5 on Tue 09 May 2006 03:54 AM (UTC) |
Message
| Did this work previously on the same computer, using Cygwin, or have you only just recently moved to Cygwin on this computer? |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
Posted by
| Mopop
(115 posts) bio
|
Date
| Reply #6 on Tue 09 May 2006 04:00 AM (UTC) |
Message
| It has always been on this computer :( | top |
|
Posted by
| Conner
USA (381 posts) bio
|
Date
| Reply #7 on Tue 09 May 2006 04:38 AM (UTC) |
Message
| For those trying to help Mopop with this one, I'm on FC3 running SmaugFUSS 1.6-ish and my startup script also includes:
limit stacksize 1024k
limit coredumpsize unlimited
and it runs just fine, but if I type limit at the command line, I get: bash: limit: command not found
so I don't know that it's a matter of a missing package, but rather something reading the limit params in startup as if they were executable lines unto themselves. |
-=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
| David Haley
USA (3,881 posts) bio
|
Date
| Reply #8 on Tue 09 May 2006 04:45 AM (UTC) |
Message
| The startup script uses tcsh, if I remember correctly, so limit might be an internal tcsh command. That would explain why bash can't find it, but it wouldn't explain why it stopped working all of a sudden. Unless of course Mopop changed something and isn't telling us. :-) |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
Posted by
| Mopop
(115 posts) bio
|
Date
| Reply #9 on Tue 09 May 2006 04:51 AM (UTC) |
Message
| Er not that I know of!
#! /bin/csh -f
# Set the port number.
set port = 4000
if ( "$1" != "" ) set port="$1"
# Change to area directory.
cd ../area
# Set limits.
nohup
limit stacksize 1024k
limit coredumpsize unlimited
if ( -e shutdown.txt ) rm -f shutdown.txt
while ( 1 )
# If you want to have logs in a different directory,
# change the 'set logfile' line to reflect the directory name.
set index = 1000
while ( 1 )
set logfile = ../log/$index.log
if ( ! -e $logfile ) break
@ index++
end
# Record starting time
date > $logfile
date > ../area/boot.txt
# Run SMAUG.
# Check if already running
set matches = `netstat -an | grep ":$port " | grep -c LISTEN`
if ( $matches >= 1 ) then
# Already running
echo Port $port is already in use.
exit 0
endif
../src/smaug $port >&! $logfile
# Restart, giving old connections a chance to die.
if ( -e shutdown.txt ) then
rm -f shutdown.txt
exit 0
endif
sleep 5
end
Thats my startup script. | top |
|
Posted by
| Colton
(44 posts) bio
|
Date
| Reply #10 on Thu 25 May 2006 12:49 AM (UTC) |
Message
| Eh, I get the same errors but mine just blows through them anyway. In truth since the limits arn't being set and there are no negitive affects for me just comment out the two limit lines:
#limit stacksize 1024k
#limit coredumpsize unlimited
| top |
|
Posted by
| Samson
USA (683 posts) bio
|
Date
| Reply #11 on Thu 25 May 2006 06:15 PM (UTC) |
Message
| Yeah, you can usually just ignore the limit errors. Since a core dump in Cygwin would actually be a Windows stackdump, they won't be of any help anyway. The rest of the script will run just fine without them. | 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.
28,046 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.