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 ➜ MUDs ➜ General ➜ Startup Not Working?!?

Startup Not Working?!?

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


Posted by Zer0   (10 posts)  Bio
Date Mon 23 Dec 2019 10:24 PM (UTC)
Message
For some reason when I run this Startup script, all I see is Sleep 2 and ./Startup not the mud exe.


#! /bin/csh -f
# Written by Furey.
# With additions from Tony.

# Set the port number.
set port = 5353
if ( "$1" != "" ) set port="$1"

# Change to area directory.
# autokill 60 >> ../area/autokill.txt &

# Set limits.
#nohup
#nice
#limit stack 1024k
limit coredumpsize 8128k
limit filesize 16256k
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

    # Run merc.
    cd ../src
    cp reloaded ../area    
    cd ../area
    ./reloaded $port >&! $logfile

    # Restart, giving old connections a chance to die.
    if ( -e shutdown.txt ) then
	rm -f shutdown.txt
	exit 0
    endif
    sleep 2
end
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 24 Dec 2019 05:23 AM (UTC)
Message
Can you copy and paste here the output that you see?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zer0   (10 posts)  Bio
Date Reply #2 on Tue 24 Dec 2019 06:02 AM (UTC)

Amended on Tue 24 Dec 2019 06:09 AM (UTC) by Zer0

Message
N/m I found my issues, I was missing a file.
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.


9,883 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.