PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ufs 910 incubuscamd cam[di:1]: Demux timeout. Restarting filter. Lösung!



Boyz
05.07.09, 14:24
Hallo zusammen,
ich hab nun nach langem ausprobieren und viel Zeit investieren geschafft incubuscamd erfolgreich zum laufen zu kriegen.
Ich hatte das Problem, wenn ich von pay tv auf free tv geschaltet habe , das sich der Incubuscamd hängen bleibt und in der Console folgende Fehlermeldung auftaucht :
cam[di:1]: Demux timeout. Restarting filter...
Und wenn man weiter Kanal gewechselt hat bleibt der ganze Receiver hängen und man kann nichts mehr machen außer strom rauszuziehen.
Um das Problem zu vermeiden habe ich ein script geschrieben, das mit der Hilfe von cron jede minute die Logdatei nach diese Fehlermeldung überprüft, wenn diese Fehlermeldung auftaucht wird der Incubuscamd automatisch neugestartet.
:icon_thumright:
Incubuscamd how to automatic restart
nithazscript
1. download the nithazscript.sh and copy to your /var/keys folder.
2. in Incubuscamd config you have to enable log to file option!

log_to_file=1
logfile_name=/var/keys/incubusCamd.log
3. setup crond

ufs910:~# cd
ufs910:~# mkdir -p /var/spool/cron/crontabs
ufs910:~# crond
ufs910:~# echo "* * * * * /var/keys/nithazscript.sh >> $HOME/cron_work.log" > crontab.file
ufs910:~# crontab crontab.file
ufs910:~# touch cron_work.log
nithazscriptV2
- nithazscriptV2 works without crond!
- it checks every second the log file.

ufs910:~# sh nithazscriptV2.sh &

nithazscriptV2 how to start with incubuscamd
edit the incubusCamd.sh4_e2.emu script in /var/etc/ folder
and add this line startcam =/var/emu/incubusCamd.sh4_e2 && /var/keys/nithazscriptV2.sh &

Now if you start incubuscamd via Softcam Panel nithazscript will start together.

Gruß
Boyz
ps: ich benutze zurzeit die neuste Version 0.86.

zmelkoow
06.07.09, 14:06
Hallo zusammen,
ich hab nun nach langem ausprobieren und viel Zeit investierung geschafft incubuscamd erfolgreich zum laufen zu kriegen.
Ich hatte das Problem, wenn ich von pay tv auf free tv geschaltet habe , das sich der Incubuscamd hängen bleibt und in der Console folgende Fehlermeldung auftaucht :
cam[di:1]: Demux timeout. Restarting filter...
Und wenn man weiter Kanal gewechselt hat bleibt der ganze Receiver hängen und man kann nichts mehr machen außer strom rauszuziehen.
Um das Problem zu vermeiden habe ich ein script geschrieben, das mit der Hilfe von cron jede minute die Logdatei nach diese Fehlermeldung überprüft, wenn diese Fehlermeldung auftaucht wird der Incubuscamd automatisch neusgestartet.
:icon_thumright:
So nun zu meine Frage!
Läuft incubuscamd auf Kathrein ufs 910 mit enigma2 bei jemanden fehlerfrei mit umschaltung von ***** auf freetv und umgekehrt ohne das sich der Receiver hängen bleibt?
Oder hat jemand diese Fehler mit Restarting filter... anders als ich beseitigen können?
Gruß
Boyz
ps: ich benutze zurzeit die neuste Version 0.86.

Hello!

First I apologize to write in English.

I am going to abuse your thread for some other problem.
It seems that Incubus also freezes the reciever if it doesn't get the ECM for some time. Then also only unpluging of the power helps.
So I was thinking if it would be possible to monitor the ecm file in /temp and if it was not changed for some time this script would restart Incubus?
Maybe this could help?

Thank you for your answer.

Boyz
06.07.09, 15:57
Hello!
First I apologize to write in English.
I am going to abuse your thread for some other problem.
It seems that Incubus also freezes the reciever if it doesn't get the ECM for some time. Then also only unpluging of the power helps.
So I was thinking if it would be possible to monitor the ecm file in /temp and if it was not changed for some time this script would restart Incubus?
Maybe this could help?
Thank you for your answer.

Hallo,
i dont know if it would be possible to monitor the ecm file in /temp.
I wrote a script that check the log file every 1minute for timeout and will restart then.
That is the same like what you are thinking.
If the receiver freeze you dont need to unplug the receiver from power you have to wait 1minute and incubuscamd will restart automatic.

zmelkoow
06.07.09, 15:59
Hi again!
Would it be possible to get this script?

THX

Z

Boyz
06.07.09, 17:02
Hi again!
Would it be possible to get this script?
THX
Z

Hi,
check first post!

dreanew
06.07.09, 23:27
hi

I'm very interested by your idea

do you not fear that the file incubuscald.log can become too important ?

Where is the Setup for crond ? (Crond is in /bin/)

thanks for your help

Boyz
06.07.09, 23:36
hi
I'm very interested by your idea
do you not fear that the file incubuscald.log can become too important ?
Where is the Setup for crond ? (Crond is in /bin/)
thanks for your help

Hi,
you dont need to setup crond.
crond should run in the background as daemon thats it.
You have to tip in the console only "crond" then it will run automatic in the background!

dreanew
07.07.09, 00:25
ufs910:/var/keys# ./nithazscript.sh
: not foundipt.sh: line 3: !/bin/sh
grep: /tmp/temp_log: No such file or directory
./nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")

I wrote #!bin/sh

ufs910:/var/keys# ./nithazscript.sh
grep: /tmp/temp_log: No such file or directory
./nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")
:durcheinander-ersta

Boyz
07.07.09, 00:29
ufs910:/var/keys# ./nithazscript.sh
: not foundipt.sh: line 3: !/bin/sh
grep: /tmp/temp_log: No such file or directory
./nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")
I wrote #!bin/sh
ufs910:/var/keys# ./nithazscript.sh
grep: /tmp/temp_log: No such file or directory
./nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")
:durcheinander-ersta

Hi,
you are not using enigma2?
or the script is not executable then type
"chmod +x nithazscript.sh" and try to execute the script with "sh nithazscript.sh"!
before that, be sure that incuscamd is running with log_to_file option!

dreanew
07.07.09, 00:33
i'm with AAF rising sun on USB stick ( enigma2 with AAF2.e in flash)

chmod 755 on nithazscript.sh

ufs910:/var/keys# sh nithazscript.sh
grep: /tmp/temp_log: No such file or directory
nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")

Boyz
07.07.09, 01:22
Hi,
it was working with "AAF-Enterprise_The-next-GenerationV2.2-BA" image!
I will test it tommorow with AAF rising sun image.



i'm with AAF rising sun on USB stick ( enigma2 with AAF2.e in flash)
chmod 755 on nithazscript.sh
ufs910:/var/keys# sh nithazscript.sh
grep: /tmp/temp_log: No such file or directory
nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")

Boyz
07.07.09, 02:08
Hi,
i added new script,
now it should work.



i'm with AAF rising sun on USB stick ( enigma2 with AAF2.e in flash)
chmod 755 on nithazscript.sh
ufs910:/var/keys# sh nithazscript.sh
grep: /tmp/temp_log: No such file or directory
nithazscript.sh: line 15: syntax error: end of file unexpected (expecting "then")

dreanew
07.07.09, 11:55
ok it's better : Thanks a lot. 2 questions :holy:
-
[1]Why do U write this line : " grep -v -i timeout /tmp/temp_log >/var/keys/incubusCamd.log" because don't u have the solution to avoid a too big file ?
-
[2]
ufs910:~# rm /tmp/timeout
rm: cannot remove '/tmp/timeout': No such file or directory
ufs910:~# rm /tmp/temp_log
rm: cannot remove '/tmp/temp_log': No such file or directorywith

ufs910:~# ls -lsa /tmp/t*
8 -rw-r--r-- 1 root root 5177 Jul 7 11:45 /tmp/temp_log
0 -rw-r--r-- 1 root root 0 Jul 7 11:45 /tmp/timeout
thanks a lot for your assistance

Boyz
07.07.09, 12:01
i dont know why you get that error with No such file or directory.
On my kathrein the script is working.
you can comment that line with grep -v -i... i think it would work also without the line.



ok it's better : Thanks a lot. 2 questions :holy:
-
[1]Why do U write this line : " grep -v -i timeout /tmp/temp_log >/var/keys/incubusCamd.log" because don't u have the solution to avoid a too big file ?
-
[2]with
thanks a lot for your assistance

floders
08.07.09, 21:01
wenn du das seriale loggen abschaltest und den kathi neu startest, läuft free-tv ohne probs. irgendwas scheint sich da zu beisen.

ich denke hier muss eine version von incubus her.

weiterhin halte ich es für bedenklich, wenn jemand dein script in der flash-version testet.
evtl. sollte man hier die pfade vorher auf den swap ändern.

gruß floders

Boyz
15.07.09, 00:55
Neue Script hinzugefügt!

Gruß
Boyz

dreanew
15.07.09, 11:46
Everything is ok :15:

dreanew
15.07.09, 11:50
Hello!
First I apologize to write in English.
I am going to abuse your thread for some other problem.
It seems that Incubus also freezes the reciever if it doesn't get the ECM for some time. Then also only unpluging of the power helps.
So I was thinking if it would be possible to monitor the ecm file in /temp and if it was not changed for some time this script would restart Incubus?
Maybe this could help?
Thank you for your answer.
this idea is very interesting because sometimes Incubus stopped without "timeout" in incubus.log :458: and your bash does not run incubusCamd

Boyz
15.07.09, 15:06
this idea is very interesting because sometimes Incubus stopped without "timeout" in incubus.log :458: and your bash does not run incubusCamd

Hallo,
that is same like timeout.
you can find ecm file in /tmp, if the reciever doesn't get the ECM for some time it will write in the log file demux timeout...

regards
Boyz

Boyz
18.07.09, 02:10
how to start nithazscript with incubuscamd
#1 (http://www.spinnes-board.de/vb/showpost.php?p=956894&postcount=1)

crieder
07.08.09, 12:17
Ist das Script jetzt auch mit der Flash-Version verwendbar (wegen temp) ?
Behebt das Script auch die Problematik mit dem sich abschaltendem Cam wenn man Free-TV schaut ?

Boyz
07.08.09, 15:33
Ist das Script jetzt auch mit der Flash-Version verwendbar (wegen temp) ?
Behebt das Script auch die Problematik mit dem sich abschaltendem Cam wenn man Free-TV schaut ?

Hi,
bei Flash-Version funktioniert auch du musst den script einfach anpassen.
Statt "incubusCamd.sh4_e2" "incubusCamd" umbennen.
Bei Flash gibt es einen Problem mit dem Speicher, manchmal wird die Log Datei sehr gross.
Deshalb habe ich bei mir im Flash-Version einen usb stick angehängt für die log datei.

Gruß
Boyz