I have a similar problem, but my error message is
Quote:
CCcam.x86[17594]: segfault at 0 ip 08080c8d sp b5be6ce0 error 4 in CCcam.x86[8048000+99000]
CCcam.x86[27955]: segfault at 51 ip 08080c8d sp b5cd7ce0 error 4 in CCcam.x86[8048000+99000]
|
My server (2.0.11) chrashes every morning, and I'm not sure why.
I'm using the following script to check the server:
Quote:
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "CCcam ok"
else
echo "CCcam restarting"
/emu/cccam/CCcam.x86 &
fi
|
I have named the script
check.sh, and I placed it in
/emu/script. (Remember to do chmod 755 to be able to run it).
I then added the following to crontab to make it run every minute
Quote:
# CCcam check
*/1 * * * * /emu/script/check.sh >> /dev/null 2>&1
|
Not a good solution though, just a workaround to automatically check and restart the CCcam server if there is a problem.