Please check out Justice League Unlimited MUX !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Help! startup and other bugs. Mon Dec 5, 2005 [10:25 PM]
Aarabela
Email not supplied
member since: Dec 1, 2005
Reply

I am having problems wil my startup script,
copyover runs fine, reboot does not, and when the mud crash's it does not restart its self, these are the script and errors I have gotten.

(startup)

#!/bin/csh
# Written by Furey.
# With additions from Tony and Alander.

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

# Change to area directory.
cd ../area

# Set limits.
nohup
#nice
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

if [ -e core ]; then
gdb -batch ../src/rom core | mail spicer4us -AT- qwest.net
fi

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



(errors noted in logs)

Sun Dec 4 18:17:55 2005 :: EOF encountered on read.
Sun Dec 4 18:17:57 2005 :: Sock.sinaddr: 216.178.57.96
Sun Dec 4 18:17:58 2005 :: Loading Darkstar.
Sun Dec 4 18:17:58 2005 :: DarkStar -AT- ip-216-178-57-96.nw-tel.com has connected.
(error/kicked player/crash)

Sun Dec 4 18:34:42 2005 :: Log DarkStar:
Sun Dec 4 19:03:32 2005 :: Log DarkStar: goto 1
Sun Dec 4 19:18:17 2005 :: EOF encountered on read.
Sun Dec 4 19:18:17 2005 :: Closing link to DarkStar.
Sun Dec 4 20:19:23 2005 :: Sock.sinaddr: 216.178.56.147
Sun Dec 4 20:19:23 2005 :: Loading Darkstar.
Sun Dec 4 20:19:24 2005 :: DarkStar -AT- ip-216-178-56-147.nw-tel.com reconnected.
Sun Dec 4 20:19:26 2005 :: Sock.sinaddr: 216.178.56.147
(error/kicked player)

Sun Dec 4 22:59:30 2005 :: Log Vertere: help
Sun Dec 4 22:59:46 2005 :: Log Vertere: recall
Sun Dec 4 22:59:46 2005 :: [*****] BUG: Char_to_room: NULL.
Sun Dec 4 22:59:48 2005 :: Log pouchy poodle: follow madam
Sun Dec 4 22:59:59 2005 :: Log Vertere:
(error)

Sun Dec 4 23:03:01 2005 :: Log Vertere: train
Sun Dec 4 23:03:06 2005 :: Log Vertere: practice
Sun Dec 4 23:03:25 2005 :: EOF encountered on read.
Sun Dec 4 23:03:25 2005 :: Closing link to Vertere.
Sun Dec 4 23:06:10 2005 :: Sock.sinaddr: 24.59.97.72
Sun Dec 4 23:06:28 2005 :: Loading Vertere.
Sun Dec 4 23:06:32 2005 :: Vertere -AT- cpe-24-59-97-72.twcny.res.rr.com reconnected.
Sun Dec 4 23:06:37 2005 :: Log Vertere: replay
(error/kicked player)

Mon Dec 5 00:33:34 2005 :: Log DarkStar: quit
Mon Dec 5 00:33:34 2005 :: DarkStar has quit.
Read_from_descriptor: Connection reset by peer
Read_from_descriptor: Connection reset by peer
(error/kicked player)

Mon Dec 5 00:47:56 2005 :: Log Ladaubilis: quit
Mon Dec 5 00:47:56 2005 :: Ladaubilis has quit.
Mon Dec 5 01:31:38 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 01:31:47 2005 :: EOF encountered on read.
Mon Dec 5 01:32:32 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 01:32:38 2005 :: EOF encountered on read.
Mon Dec 5 01:34:46 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 01:34:53 2005 :: EOF encountered on read.
Mon Dec 5 01:34:59 2005 :: Sock.sinaddr: 24.59.97.72
(error/kicked player)

Mon Dec 5 01:45:26 2005 :: Log Vertere: recall
Mon Dec 5 01:45:26 2005 :: [*****] BUG: Char_to_room: NULL.
Mon Dec 5 01:45:30 2005 :: Log Vertere: score
(error)

Mon Dec 5 01:45:47 2005 :: Log Vertere: drink water
Mon Dec 5 01:45:49 2005 :: Log Vertere: quit
Mon Dec 5 01:45:49 2005 :: Vertere has quit.
Mon Dec 5 01:47:37 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 01:47:52 2005 :: EOF encountered on read.
Mon Dec 5 01:47:58 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 01:48:15 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 01:48:30 2005 :: Loading Vertere.
(error/kicked player)

Mon Dec 5 02:47:32 2005 :: Log Nehpest: practice
Mon Dec 5 02:48:05 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 02:48:24 2005 :: Loading Nehpest.
Mon Dec 5 02:48:30 2005 :: Closing link to Nehpest.
Mon Dec 5 02:48:30 2005 :: Nehpest -AT- cpe-24-59-97-72.twcny.res.rr.com reconnected.
Mon Dec 5 02:48:35 2005 :: Log Nehpest: replay
(error/kicked player)

Mon Dec 5 03:45:17 2005 :: Log Nehpest: save
Mon Dec 5 03:45:20 2005 :: Log Nehpest: quit
Mon Dec 5 03:45:20 2005 :: Nehpest has quit.
Read_from_descriptor: Connection reset by peer
Mon Dec 5 03:58:22 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 03:58:27 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 03:58:56 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 03:59:11 2005 :: Loading Nehpest.
(error/kicked player)

Mon Dec 5 04:15:02 2005 :: Log Nehpest: rest
Mon Dec 5 04:15:19 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 04:15:22 2005 :: EOF encountered on read.
Mon Dec 5 04:15:29 2005 :: Sock.sinaddr: 24.59.97.72
Mon Dec 5 04:15:32 2005 :: EOF encountered on read.
Mon Dec 5 04:20:21 2005 :: Log Nehpest: tell avatar health
(error/kicked player/mud crashed)



I know the startup has nothing to do with the other bugs other then the bugs have been making the mud crash, I need to mostly know why its not restarting. the extras would be helpfull sence they are new to me.


2. RE: Help! startup and other bugs. Tue Dec 6, 2005 [9:07 AM]
RETARD
Email not supplied
member since: Oct 25, 2005
In Reply To
Reply
Well about your startup program, why not have the startup run as a background process by using ./startup &, it should start automatically, otherwise search for something called mudcheck.pl.

About the crashing, though not showing a definite pattern, my best guess is to check your function loading the character.




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]