root@muta:~# bash -x /etc/init.d/oscam start
+ . /lib/lsb/init-functions
+++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
++ . /lib/lsb/init-functions.d/20-left-info-blocks
++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
++ '[' -r /lib/lsb/init-functions.d/40-systemd ']'
++ . /lib/lsb/init-functions.d/40-systemd
+++ _use_systemctl=0
+++ '[' -d /run/systemd/system ']'
+++ '[' -n '' ']'
+++ '[' 1349 -ne 1 ']'
+++ '[' -z '' ']'
+++ '[' -z '' ']'
+++ case $(readlink -f "$0") in
++++ readlink -f /etc/init.d/oscam
+++ _use_systemctl=1
+++ prog=oscam
+++ service=oscam.service
++++ systemctl -p CanReload show oscam.service
+++ '[' CanReload=no = CanReload=no ']'
+++ '[' start = reload ']'
+++ '[' 1 = 1 ']'
+++ set +e
+++ set +u
+++ '[' xstart = xstart -o xstart = xstop -o xstart = xrestart -o xstart = xreload -o xstart = xforce-reload -o xstart = xstatus ']'
+++ systemctl_redirect /etc/init.d/oscam start
+++ local s
+++ local rc
+++ local prog=oscam
+++ local command=start
+++ case "$command" in
+++ s='Starting oscam (via systemctl)'
+++ service=oscam.service
++++ systemctl -p LoadState show oscam.service
+++ state=LoadState=loaded
+++ '[' LoadState=loaded = LoadState=masked ']'
+++ '[' start = status ']'
+++ log_daemon_msg 'Starting oscam (via systemctl)' oscam.service
+++ '[' -z 'Starting oscam (via systemctl)' ']'
+++ log_daemon_msg_pre 'Starting oscam (via systemctl)' oscam.service
+++ log_use_fancy_output
+++ TPUT=/usr/bin/tput
+++ EXPR=/usr/bin/expr
+++ '[' -t 1 ']'
+++ '[' xxterm '!=' x ']'
+++ '[' xxterm '!=' xdumb ']'
+++ '[' -x /usr/bin/tput ']'
+++ '[' -x /usr/bin/expr ']'
+++ /usr/bin/tput hpa 60
+++ /usr/bin/tput setaf 1
+++ '[' -z ']'
+++ FANCYTTY=1
+++ case "$FANCYTTY" in
+++ true
+++ echo -n '[....] '
[....] +++ '[' -z oscam.service ']'
+++ echo -n 'Starting oscam (via systemctl): oscam.service'
Starting oscam (via systemctl): oscam.service+++ log_daemon_msg_post 'Starting oscam (via systemctl)' oscam.service
+++ :
+++ /bin/systemctl start oscam.service
+++ rc=0
+++ '[' start = status ']'
+++ log_end_msg 0
+++ '[' -z 0 ']'
+++ local retval
+++ retval=0
+++ log_end_msg_pre 0
+++ log_use_fancy_output
+++ TPUT=/usr/bin/tput
+++ EXPR=/usr/bin/expr
+++ '[' -t 1 ']'
+++ '[' xxterm '!=' x ']'
+++ '[' xxterm '!=' xdumb ']'
+++ '[' -x /usr/bin/tput ']'
+++ '[' -x /usr/bin/expr ']'
+++ /usr/bin/tput hpa 60
+++ /usr/bin/tput setaf 1
+++ '[' -z 1 ']'
+++ true
+++ case "$FANCYTTY" in
+++ true
++++ /usr/bin/tput setaf 1
+++ RED=''
++++ /usr/bin/tput setaf 2
+++ GREEN=''
++++ /usr/bin/tput setaf 3
+++ YELLOW=''
++++ /usr/bin/tput op
+++ NORMAL=''
+++ /usr/bin/tput civis
+++ /usr/bin/tput sc
+++ /usr/bin/tput hpa 0
+++ '[' 0 -eq 0 ']'
+++ /bin/echo -ne '[ ok '
[ ok +++ /usr/bin/tput rc
+++ /usr/bin/tput cnorm
+++ log_use_fancy_output
+++ TPUT=/usr/bin/tput
+++ EXPR=/usr/bin/expr
+++ '[' -t 1 ']'
+++ '[' xxterm '!=' x ']'
+++ '[' xxterm '!=' xdumb ']'
+++ '[' -x /usr/bin/tput ']'
+++ '[' -x /usr/bin/expr ']'
+++ /usr/bin/tput hpa 60
+++ /usr/bin/tput setaf 1
+++ '[' -z 1 ']'
+++ true
+++ case "$FANCYTTY" in
+++ true
++++ /usr/bin/tput setaf 1
+++ RED=''
++++ /usr/bin/tput setaf 3
+++ YELLOW=''
++++ /usr/bin/tput op
+++ NORMAL=''
+++ '[' 0 -eq 0 ']'
+++ echo .
.
+++ log_end_msg_post 0
+++ :
+++ return 0
+++ return 0
+++ exit 0
root@muta:~#
Posts by muta
-
-
d893c8029e5f6af0cdb0dac.png
after typing that command- - - Updated - - -
#!/bin/sh
# Start/stop the OScam daemon.
#
### BEGIN INIT INFO
# Provides: OScam
# Required-Start: $syslog $network $pcscd
# Required-Stop: $syslog $network $pcscd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and Stop OScam
# Description: OScam init script. This script start and stop OScam.
### END INIT INFO
. /lib/lsb/init-functions
NAME=oscam
DAEMON=/usr/local/bin/$NAME
CONFIG_DIR=/usr/local/etc
PIDFILE=/var/run/oscam.pid
LOG=/var/log/oscam.log
LOGUSR=/var/log/oscamuser.log
LOGCW=/var/log/cw.log
STARTAS="$DAEMON -- -b -c $CONFIG_DIR"
#test -f $DAEMON || exit 0
[ -d $CONFIG_DIR ] || exit 0
echo $NAME
clear_file() {
# Clear log and pid file if exists
if [ -e $PIDFILE ]
then
rm -f $PIDFILE
fi
if [ -e $LOG ]
then
rm -f $LOG
fi
if [ -e $LOGUSR ]
then
rm -f $LOGUSR
fi
if [ -e $LOGCW ]
then
rm -f $LOGCW
fi
}
case "$1" in
start)
clear_file
log_daemon_msg "Starting OScam daemon" "OScam"
start-stop-daemon --start --quiet --exe $DAEMON --startas $STARTAS
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping OScam daemon" "OScam"
start-stop-daemon --stop --quiet --exe $DAEMON
log_end_msg $?
;;
restart)
log_daemon_msg "Restarting OScam daemon" "OScam"
start-stop-daemon --stop --retry 5 --quiet --exe $DAEMON
clear_file
start-stop-daemon --start --quiet --exe $DAEMON --startas $STARTAS
log_end_msg $?
;;
status)
status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
;;
*)
log_action_msg "Usage: /etc/init.d/OScam {start|stop|restart|status}"
exit 2
;;
esac
exit 0- - - Updated - - -
if i dont have this command oscam does not start
/usr/local/bin/oscam -b -r2
-
after changing getting this after command
- - - Updated - - -
/usr/local/bin/oscam -b -r2
found this command on google after searching for "start oscam manually" good news is its now running but i have to put that command every time i switch server on.anyway of making it run auto? the other thing is my client is not connecting.
user config [account]
user = test
pwd = password
uniq = 3
au = whitecard
group = 1,2,3C: dyndns.org 12222 test password
-
[global]
serverip = 192.168.1.20
nice = -1
WaitForCards = 1
saveinithistory = 1
[cccam]
port = 12222
reshare = 1
version = 2.3.0
updateinterval = 900
# logging
pidfile = /var/run/oscam.pid
logfile = /var/log/oscam.log
usrfile = /var/log/oscamuser.log
cwlogdir = /var/log/cw.log
maxlogsize = 1000
# web interface
[webif]
httpport = 1234
httpuser = oscam
httppwd = password
httpallowed = 0.0.0.0-255.255.255.255- - - Updated - - -
thats after the command
-
05945e5781.png
sorry i am very new to this stuff what im doing wrong i dont know -
no its not working.when i switch on server it goes auto exit
- - - Updated - - -
73763521f32.png8583ced4e46620c663da1b531.png
- - - Updated - - -
oscam starts then auto exit
-
Sent from my iPhone using Tapatalk
-
If I start oscam this what I get. No I cannot connect to webif. That code to see listening ports I seem to be getting it wrong.
Sent from my iPhone using Tapatalk
-
oscam fails to start
need some advice please. my debian server oscam is refusing to start. all is upto date.root@muta:~# ps x
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2]
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:00 [kworker/0:0]
5 ? S 0:00 [kworker/u:0]
6 ? S 0:00 [migration/0]
7 ? S 0:00 [watchdog/0]
8 ? S< 0:00 [cpuset]
9 ? S< 0:00 [khelper]
10 ? S 0:00 [kdevtmpfs]
11 ? S< 0:00 [netns]
12 ? S 0:00 [sync_supers]
13 ? S 0:00 [bdi-default]
14 ? S< 0:00 [kintegrityd]
15 ? S< 0:00 [kblockd]
16 ? S 0:00 [kworker/0:1]
17 ? S 0:00 [khungtaskd]
18 ? S 0:00 [kswapd0]
19 ? SN 0:00 [ksmd]
20 ? S 0:00 [fsnotify_mark]
21 ? S< 0:00 [crypto]
24 ? S 0:00 [kworker/0:2]
110 ? S 0:00 [khubd]
129 ? S< 0:00 [firewire]
130 ? S< 0:00 [ata_sff]
133 ? S 0:00 [scsi_eh_0]
134 ? S 0:00 [scsi_eh_1]
135 ? S 0:00 [kworker/u:1]
136 ? S 0:00 [kworker/u:2]
137 ? S 0:00 [scsi_eh_2]
138 ? S 0:00 [scsi_eh_3]
139 ? S 0:00 [kworker/u:3]
140 ? S 0:00 [kworker/u:4]
175 ? S 0:00 [jbd2/sda1-8]
176 ? S< 0:00 [ext4-dio-unwrit]
311 ? Ss 0:00 udevd --daemon
374 ? S 0:00 udevd --daemon
375 ? S 0:00 udevd --daemon
403 ? S 0:00 [scsi_eh_4]
404 ? S 0:00 [usb-storage]
426 ? S< 0:00 [hd-audio0]
432 ? S< 0:00 [ttm_swap]
448 ? S 0:00 [kworker/0:3]
452 ? S 0:00 [kworker/0:4]
453 ? S 0:00 [kworker/0:5]
457 ? S 0:00 [kworker/0:6]
1227 ? S 0:00 [jbd2/sda9-8]
1228 ? S< 0:00 [ext4-dio-unwrit]
1232 ? S 0:00 [jbd2/sda8-8]
1233 ? S< 0:00 [ext4-dio-unwrit]
1234 ? S 0:00 [jbd2/sda5-8]
1235 ? S< 0:00 [ext4-dio-unwrit]
1236 ? S 0:00 [jbd2/sda6-8]
1237 ? S< 0:00 [ext4-dio-unwrit]
1513 ? Ss 0:00 /sbin/rpcbind -w
1549 ? S< 0:00 [rpciod]
1551 ? S< 0:00 [nfsiod]
1558 ? Ss 0:00 /usr/sbin/rpc.idmapd
1827 ? Sl 0:00 /usr/sbin/rsyslogd -c5
1851 ? S 0:00 [flush-8:0]
1858 ? Ss 0:00 /usr/sbin/acpid
1894 ? Ss 0:00 /usr/sbin/apache2 -k start
2019 ? Ss 0:00 /usr/sbin/cron
2355 ? Sl 0:00 /usr/sbin/pcscd
2369 ? Ss 0:00 /usr/sbin/sshd
2394 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
2395 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
2396 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
2397 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
2398 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
2399 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
2400 ? Ss 0:00 sshd: root@pts/0
2402 pts/0 Ss 0:00 -bash
2495 ? Ss 0:00 /usr/local/bin/oscam -b -c /usr/local/etc
2498 ? S<l 0:00 /usr/local/bin/oscam -b -c /usr/local/etc
2541 pts/0 R+ 0:00 ps x
root@muta:~# /etc/init.d/oscam status
oscam
[FAIL] oscam is not running ... failed!please advice
thxSent from my iPhone using Tapatalk
-
need some advice please. my debian server oscam is refusing to start. all is upto date.
root@muta:~# ps x
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2]
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:00 [kworker/0:0]
5 ? S 0:00 [kworker/u:0]
6 ? S 0:00 [migration/0]
7 ? S 0:00 [watchdog/0]
8 ? S< 0:00 [cpuset]
9 ? S< 0:00 [khelper]
10 ? S 0:00 [kdevtmpfs]
11 ? S< 0:00 [netns]
12 ? S 0:00 [sync_supers]
13 ? S 0:00 [bdi-default]
14 ? S< 0:00 [kintegrityd]
15 ? S< 0:00 [kblockd]
16 ? S 0:00 [kworker/0:1]
17 ? S 0:00 [khungtaskd]
18 ? S 0:00 [kswapd0]
19 ? SN 0:00 [ksmd]
20 ? S 0:00 [fsnotify_mark]
21 ? S< 0:00 [crypto]
24 ? S 0:00 [kworker/0:2]
110 ? S 0:00 [khubd]
129 ? S< 0:00 [firewire]
130 ? S< 0:00 [ata_sff]
133 ? S 0:00 [scsi_eh_0]
134 ? S 0:00 [scsi_eh_1]
135 ? S 0:00 [kworker/u:1]
136 ? S 0:00 [kworker/u:2]
137 ? S 0:00 [scsi_eh_2]
138 ? S 0:00 [scsi_eh_3]
139 ? S 0:00 [kworker/u:3]
140 ? S 0:00 [kworker/u:4]
175 ? S 0:00 [jbd2/sda1-8]
176 ? S< 0:00 [ext4-dio-unwrit]
311 ? Ss 0:00 udevd --daemon
374 ? S 0:00 udevd --daemon
375 ? S 0:00 udevd --daemon
403 ? S 0:00 [scsi_eh_4]
404 ? S 0:00 [usb-storage]
426 ? S< 0:00 [hd-audio0]
432 ? S< 0:00 [ttm_swap]
448 ? S 0:00 [kworker/0:3]
452 ? S 0:00 [kworker/0:4]
453 ? S 0:00 [kworker/0:5]
457 ? S 0:00 [kworker/0:6]
1227 ? S 0:00 [jbd2/sda9-8]
1228 ? S< 0:00 [ext4-dio-unwrit]
1232 ? S 0:00 [jbd2/sda8-8]
1233 ? S< 0:00 [ext4-dio-unwrit]
1234 ? S 0:00 [jbd2/sda5-8]
1235 ? S< 0:00 [ext4-dio-unwrit]
1236 ? S 0:00 [jbd2/sda6-8]
1237 ? S< 0:00 [ext4-dio-unwrit]
1513 ? Ss 0:00 /sbin/rpcbind -w
1549 ? S< 0:00 [rpciod]
1551 ? S< 0:00 [nfsiod]
1558 ? Ss 0:00 /usr/sbin/rpc.idmapd
1827 ? Sl 0:00 /usr/sbin/rsyslogd -c5
1851 ? S 0:00 [flush-8:0]
1858 ? Ss 0:00 /usr/sbin/acpid
1894 ? Ss 0:00 /usr/sbin/apache2 -k start
2019 ? Ss 0:00 /usr/sbin/cron
2355 ? Sl 0:00 /usr/sbin/pcscd
2369 ? Ss 0:00 /usr/sbin/sshd
2394 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
2395 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
2396 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
2397 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
2398 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
2399 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
2400 ? Ss 0:00 sshd: root@pts/0
2402 pts/0 Ss 0:00 -bash
2495 ? Ss 0:00 /usr/local/bin/oscam -b -c /usr/local/etc
2498 ? S<l 0:00 /usr/local/bin/oscam -b -c /usr/local/etc
2541 pts/0 R+ 0:00 ps x
root@muta:~# /etc/init.d/oscam status
oscam
[FAIL] oscam is not running ... failed!please advice
thx -
some have prob read another forum someone has stated they have HD miovies working again, and will release in 3-5 days, all from a xml file??? ........ ill eat my words if and a big IF it is true and working
this is not jokes section but must admit very funny -
suprised sports still 100%
-
-
internet in Kenya is not capable its very slow. I don't think if its possible to share dstv or ad cards as they are both paired to receiver. any experts to correct me?
-
Is it possible to get signal of 7w Arica beam in east London ? If yes, what size dish is required? Thanks.
Sent from my iPhone using Tapatalk - now Free
-
You need to read my friend. Check all tuts that say how to... First try and understand what is cs. I suggest cccam is the easiest of all for a newbie.