Problems with Oscam Scripts/Crontab

There are 26 replies in this Thread which was already clicked 5,282 times. The last Post () by pari.

  • now i have posted about a issule of my oscam each morning rebooting but not restarting, we know kill and ocam -b works


    i removed the kill and reboot from the cronjob last night and this morning, everything was ok, i mean no lock up


    what is the best way to try and reinstall it?


    save all my cong server user files ect?


    as i tried for the whole of monday to sort out the thing and got no where


  • just gone to usr/bin/ and i dont have a fiel called oscam at all????? i have oscam running lol somehow but got isules with it checking for updates in the morning so want to replace update or restall it?

  • something tell me....and your problems tell me that your oscam is in a different place?


    This may have been the cause of Oscam not starting on your Crontab?


    look in emu/oscam i wonder if its there?



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • correct, emu/oscam/ has one file, called oscam


    should i moved? or try and solve this one

  • i think.....if you move it, it may fook up!


    Try renaming the folder list in crontabs to show the correct path.....i think that's why it wasn't restarting when killed!



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • Seamouse,


    1st check that the folder format for crontab to start Oscam is the same?


    The problem is obviously with one of those commands!


    Upgrade/Downgrade Oscam is being talked about in another post of which you are participating in


    http://linuxsat-support.com/os…latest-version-oscam.html



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • ok so my cron job was like this




    after your help and your patients with the dumb guy lol


    we proved that kill kills oscam and oscam -b brings it back ok, now after following the post


    http://linuxsat-support.com/os…update-script-ubuntu.html


    i added
    01 04 * * * root /var/local/bin/oscam_update.sh ,well made it 11 04 * * * root /var/local/bin/oscam_update.sh to give it 10 mins to set its self. there is a folder and that file there.


    so where would i change edits to check emu folder? i still think its the other script thats doing the problem after it reboots, as manually its ok
    just when it goes for a update

  • Seamouse,


    Keep everything Oscam Script or Crontab releated in this post buddy, the other Thread was for Oscam Latest Files!


    I would try this, you say that Oscam isn't present in /usr/local/bin ???


    if not then try changing this line


    59 03 * * * root /usr/local/bin/oscam -b


    to


    59 03 * * * root /emu/oscam/oscam -b


    Give that a go....perhaps set time for next hour and see if it works!


    I don't like getting into things without having the complete understanding of everything but that seemed to stand out?



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • Got a hec of a lot of files e.t.c in there bro! may want to look at cleaning those out e.t.c


    see my setup has everything in /emu/oscam


    my script calls /emu/oscam/oscam.x86


    and it works fine?


    You don't seem to have Oscam.x86 in that location??


    Don't want to start misleading you though? Different Setup's mean different things!



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • So now your jumping onto another issue/topic!


    Seamouse lets try and get this issue sorted first......i doubt it would be an Oscam Verison problem anyway!


    Check /emu or /emu/oscam is there an Oscam file present there?


    I think your script is looking to open oscam from a location where it doesn't exist!


    Lets conquer one problem before trying to do something else as all the mixup/files e.t.c doesn't help!


    And as much as it would be best to sort this issue....why not restart it manually...when up earlier or up late one night! Just a thought if we cant get this sorted!



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • emu has 4 folders :


    cccam
    log
    oscam
    script


    in emu/oscam is a file called oscam 900k?

  • so without being blunt bro!


    The server is looking for a file that isn't present in the location given in the script/crontab?


    What would you do next?



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • lol change the path to it :)


    bit nothing asked for oscam in that cronjobs?


    be as blunt as u like :)


    still no oscam.x86 anywhere

  • Now your pulling my leg!


    The original problem bearing in mind your server is up and running and sharing and the only problem is the crontab that kills and restarts oscam?????


    59 03 * * * root /usr/local/bin/oscam -b


    This line here is the problem......its not starting Oscam because there is no Oscam file in this location? or not that was on the image you showed? You have Oscam1 and everything other Oscam apart from Oscam or Oscam.x86?


    change the location to the oscam file to emu/oscam/oscam -b


    And test to see if that works....e.g change time to 30 14 and see if it closes and restarts at 14:30 ok? if it has your problem solved and onto the next of which im sure there will be many lol!


    Change the oscam kill all line time to 25 14 so it kills oscam before hand!


    Its all about trying and testing mate....then come back and say i've tried this and it didn't work....not just here's my files mate what's wrong!



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • Quote

    i did the


    Automated Oscam/CCcam 2.1.3 Install Package For Debian 6


    but used it on Ubuntu


    m8, your auto-install is messed up. It looks like your folder structures do not match up with your scripts & crontab, etc. Id back up all oscam & cccam configs and start from scratch with an auto cccam/oscam install. You might sort this problem only to find more broken links in scripts and settings..
    I made this tutorial as easy as possible to follow if you go down that route..
    http://linuxsat-support.com/li…-1-3-install-package.html
    If you dont have a x64 Bit PC then there is an auto-install for x32 Bit on post 13 of the thread




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.


  • will try now, as was out set for 41 17 to kill and 43 17 to restart

Your resource for OSCam softcam

Find configs, downloads, tutorials, and support for setting up and optimizing this open-source card server with wide protocol compatibility. Master the versatile OSCam softcam. Access support, configs, tutorials, and downloads for open-source card sharing and multi-protocol server management.