Linux CCcam server crashing on Debian 7

magostinho

Inactive User
Joined
Jan 2, 2010
Messages
6
Reaction score
0
Hello everyone,

I have installed a CCcam server on a Debian 7 VPS using a well known automated script (apache, ftp, SSH, CCcam version 2.0.11, PHPwebinfo and the hole lot).

The script works like a charm, but I do have a problem: the CCcam server keeps crashing every few minutes, it automatically restarts because of a "check.sh" script (that checks if CCcam is running and starts it if necessary), but this is very annoying because when it crashes active peers get a freeze in the image, and also I cannot get proper statistics from CCcaminfoPHP (uptime goes to a few minutes maximum).

I have tried to figure out the problem, even re-installed everything from scratch, but so far no success...

I could not find the cccam-crash.log under /var/log/, can anyone tell me where to find it?

The CCcam server only has 7 or 8 clients/servers, and it was running more or less stable on my DM800HD (okay it was not dropping every few minutes as now).

Any of you tried to set up a server with this type of automated script?
Any ideas on how to solve this problem?

Many thanks in advance,
Cheers
m
 
can you post the check.sh file
 
can you post the check.sh file

#!/bin/sh
#Simple script to ensure CCcam is running and responding
#In some cases the process still runs but does not respond.
#If this is the case, of the CCcam process is missing
#it will restart CCcam using the start script
#
#Script written by CC_Share
#For support or more info, visit

CHECKNAME="test.txt"
IP="127.0.0.1"
PORT="16000"
echo info|nc $IP $PORT >>/tmp/$CHECKNAME
set $(ls -s /tmp/$CHECKNAME)
if [ "$1" = "0" ];
then
echo "CCcam is not running, Restarting..."
/bin/cccam restart
else
echo "CCcam is running"
fi
rm /tmp/$CHECKNAME
exit
 
Last edited by a moderator:
running debug mode and check all warning and make sure configuration

have something wrong in cfg or process
 
Back
Top