D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Error message



G'day all,

I have a bit of code...

log="/log/x25dl1.log";
while true
do
  x25dl1 2>&1 >> $log
  status=$?
  dd=`date +"%d-%b-%Y %H:%M:%S"|tr [:lower:] [:upper:]`
  echo "$dd [$$] FATAL: x25dl1 has died. Status = $status">>$log
  sleep 5
done

In the log file I get...
22-NOV-2003 19:00:02 [688] FATAL: x25dl1 has died. Status = 141

I can't find what the status of 141 is. Any ideas?

x25dl1 is a c program.
If it was perl I would have said it was a SIGPIPE error, which would make sense since it uses sockets to communicate.
 --
'ooroo

Mike...(:)-)
---------------------------------------------------
Email: mike@xxxxxxxxxxxxx        o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should use  >  (O)  X<  ~  Fish!!
the hammer. If it moves and      `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly