Oscam + CCcam 2.1.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • garry1312
    DK Veteran
    • Oct 2010
    • 2178

    #286
    Hi guys looking for some help here my oscam seems to cut out at least once a day and restart will not bring other receivers back on.

    I am running Oscam 1.10, thought it was router dropping the port, changed router and it has happened again. Tried other versions of oscam and same outcome. Running it through a SE clone. When it works it works great.


    Rest In Peace Michael Mcharg, A true friend and although gone never forgotten. 11-10-08.

    Comment

    • micflair
      Senior Member
      • Jul 2009
      • 275

      #287
      Originally posted by garry1312
      Hi guys looking for some help here my oscam seems to cut out at least once a day and restart will not bring other receivers back on.

      I am running Oscam 1.10, thought it was router dropping the port, changed router and it has happened again. Tried other versions of oscam and same outcome. Running it through a SE clone. When it works it works great.
      Wierd, im on the same setup as you and haven't had that problem. So when you say `cut out', do you mean its restarting? Or totally stopping working? Do you have it set to auto restart in your image settings?

      Comment

      • garry1312
        DK Veteran
        • Oct 2010
        • 2178

        #288
        no auto restart on the image settings mate. It just cuts off all connections. If I try to restart it it wont reconnect them. People have suggested it may be the router but I am on to my third router now so I am pretty sure that out rules the router.

        Between posting my last post and this one it is also no longer allowing me to access the web interface


        Rest In Peace Michael Mcharg, A true friend and although gone never forgotten. 11-10-08.

        Comment

        • micflair
          Senior Member
          • Jul 2009
          • 275

          #289
          Originally posted by garry1312
          no auto restart on the image settings mate. It just cuts off all connections. If I try to restart it it wont reconnect them. People have suggested it may be the router but I am on to my third router now so I am pretty sure that out rules the router.

          Between posting my last post and this one it is also no longer allowing me to access the web interface
          Right, I had a similar kinda problem not to long ago. And it was to do with the router/net connection to the box. What it turned out to be was the dreambox was not renewing the lease to the IP, so it would cut the net connection off, which made oscam stop working all together. Im guessing youve got DHCP turned off and using the same IP? (on your dreambox) I had that, so I turned DHCP on, but changed the setting in my router so that it kept the same IP..

          Have a play in that area pal.

          Comment

          • garry1312
            DK Veteran
            • Oct 2010
            • 2178

            #290
            Thanks mate yeah dhcp is off and assigned it a Ip address. will give that a try and post back


            Rest In Peace Michael Mcharg, A true friend and although gone never forgotten. 11-10-08.

            Comment

            • smoggie
              DK Veteran
              • Jul 2008
              • 863

              #291
              when you dropped connections have you checked to see if your ip address is the same ip addy dyndns or similar account?

              Comment

              • satsmo
                V.I.P. Member
                • Jun 2008
                • 6397

                #292
                You need to give more info Garry, i.e. which version of Oscam you are currently using, is it using DVBAPI or another CAM, is this for an internal share or are you talking about an external one, have you recently added idents to your srvid file?

                These will help others answer your query.
                Last edited by satsmo; 11 November, 2011, 23:44.
                I refuse to answer that question on the grounds that I don't know the answer. - Douglas Adams

                Comment

                • garry1312
                  DK Veteran
                  • Oct 2010
                  • 2178

                  #293
                  Hi satsmo said above that it was version 1.10 but had the same issue with several different versions.

                  I am running DVPAPI with cccam proxy (not cccam server completely oscam). I have no problems with it reading my card, but also have issues with it reading a newcamd share as a reader.

                  I have added nothing to the srvid file and dont actually have a oscam.srvid file.

                  Also from time to time I also notice that the configuration in files changes such as Mhz in my reader keeps going from 357 to 500. Also extra settings are added to the user accounts. These are not changes I have made so lost to why it is doing that.

                  Did not want to mention if it was internal or external incase I break the forums rules.

                  I have a static IP address, static IP on my receiver. I have tried different versions of Oscam, different images and different routers and a different port but without fail each day it will cut off all lines nothing will work to restart them and then sometimes the web interface will also go down with them but not always.


                  Rest In Peace Michael Mcharg, A true friend and although gone never forgotten. 11-10-08.

                  Comment

                  • micflair
                    Senior Member
                    • Jul 2009
                    • 275

                    #294
                    Originally posted by garry1312
                    Hi satsmo said above that it was version 1.10 but had the same issue with several different versions.

                    I am running DVPAPI with cccam proxy (not cccam server completely oscam). I have no problems with it reading my card, but also have issues with it reading a newcamd share as a reader.

                    I have added nothing to the srvid file and dont actually have a oscam.srvid file.

                    Also from time to time I also notice that the configuration in files changes such as Mhz in my reader keeps going from 357 to 500. Also extra settings are added to the user accounts. These are not changes I have made so lost to why it is doing that.

                    Did not want to mention if it was internal or external incase I break the forums rules.

                    I have a static IP address, static IP on my receiver. I have tried different versions of Oscam, different images and different routers and a different port but without fail each day it will cut off all lines nothing will work to restart them and then sometimes the web interface will also go down with them but not always.
                    Did you try what I suggested buddy?

                    Comment

                    • Rodbouy
                      DK Veteran
                      • Jul 2010
                      • 1320

                      #295
                      What does your logfile say when this happens?

                      Comment

                      • satsmo
                        V.I.P. Member
                        • Jun 2008
                        • 6397

                        #296
                        Try mic's solution and post your logifile as requested by Rodbouy.

                        I know Oscam can become unstable from time to time I recommend you to use a script which will check the process and in case it's not there it will restart oscam.

                        I use the following script (credit's to KrazyIvan)

                        create a file called run.sh in /usr/local/bin and paste following lines in it:

                        #!/bin/sh +e
                        exec 2>&1

                        RESULTS=$(ulimit -u unlimited)
                        RESULTS=$(ulimit -n 50720)
                        RESULTS=$(ulimit -s 50720)
                        RESULTS=$(ulimit -i 50720)
                        RESULTS=$(ulimit -l 264)

                        while [ 1 ]
                        do

                        if egrep -i "Master quit" /tmp/oscam.log
                        then
                        RESULTS=$(killall -9 oscam)
                        fi


                        if [ $(ps -e | grep oscam| wc -l) -ge 3 ]
                        then
                        echo "there is oscam"
                        else
                        RESULTS=$(killall -9 oscam)
                        RESULTS=$(/usr/local/bin/oscam &)
                        fi

                        sleep 2

                        done





                        Once you've pasted everything in red above you need to give rights to the script by changing the mod to execute:

                        chmod 755 /usr/local/bin/run.sh

                        You need to add just a line in rc.local so the script will be run on system startup.

                        Open the file /etc/rc.local and add following line in it:

                        /usr/local/bin/run.sh &

                        Save and reboot your PC/STB.

                        This will cure your restart problem as it will restart automatically and stop your clients dropping off.
                        I refuse to answer that question on the grounds that I don't know the answer. - Douglas Adams

                        Comment

                        • micflair
                          Senior Member
                          • Jul 2009
                          • 275

                          #297
                          Also mate - check your logs on your router - that will see if its because the lease being expired, which would explain it kicking all your users off, and would explain why it crashes..

                          Comment

                          • faridbou
                            Junior Member
                            • Nov 2011
                            • 24

                            #298
                            Hello:
                            happy to be here with a hope to solve my problem , i am using gemini E1 dm 7000 using oscam 1.00 ,i can not get my TNT card work ,even i can?t go in my webinf using my http://ip:8888 ,any help from you guys make me happy thks

                            Comment

                            • garry1312
                              DK Veteran
                              • Oct 2010
                              • 2178

                              #299
                              Thanks guys.

                              Back up and running from a fresh so log file wont tell much at the moment. Know it will happen again so hopefully the script is the solution. If not will post log file.

                              Will give that script a go thanks satsmo.

                              Spoke to Mik regarding his solution through PM. Set my receiver to DHCP then set that ip through the router to the receiver but soon as receiver is restarted IP still changed.

                              Been scratching my brain for a fortnight now trying this and trying that, at times wanting to through in the towel . Got to love this hobby .


                              Rest In Peace Michael Mcharg, A true friend and although gone never forgotten. 11-10-08.

                              Comment

                              • garry1312
                                DK Veteran
                                • Oct 2010
                                • 2178

                                #300
                                Also forgot to mention when this happens sometimes after it will resolve itself and other times have to remove oscam, install it again.


                                Rest In Peace Michael Mcharg, A true friend and although gone never forgotten. 11-10-08.

                                Comment

                                Working...