Jump to content


Photo

OpenPli 3.0-dm800se-can't start gbox


  • Please log in to reply
40 replies to this topic

Re: OpenPli 3.0-dm800se-can't start gbox #41 alsat1

  • Senior Member
  • 221 posts

+1
Neutral

Posted 28 October 2012 - 20:29



Well,after 1 day of running gbox I tried today morning restart gbox with kerven script on pli 3.0 by standard softcam setup on image and again it seems like nothing happend,no making restart,also if I try swith to softcam:none,gbox still runnning.
Only full restart help and then I can again start,restart,stop gbox via softcam setup.
Its looking like nothnig want kill gbox after longer time of run,only by telnet is possible,now I testing this script:

CAMNAME="Gbox806"
remove_tmp () {
rm -rf /tmp/ecm.info /tmp/pid.info /tmp/*gbox* /tmp/*.onl
}
case "$1" in
start)
remove_tmp
exec start-stop-daemon -S -b -x /usr/bin/gbox &
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/gbox &
touch /tmp/gbox.kill
killall -9 gbox
;;
restart|reload)
$0 stop
sleep 3
$0 start
;;
version)
echo "806"
;;
info)
echo "gbox 806"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0

Only I have that problem or somebody else?Best regards.


Hi, I have a similar problem except that I do not use Gbox but Oscam.
These same symptoms as in you.

my *sh to restart/stop oscam-unstable.

#!/bin/sh

case "$1" in
start)
ulimit -s 512
exec start-stop-daemon -S -x /usr/bin/oscam-unstable -- -b -r 2 -c /etc/tuxbox/config/oscam-unstable
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/oscam-unstable &
sleep 2
killall -9 oscam-unstable 2>/dev/null
sleep 2
rm -rf /tmp/.oscam
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "1.20"
;;
info)
echo "oscam-unstable"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0


So thats looking like the problem is in image,mayby other users with other softcams have the same problem,if yes please report here so mayby then team pli will check that.I remember I had the same problem on pli 2.1 but there I was able to restart gbox via ppanels-softcam setup-here on pli 3.0 option "restart aktiv softcam"on ppanel not doing anything.Regards.



Did any one has solved this couse as we see not only me have that problem.Softcam Setup dont stoping-restarting gbox or oscam after longer time of run.Only reboot of image helping or command in telnet.

here are 2 scripts and they are working but as I said only for some time,after longer run of pli 3.0 on my dm800se I cant stop or restart gbox:

#!/bin/sh
case "$1" in
start)
sleep 1 ; start-stop-daemon -S -b -x /usr/bin/gbox
;;
stop)
touch /tmp/gbox.kill
killall -9 gbox
;;
restart|reload)
$0 stop
sleep 3
$0 start
;;
version)
echo "02.2A"
;;
info)
echo "gbox 02.2A"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0

CAMNAME="Gbox806"
remove_tmp () {
rm -rf /tmp/ecm.info /tmp/pid.info /tmp/*gbox* /tmp/*.onl
}
case "$1" in
start)
remove_tmp
exec start-stop-daemon -S -b -x /usr/bin/gbox &
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/gbox &
touch /tmp/gbox.kill
killall -9 gbox
;;
restart|reload)
$0 stop
sleep 3
$0 start
;;
version)
echo "806"
;;
info)
echo "gbox 806"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0

is this softcam setup problem or internal in image?


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users