Well I took the mud over from the prior owner and ASSUME that was the
startup script... Here it is, do you see anything that could be causing
this?
#!/bin/sh
# Written by Furey.
# With additions from Tony and Alander.
# Converted to /bin/sh by Paruda :p
# Set the port number.
PORT=6565
if test "$1" != ""
then
PORT="$1"
fi
# Change to area directory.
cd ../area
if test -e shutdown.txt
then
rm -f shutdown.txt
fi
while true
do
# If you want to have logs in a different directory,
# change the 'LOGFILE=' line to reflect the directory name.
INDEX=1000
while true
do
LOGFILE="../log/$INDEX.log"
if test ! -e $LOGFILE
then
break
fi
INDEX=`expr $INDEX + 1`
done
# Run ghost.
cp ../src/rom.exe ../src/romfile.exe
../src/romfile.exe $PORT > $LOGFILE 2>&1
# Restart, giving old connections a chance to die.
if test -e shutdown.txt
then
rm -f shutdown.txt
exit 0
fi
sleep 5
done
----- Original Message -----
From: "Edwin Groothuis" <[EMAIL PROTECTED]>
To: "Brian Merkley" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, January 04, 2002 3:28 PM
Subject: Re: Clueless
> On Fri, Jan 04, 2002 at 03:17:55PM -0800, Brian Merkley wrote:
> > All the files appear to be present and this is exactly what I am typing:
>
> If they are...
>
> > chmod 700 startup.dat (which appears to work ok)
> > ./startup.dat 6565& (Or ./startup 6565&)
> >
> > and I get the following error:
> > bash: ./startup.dat: No such file or directory
>
> Why do you get this error then?
>
> Have you looked what startup (or startup.dat, which doesn't look
> to me like a shell-script, but that's mostly based on the extension)
> does?
>
> Edwin
>
> > [1] 32311
> > [1] Exit 127
> >
> > Anyone have any ideas?
> >
> > Still Clueless :P
> >
> > Brian
> >
> >
> >
> > ----- Original Message -----
> > From: "Edwin Groothuis" <[EMAIL PROTECTED]>
> > To: "Brian Merkley" <[EMAIL PROTECTED]>
> > Cc: <[email protected]>
> > Sent: Thursday, January 03, 2002 7:56 PM
> > Subject: Re: Clueless
> >
> >
> > > On Thu, Jan 03, 2002 at 07:09:42PM -0800, Brian Merkley wrote:
> > > > chmod 700 startup.dat seemed to be accepted ok as no error or replys
but
> > > > when I type ./startup.dat& it says No such file or directory when I
am
> > in
> > > > the src file and can see the startup.dat. However there is an *
right
> > after
> > > > startup.dat for some reason. I dunno if that means anything...
> > >
> > > Make sure all the files referenced by in the startup file do exist.
> > > For example, csh will probably not exist on your system. Rewrite
> > > the shell-script to use sh/bash commands and you're happy.
> > >
> > > Edwin
> > >
> > > --
> > > Edwin Groothuis | Personal website:
http://www.MavEtJu.org
> > > [EMAIL PROTECTED] | Interested in MUDs? Visit Fatal
Dimensions:
> > > ------------------+
http://www.FatalDimensions.org/
> > >
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
>
> --
> Edwin Groothuis | Personal website: http://www.MavEtJu.org
> [EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions:
> ------------------+ http://www.FatalDimensions.org/
>