Ga naar inhoud


shutdown probleem oscam


Aanbevolen berichten

Oscam draait hier op een linux server alles draait maar als ik via de webinterface iets aanpast dan daarna op shutdown dan herstart oscam niet meer dan moet ik hem handmatig opstarten via de ssh,ken iemand dit probleem ?

Dreambox DM8000HD - DM800HD - DM800SE-CABLE - DM500HD - OpenPli
Wavefrontier T90 - 5W - 0,8W - 4,8E - 9,0E - 13E - 19,2E - 23,5E - 28,2E

Link naar reactie
Delen op andere sites


Hier in het begin gehad, maar na 10 keer rebooten was het gedaan, daarna ging het goed

You can hate me. You can go out there and say anything you want about me, but you will love me later because I told you the truth.

The truth is still the truth even if no one believes it. A lie is still a lie, even if everyone believes it.
Link naar reactie
Delen op andere sites

  • 4 weken later...

dit probleem had ik ook

 

ff speuren op internet,en ben toen dit tegengekomen,en het werkt uitstekend.

 

Hi,

 

heres the simple way to keep OSCam alive:

 

example path info:

/emu/oscam/ = folder where oscam run

/var/etc/ = oscam config folder

 

1. login as root in the terminal console.

2. create following script (example: oscam.sh) with vi, nano or whatever else:

 

#!/bin/sh

 

while [ 1 ]

do

PROZESSES=`ps | grep oscam | grep -v "grep oscam" | sed -n 's/^[[:space:]]*//p' | cut -f 1 -d " "`

 

if [ "$PROZESSES" = "" ]

then

echo $(date) "OSCam restarted in 5 sec." >> /var/log/oscam_watchdog.log

sleep 4

killall -s KILL oscam

sleep 1

/emu/oscam/oscam -b -c /var/etc -d 1

echo $(date) "OSCam started" >> /var/log/oscam_watchdog.log

sleep 45 # wait time to continue to check in seconds. Is necesary to give him time to start oscam complete

fi

 

sleep 15 # check time intervall in seconds. Can be like you want more. Depend of your cpu-power of the machine

 

done

 

exit 0

 

5. ~# chmod 755 ./oscam.sh

6. ~# cp -f /root/oscam.sh /emu/oscam/oscam.sh

6. run the created script with: ~# /emu/oscam/oscam.sh &

7. finish

 

Alternative you can add the oscamscript path in the /etc/rc.local startup file for bootup:

 

 

.

.

.

sleep 15 # time wait. Can be more, depend of your machine power and all others startup process.

/emu/oscam/oscam.sh &

 

In that case an additional startscript for oscam is not nececary !!!

Link naar reactie
Delen op andere sites

Maak een account aan of log in om te reageren

Je moet een lid zijn om een reactie te kunnen achterlaten

Account aanmaken

Registreer voor een nieuwe account in onze community. Het is erg gemakkelijk!

Registreer een nieuwe account

Inloggen

Heb je reeds een account? Log hier in.

Nu inloggen
×
×
  • Nieuwe aanmaken...