riavvio oscam help

There are 9 replies in this Thread which was already clicked 1,071 times. The last Post () by jooe007.

  • hello i have a problem with my pc with ubuntu 12:04 server restart does not restart the oscam with this I have to manually restart the terminal command sudo / etc / init.d / cardserver.sh and start oscam restarts if I try to stop it I always daterminale from / etc / init.d $ sudo / etc / init.d / stop cardserver.sh
    Stop Oscam Server
    / etc / init.d / cardserver.sh: 10: / etc / init.d / cardserver.sh: killall: not found I get a written message command failed with error code 127
    thanks

    • Official Post

    Did you install your server with a guide from here ? If so please link us to the guide..


    Do you know which folder the oscam binary is located ? Run this in terminal to find it, then paste the output here;


    Code
    find / -name oscam


    FTP to /etc/init.d > Open cardserver.sh file and paste the contents here..


    FTP to /etc/ Open rc.local file and paste the contents here..

  • oscam


    Code
    /usr/bin/oscam


    cardserver.sh



    rc.local



    thanks

    • Official Post

    Add /usr/bin/oscam -b to rc.local file and reboot. Oscam will work at startup now..


    Run these in terminal to stop/start oscam..


    Stop oscam:

    Code
    killall -9 oscam


    Start oscam:

    Code
    /usr/local/bin/oscam -b
  • I changed rc.local


    Code:


    #!/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.


    /usr/bin/oscam -b


    exit 0



    reboot pc not start oscam


    only with the command
    / usr / bin / oscam-b
    running
    then after the boot command I run the stop command and I always get the error 127 at line 9: killal comand not found


    stop oscam
    killall -9 oscam


    error


    /etc$ killall -9 oscam
    -bash: line 9: killall: command not found

  • hello the only command that takes to boot
    / usr / bin / oscam-b
    and
    sudo / etc / init.d / start cardserver.sh
    to make executable scripts I gave the command
    sudo update-rc.d defaults cardserver.sh
    while to stop and restart using the different commands
    sudo / etc / init.d / stop cardserver.sh
    and
    killall-w oscam> & 2
    give error
    the script does not run with stop and restart only with the start of work


    thanks

  • thanks
    I have this problem that is described there only in a pc with ubuntu 12:04 server 64 bet while the other server always with ubuntu 12:04 32 bet with the script and stoppre cardserver.sh can not start without problems and also the part oscam every time you restart the PC I thought that the problem depended on some library
    I'll try again with your procedure
    thanks

Your resource for Linux TV servers and smart card readers.

Find software downloads, drivers, and support for server setup and card-sharing configurations. Set up a Linux-based TV server. Access downloads and support for server software and USB card readers for advanced TV reception and management

Participate now!

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