help needed sever keeps restrting dont know what the problem is

There are 9 replies in this Thread which was already clicked 982 times. The last Post () by master G.

  • someday are worse then orders turns of twice a day some days only in the morning when i wake up


    any ideas i have been looking on oscam cant seem to spot the problem


    anyone mind helping me.


    many thanks


    simple

  • Could be a few issues?


    If it is regular is it an reboot script...but doesnt look that way


    Have you got a MaxLogsize reference in any of you Oscam files? You can set it so that when the log file reaches a certain size it restarts?


    Could be a restart on a crash script?


    Look at your logs and see what happens before and after it restarts, any reference to error,max log, crash e.t.c


    Just wondering if its restarting



    lssdalogo.png



    "Don't Gain The World & Lose Your Soul, Wisdom Is Better Than Silver Or Gold"
    “Herb is the healing of a nation, alcohol is the destruction”



  • I did the server for him and there are no scripts and log size is set to 1000 its setup exactly the same as mine as in configs etc no scripts are running either

  • 2012/08/10 19:41:21 0 s starting thread log_list_thread
    2012/08/10 19:41:21 0 s log_list_thread thread started
    2012/08/10 19:41:21 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build #7048 (i486-linux-gnu)
    2012/08/10 19:41:21 0 s version=1.20-unstable_svn, build #7048, system=i486-linux-gnu, nice=-1
    2012/08/10 19:41:21 0 s client max. idle=120 sec, debug level=0
    2012/08/10 19:41:21 0 s max. logsize=1000 Kb, loghistorysize=4096 bytes
    2012/08/10 19:41:21 0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
    2012/08/10 19:41:21 0 s Cannot open file "/usr/local/etc/oscam.services" (errno=2 No such file or directory)
    2012/08/10 19:41:21 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/08/10 19:41:21 0 s signal handling initialized (type=sysv)
    2012/08/10 19:41:21 0 s 3208 service-id's loaded in 11ms
    2012/08/10 19:41:21 0 s WARNING: You risk high CPU load and high ECM times with more than 2000 service-id�s!
    2012/08/10 19:41:21 0 s HINT: --> use optimized lists from http://streamboard.gmc.to/wiki/index.php/Srvid
    2012/08/10 19:41:21 0 s 37 tier-id's loaded
    2012/08/10 19:41:21 0 s 702 provid's loaded
    2012/08/10 19:41:21 0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    2012/08/10 19:41:21 0 s can't open whitelist file /usr/local/etc/oscam.whitelist
    2012/08/10 19:41:21 0 s can't open cacheex-matcher file /usr/local/etc/oscam.cacheex
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s monitor: initialized (fd=6, port=989)
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s camd35: disabled
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s cs378x: disabled
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s newcamd: disabled
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s cccam: initialized (fd=7, port=, crypted)
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s pandora: disabled
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s csp: disabled
    2012/08/10 19:41:21 0 s Starting listener 0
    2012/08/10 19:41:21 0 s radegast: disabled
    2012/08/10 19:41:21 0 s starting thread http
    2012/08/10 19:41:21 0 s http thread started
    2012/08/10 19:41:21 0 s starting thread reader check
    2012/08/10 19:41:21 0 s reader check thread started
    2012/08/10 19:41:21 0 s starting thread check
    2012/08/10 19:41:21 0 s check thread started
    2012/08/10 19:41:21 0 s creating thread for device 0
    2012/08/10 19:41:21 0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2012/08/10 19:41:21 0 s waiting for local card init

    • Official Post
    Quote

    any ideas i have been looking on oscam cant seem to spot the problem


    Quote

    WARNING: You risk high CPU load and high ECM times with more than 2000 service-id�s!


    Looks like the oscam.srvid file has too many service id`s, remove this file, restart oscam and see if the error is still in the log.

  • i have updated oscam.srvid and i dont see the same error anymore


    i just wanted know is this normal i see this in the log file now



    2012/08/11 14:28:57 0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
    2012/08/11 14:28:57 0 s Cannot open file "/usr/local/etc/oscam.services" (errno=2 No such file or directory)
    2012/08/11 14:28:57 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/08/11 14:28:57 0 s signal handling initialized (type=sysv)
    2012/08/11 14:28:57 0 s 922 service-id's loaded in 3ms
    2012/08/11 14:28:57 0 s 37 tier-id's loaded
    2012/08/11 14:28:57 0 s 702 provid's loaded
    2012/08/11 14:28:57 0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    2012/08/11 14:28:57 0 s can't open whitelist file /usr/local/etc/oscam.whitelist
    2012/08/11 14:28:57 0 s can't open cacheex-matcher file /usr/local/etc/oscam.cacheex
    2012/08/11 14:28:57 0 s Starting listener 0

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!