Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Oscam geht ständig aus

AW: Oscam geht ständig aus

danke

hier die Netstatic

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:12000 0.0.0.0:* LISTEN 15429/oscam_Dmod
tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN 463/enigma2
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8002 0.0.0.0:* LISTEN 434/inetd
tcp 0 0 0.0.0.0:53958 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:35591 0.0.0.0:* LISTEN 412/rpc.statd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 339/smbd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 319/portmap
tcp 0 0 0.0.0.0:83 0.0.0.0:* LISTEN 15429/oscam_Dmod
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 434/inetd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 379/dropbear
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 434/inetd
tcp 0 0 0.0.0.0:55000 0.0.0.0:* LISTEN 397/rpc.mountd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 339/smbd
tcp 0 0 :::111 :::* LISTEN 401/rpcbind
tcp 0 0 :::80 :::* LISTEN 463/enigma2
tcp 0 0 :::22 :::* LISTEN 379/dropbear
tcp 0 0 :::443 :::* LISTEN 463/enigma2
udp 0 0 0.0.0.0:44033 0.0.0.0:* 397/rpc.mountd
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:56413 0.0.0.0:* -
udp 0 0 0.0.0.0:111 0.0.0.0:* 319/portmap
udp 0 0 192.168.2.12:137 0.0.0.0:* 337/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 337/nmbd
udp 0 0 192.168.2.12:138 0.0.0.0:* 337/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 337/nmbd
udp 0 0 0.0.0.0:46771 0.0.0.0:* 451/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 451/avahi-daemon: r
udp 0 0 0.0.0.0:49602 0.0.0.0:* 412/rpc.statd
udp 0 0 127.0.0.1:1012 0.0.0.0:* 412/rpc.statd
udp 0 0 :::111 :::* 401/rpcbind
udp 0 0 :::1000 :::* 401/rpcbind
 
AW: Oscam geht ständig aus

.reshare_mode = 4

machen und nicht 0, oder den Parameter weg lassen (4 = Default)

Laut Steamboard gibt es keinen Parameter = 4

Dort steht nur:

reshare_mode

Parameter ist optional
Arten des reshare:
Code:
0  =  reader reshared nur empfangene SCs für CCcam-reader
1  =  reader reshared empfangene SCs (wie=0) und definierte services
2  =  reader reshared nur definierte reader-services als virtueller SC
3  =  reader reshared nur definierte user-services als virtueller SC
 
AW: Oscam geht ständig aus

tcp 0 0 0.0.0.0:12000 0.0.0.0:* LISTEN 15429/oscam_Dmod -> Dein CCcam
tcp 0 0 0.0.0.0:83 0.0.0.0:* LISTEN 15429/oscam_Dmod -> Dein WebIF

Wenn du z.B. noch cs357x laufen lässt taucht ein dritter Prozess auf, cs378x ein vierter, usw. Das Selbe siehst du dann auch bei einem ps -*.
Alles Okay also.

-supraracer
 
AW: Oscam geht ständig aus

dann ist wenigstens eine Sache okay ^^
habe den reshare punkt einfach rausgenommen
geht bis jetzt.
Passwort geändert, vielleicht hat sich da ja einer eingewanzt, ports im Rooter rausgenommen usw
sollte nun passen

schauen wa mal
ein funktionierendes watchdog Script fürs OpenATV mag ich dennoch haben ^^
 
AW: Oscam geht ständig aus

Was es nicht alles doch gibt ...
Code:
1 = reader reshares received SCs (like=0) and defined services
2 = reader reshares only defined reader services as virtual SCs
3 = reader reshares only defined user services as virtual SCs
4 = reader reshares only received cards

!!! Für alle die keinen Plan haben !!!
Bitte über das WebIF (Config) die entsprechenden Dateien Editieren.
 
na ich hab den Punkt nun rausgenommen, dann sollte er doch ins default wechseln richtig

7h laufzeit
toll, hatte mich schon gefreut das es jetzt läuft, wieder Pustekuchen

nach 7h nun im 5min Takt, was für ein scheiss
 
Zuletzt bearbeitet von einem Moderator:
ja, bereite die andere Box vor


Edit:
So, 11h ohne Fehler im Debug laufen lassen, was für ein Zufall
Debug ist ja die 38er Oscam, ich hatte noch 26er drauf, vielleicht wurde ja schon der Fehler beseitigt, hab jetzt von Gumball die 42er drauf, mal gucken obs jetzt geht
ansonsten nochmal debug Box ran

wir bekommen den Übeltäter schon raus

Also im debug Modus lief es 12h durch, hatte vorher mit Gumball noch einige Änderungen gemacht, deshalb wieder ugestellt auf die andere Box.

Dort wesentlich weniger stopps, derzeit 12h mit normaler Cam, dennoch stoppts ab und zu
Wechsel jetzt ab und zu Debug Box mit meiner normalen, vielleicht finden wir ja doch noch Fehler

Dennoch konnte mir bis jetzt keiner mit einem funktionieren Watchdog helfen fürs OpenATV Image
Vielleicht gibts da noch jemanden der mir das mal geben kann
 
Zuletzt bearbeitet von einem Moderator:
AW: Oscam geht ständig aus

Bei dem Fehler steigt oscam komplett aus?
Als Watchdog könnte man ein Script nehmen, was z.B. jede Minute die Funktion von oscam abfragt.
Und oscam rebootet, wenn es nicht läuft.
Dann wird allerdings nur geschaut, ob oscam rennt, nicht, ob die Reader laufen oder die Karten erkannt werden.
Sollte aber reichen, wenn oscam aussteigt.
 
ja
das würde reichen
leider habe ich per Cronjob bis jetzt nur Scripte, die die Oscam neustarten in der vorgegebenen Zeit, aber nicht prüfen ob sie läuft

Dadurch startet er ja generell neu

Ps. nun 31h ohne Stopp
danke euch nochmals für eure Hilfe

zu früh gefreut
31h dann Cam aus, nun ja

Hoffe mir kann noch einer helfen mit einem Script
 
Zuletzt bearbeitet von einem Moderator:
AW: Oscam geht ständig aus

wieso lässt du nicht oscam im debug modus so lange laufen bis es abstürtzt?

wenn du oscam automatisch neu starten willst, starte oscam einfach mit " -r 2 " aber besser wäre es wenn wir das problem an sich beheben, dann hat auch jeder was davon.
 
AW: Oscam geht ständig aus

die Debug Box lässt keine User mehr raus
Habe 3mal die oscam.user drauf kopiert, per WebIf kann ich keine Datei finden, per FTP ist sie da

Was ist das nun wieder

Edit, habe die vorhandene Datei geöffnet, alles selektiert, kopiert und per Web IF reingeschrieben, save und dann gehts wieder
waru auch immer er die Datei nicht einlesen wollte

22 h und läuft
deine Debug Version ist resistent gegen Abstürze wa

Die andere Oscam verbindet sich mit deiner Debug Version und läuft nun bereits auch 22h
 
Zuletzt bearbeitet:
AW: Oscam geht ständig aus

oscam.debug

nach 3,5 h ca.

Starting program: /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam
warning: GDB can't find the start of the function at 0x77fc6d8c.

GDB is unable to find the start of the function at 0x77fc6d8c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x77fc6d8c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: GDB can't find the start of the function at 0x77fc8244.

Program received signal SIGHUP, Hangup.
Error detected on fd 0
error detected on stdin
A debugging session is active.

Inferior 1 [process 1205] will be killed.

Quit anyway? (y or n) EOF [assumed Y]
Starting program: /usr/bin/oscam --config-dir /etc/tuxbox/config/oscamkillall -9 enigma2; echo ">>> DONE <<<";
warning: GDB can't find the start of the function at 0x77fc6d8c.

GDB is unable to find the start of the function at 0x77fc6d8c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x77fc6d8c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Starting program: /usr/bin/oscam --config-dir /etc/tuxbox/config/oscamgdb /usr/bin/oscam
warning: GDB can't find the start of the function at 0x77fc6d8c.

GDB is unable to find the start of the function at 0x77fc6d8c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x77fc6d8c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Error detected on fd 0
error detected on stdin
Error detected on fd 0
error detected on stdin
Error detected on fd 0
error detected on stdin
`/usr/bin/oscam' has changed; re-reading symbols.
Starting program: /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam
warning: GDB can't find the start of the function at 0x77fc6d8c.

GDB is unable to find the start of the function at 0x77fc6d8c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x77fc6d8c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: GDB can't find the start of the function at 0x77fc8244.

Program received signal SIGHUP, Hangup.
Error detected on fd 0
error detected on stdin
A debugging session is active.

Inferior 1 [process 554] will be killed.

Quit anyway? (y or n) EOF [assumed Y]
Error detected on fd 0
error detected on stdin
Starting program: /usr/bin/oscam --config-dir /etc/tuxbox/config/oscambt
warning: GDB can't find the start of the function at 0x77fc6d8c.

GDB is unable to find the start of the function at 0x77fc6d8c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x77fc6d8c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

und was heißt das nun?
 
AW: Oscam geht ständig aus

kannst du auch die console ausgabe posten? (und vorher noch den befehl "bt" eingeben, falls gdb noch läuft? (erkennt man dran das links (gdb) steht )

in dem debug file ist leider nichts relevates drin.

allerdings steht in dem debug file, das du die zeile
Code:
set auto-load safe-path /

in die datei "/home/root/.gdbinit" hinzufügen sollst (einfach eine neue zeile einfügen)
 
Zuletzt bearbeitet von einem Moderator:
AW: Oscam geht ständig aus

ich hatte bt eingegeben, deshalb fragte ich ja ob die Oscam auch richtig im gdb läuft

also die oben genannte Zeile in die Datei gdbinit eintragen richtig?

console vor bt Eintrag

root@et4x00:~# gdb /usr/bin/oscam
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-oe-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/oscam...done.
(gdb) set logging file /etc/tuxbox/config/oscam/oscam.debug
(gdb) set logging on
Copying output to /etc/tuxbox/config/oscam/oscam.debug.
(gdb) run --config-dir /etc/tuxbox/config/oscam
 
Zuletzt bearbeitet:
Zurück
Oben