Register forum user name Search FAQ

Gammon Forum

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 ➜ Cygwin starting problems

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.


38,944 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.