suddenly oscam stop running(urgent help require)

There are 10 replies in this Thread which was already clicked 3,179 times. The last Post () by sunlight786.

  • hi, today first time i notice my cccam server stop itself with no reason. well i don't know yet why it stop.as i was on oscam web page and all of sudden page show not found . i checked my net connection which worked perfect the i try log in again and it keep showing page not found.so i open putty and rype these following commands


    pkill oscam
    then
    /var/oscam/oscam.x86 -b -c /var/etc


    after them command i tried and got my page back.


    can some one help me out if this happened again what can i do?
    what i can install more so if its happened then oscam restart again itself with out giving me any problem.
    thanks for help

  • hello master G can you please alter the things and post the right files to me so i can just a\dd and chomd. your tut is very good but i am not feel comfertable to edite things.
    i have install oscam on ubuntu 10.04 server addition


    1-my oscam binery is in /var/oscam/oscam.x86
    2-my oscam config is in /var/etc/oscam.conf with other files
    and here is my config


    [global]
    Nice = -1
    LogFile = stdout
    MaxLogSize = 102400
    Sleep = 0
    FallbackTimeout = 2
    ClientTimeout = 5
    ClientMaxIdle = 120
    CacheDelay = 1
    WaitForCards = 1
    PreferLocalCards = 1
    saveinithistory =1
    readerautoloadbalance=1
    lb_mode = 2



    and this is my rc.local file


    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    sleep 30
    /var/oscam/oscam.x86 -b -c /var/etc
    exit 0



    can you please edite the right stuff and post to me please.


    also i d,nt want my hdd fill with all log files.........etc

    • Official Post

    Create the script;


    Code
    vi /emu/oscam/oscript


    and then paste this text to the file:



    Code
    chmod 755 /emu/oscam/oscript


    Restart oscam.

  • can i use the tut just from step3?


    as i think all i need is oscam check script so if the oscam stop or freez for some reason then the script can make sure to make it run and it can be continuing run on background every 5 minut.


    the only thing i am not sure with this log file as i d,nt want to filled my hdd with error logs.


    also as this my original rc.local


    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    sleep 30
    /var/oscam/oscam.x86 -b -c /var/etc
    exit 0


    now where about i need add this line? /bin/oscript start &


    ?

  • i am sorry to if i misunderstand mate.


    can you please explain a bit more deeply.


    can i follow this tut from step3 ?
    from step 3 if i add every thing will it work as oscam-check script wich will make sure my oscam run all the time?
    after adding this into my config
    logfile = /var/log/oscam.log


    my hdd will not full fill with logs?

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!