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
riavvio oscam help
- jooe007
- Thread is marked as Resolved.
-
-
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;
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
cardserver.sh
Bash
Display More#!/bin/sh -e case "$1" in start) echo "Avvio Oscam Server" /usr/bin/oscam -b >&2 sleep 5 >&2 ;; stop) echo "Arresto Oscam Server" killall -w oscam >&2 ;; restart) echo "Riavvio Oscam Server" killall -w oscam >&2 sleep 30 /usr/bin/oscam -b >&2 sleep 5 >&2 ;; *) echo "Usage: $0 {start|stop|restart}" >&2 exit 1 ;; esacrc.local
Bash
Display More#!/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. exit 0thanks
-
Add /usr/bin/oscam -b to rc.local file and reboot. Oscam will work at startup now..
Bash
Display More#!/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. [COLOR='#FF0000']/usr/bin/oscam -b[/COLOR] exit 0Run these in terminal to stop/start oscam..
Stop oscam:
Start oscam:
-
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 foundstop oscam
killall -9 oscamerror
/etc$ killall -9 oscam
-bash: line 9: killall: command not found -
-
stop oscam
killall -w oscam >&2
/etc/init.d$ killall -w oscam >&2
-bash: line 6: 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 workthanks
-
If you want a tried and tested, hassle free server i would try this one ==> Tutorial - Ubuntu 11.10, 12.xx, 13.04 x32/x64 - Automated Oscam/CCcam 2.1.3 Install
-
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
