no idea how to solute it ? :(
HOW TO - CCcam+Oscam Automated Installation for Ubuntu
-
- Article
- alamski
- Thread is marked as Resolved.
-
-
What port did you use the other day the you had the cccam and oscam webinterface workings at the same time it does not seem to matter if your using debian or ubuntu this is not the problem its your ports.
-
64700 but it still not working i had tryed
-
Hi, everything has been running well but i have hit a snag. The LogCleanUp.sh doesn't work. I now have huge log files that I can't clean. if anyone can look at the files below and see if they can spot anything wrong it would be a big help.
Sat Jun 23 04:03:01 BST 2012
No warning text present?!?!Nothing to remove
Check File present!
Check File present!Sat Jun 30 04:03:01 BST 2012
No warning text present?!?!Nothing to remove
Check File present!
Check File present!Sat Jul 7 04:03:01 BST 2012
No warning text present?!?!Nothing to remove
Check File present!
Check File present!#!/bin/sh
# Script to cleanup log files
# Originally written by: Youknowhoo (R.I.P) scripts combined by A.OWNER=xxxxxx
TARGETDIR_1=/tmp
TARGETDIR_2=/var/cccamlog
FILE_1=warning.txt
FILE_2=cccam.check
FILE_3=oscam.check
FILE_4=CCcam.log
FILE_5=Oscam.logecho && date
if test -f $TARGETDIR_1/$FILE_1 ; then
echo "warning text present!"
chown $OWNER $TARGETDIR_1/$FILE_1
rm $TARGETDIR_1/$FILE_1
else
echo "No warning text present?!?!Nothing to remove"
fiif test -f $TARGETDIR_2/$FILE_2 ; then
echo "Check File present!"
chown $OWNER $TARGETDIR_2/$FILE_2
rm $TARGETDIR_2/$FILE_2
else
echo "No Check File present?!?! Nothing to remove"
fi
if test -f $TARGETDIR_2/$FILE_3 ; then
echo "Check File present!"
chown $OWNER $TARGETDIR_2/$FILE_3
rm $TARGETDIR_2/$FILE_3
else
echo "No Check File present?!?! Nothing to remove"
fi
if test -f $TARGETDIR_2/$FILE_4 ; then
echo "CCcam Debug Log precent!"
chown $OWNER $TARGETDIR_2/$FILE_4
rm $TARGETDIR_2/$FILE_4if test -f $TARGETDIR_2/$FILE_5 ; then
echo "Oscam Debug Log precent!"
chown $OWNER $TARGETDIR_2/$FILE_5
rm $TARGETDIR_2/$FILE_5
else
echo "No! CCcam/Oscam Debug file present, CCcam/Oscam did run perfectly !!"
fi
exit# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#56 03 * * * root killall CCcam.x86
56 03 * * * root killall oscam
57 03 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
58 03 * * * root /var/script/keyupdater.sh
59 03 * * * root /usr/local/bin/CCcam.x86
59 03 * * * root /usr/local/bin/oscam -b
*/5 * * * * root /var/script/CCcamCheck.sh
*/5 * * * * root /var/script/OscamCheck.sh
03 04 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log -
The original post does not mention this but you need to change the owner name in the LogCleanUp.sh file during install.
Bash#!/bin/sh # Script to cleanup log files # Originally written by: Youknowhoo (R.I.P) scripts combined by A. OWNER=[COLOR=#ff0000]Name used during install[/COLOR]
If you missed this out do,
This should solve your problem, let us know please.
-
I have used DM 500s for five years and I use CCCAM. I have heard if OScam is better than when I use cccam, is this real?
I am new member here, and its first post. thank you all.......... -
I have used DM 500s for five years and I use CCCAM. I have heard if OScam is better than when I use cccam, is this real?
I am new member here, and its first post. thank you all..........Go and make an introduction then post your question in the correct section and you will more than likely get a responce, your question has nothing to do with this topic.
-
Thanks for the suggestion, I already have the correct username but the second part didn't help, same error.
Edit
getting a different error now, before it was "no check file present???nothing to removeThis time its
no warning text present?/nothing to remove
check file present
check file present
/var/script/LogCleanUp.sh 54: Syntax error: end of file unexpected (expecting fi -
plz help me i am use cccam + oscam run ubuntu all days very nice but end of month only 5 day again and again reboot plz help wait answer thanks
-
HI guys need some help tried to install this script on server 10.10 which had cccam running i have run script got couple errors it rebooted and all files where they should be. i can see cccam in 16001 but can not see oscam 8888
-
check in usr/local/etc
does your oscam.conf have the following instructions ?
[webif]
httpport = 8888
httpuser = root
httppwd = admin
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,0.0.0.0-255.255.255.255check the httpport to start with it could be different ?
-
My apologies
just quick quistion might be wrong place but i downloaded this file yesterday need to replace my existing Oscam how do i unstall Oscam Automated Installation for Ubuntu to install CCcam+Oscam Automated Installation for Ubuntu command code please
-
Hi I run the command say permission Denied I don't understand where am going wrong I did change owner name
-
your not running it as administrator, when you fire up terminal type in command 'sudo -i' enter your root password, then run command.
-
master G
Added the Label Article -
master G
Moved the thread from forum Linux Server and USB Smart Card Reader Tutorials to forum Linux Server Support.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!