Ok, I've spent a couple of days trying to figure this problem out myself, and it is just time ot turn to help. I am able to run my mud just fine using cheesy ways to get it to boot up .. i.e. ../src/rom 8445 etc. I need to use my startup script though so that I can restart and have log files etc.
Okay as of right now this is the errors I get when I boot up the mud the following ways:
cozzmolot@frostmud:~/QuickMUD/area$ ./startup &
[1] 8758
: bad interpreter: No such file or directory
[1]+ Exit 126 ./startup
cozzmolot@frostmud:~/QuickMUD/area$ startup &
[1] 8884
: bad interpreter: No such file or directory
[1]+ Exit 126 startup
cozzmolot@frostmud:~/QuickMUD/area$ ./startup 8445 &
[1] 8885
: bad interpreter: No such file or directory
[1]+ Exit 126 ./startup 8445
cozzmolot@frostmud:~/QuickMUD/area$ startup 8445 &
[1] 8886
: bad interpreter: No such file or directory
[1]+ Exit 126 startup 8445
and this is my script
#!/bin/tcsh
# Written by Furey.
# With additions from Tony and Alander.
# Set the port number.
set port = 8445
if ( "$1" != "" ) set port="$1"
# Change to area directory.
cd ../area
# Set limits.
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 rom.
../src/rom $port >&! $logfile
# Restart, giving old connections a chance to die.
if ( -e shutdown.txt ) then
rm -f shutdown.txt
exit 0
endif
sleep 15
end
whats wrong here?
Okay as of right now this is the errors I get when I boot up the mud the following ways:
cozzmolot@frostmud:~/QuickMUD/area$ ./startup &
[1] 8758
: bad interpreter: No such file or directory
[1]+ Exit 126 ./startup
cozzmolot@frostmud:~/QuickMUD/area$ startup &
[1] 8884
: bad interpreter: No such file or directory
[1]+ Exit 126 startup
cozzmolot@frostmud:~/QuickMUD/area$ ./startup 8445 &
[1] 8885
: bad interpreter: No such file or directory
[1]+ Exit 126 ./startup 8445
cozzmolot@frostmud:~/QuickMUD/area$ startup 8445 &
[1] 8886
: bad interpreter: No such file or directory
[1]+ Exit 126 startup 8445
and this is my script
#!/bin/tcsh
# Written by Furey.
# With additions from Tony and Alander.
# Set the port number.
set port = 8445
if ( "$1" != "" ) set port="$1"
# Change to area directory.
cd ../area
# Set limits.
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 rom.
../src/rom $port >&! $logfile
# Restart, giving old connections a chance to die.
if ( -e shutdown.txt ) then
rm -f shutdown.txt
exit 0
endif
sleep 15
end
whats wrong here?