Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. FOP2 crashes frequently

FOP2 crashes frequently

Scheduled Pinned Locked Moved Support
9 Posts 2 Posters 773 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U
    U
    usw
    wrote on last edited by
    #1

    We have fop2 (Version 2.11) running w/o problems on one server. On a second server, where the configuration is not so much different, fop2 crashes frequently, about 10 times a day or more.

    I started fop2 from the command line and got this when it starts (on both servers):

    # /usr/local/fop2/fop2_server
    Use of uninitialized value in hash element at script/fop2_server.pl line 3991.
    Use of uninitialized value in pattern match (m//) at script/fop2_server.pl line 3993.
    Use of uninitialized value in integer gt (>) at script/fop2_server.pl line 4001.
    Use of uninitialized value in integer gt (>) at script/fop2_server.pl line 4001.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 4012.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 4012.
    

    When fop crashes, it looks like this:

    Use of uninitialized value in string eq at script/fop2_server.pl line 3205.
    Can't call method "setUnique" on unblessed reference at script/fop2_server.pl line 2235.
    

    What to do?

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hello,

      Is your fop2 using automatic configuration or configured by hand? You can start fop2_server in debug mode and wait until a crash to log better information about it.

      /usr/local/fop2/fop2_server -X 15

      Best regards,

      1 Reply Last reply
      0
      • U
        U
        usw
        wrote on last edited by
        #3

        Thanks for your reply. It is configured by hand. Im running with -X 15 now, logging into a file.

        Udo

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          One potential crash is when you have queue events and not a queue button defined, I think I fixed those on the dev release... If that is the case, you can create the missing queue button to avoid the crashes.

          Best regards,

          1 Reply Last reply
          0
          • U
            U
            usw
            wrote on last edited by
            #5

            It was running all night till noon with -X 15 w/o any crash. Now suddenly it crashes every minute.
            XXXing out numbers for privacy reasons. Running with -X 255:

            127.0.0.1       <- Event: Status
            127.0.0.1       <- Privilege: Call
            127.0.0.1       <- Channel: DAHDI/4-1
            127.0.0.1       <- CallerIDNum: XXXXXXX
            127.0.0.1       <- CallerIDName: <unknown>
            127.0.0.1       <- Account:
            127.0.0.1       <- State: Up
            127.0.0.1       <- BridgedChannel: DAHDI/56-1
            127.0.0.1       <- BridgedUniqueid: asterisk-dt-1282907397.29645
            127.0.0.1       <- Uniqueid: asterisk-dt-1282907401.29647
            127.0.0.1       <- Server: 0
            
            ** MAIN AMI event received...
            ** MAIN There's an 'Event' in the event block
            ** MAIN Event detected block_count = 0
            ** MAIN There are 0 blocks for processing
            ** MAIN Answer block cleared
            
            ** PROCESA_BLOQUE STATUS 0
            Can't call method "setUnique" on unblessed reference at script/fop2_server.pl line 2235.
            

            Crash ...
            I allways see "CallerIDName: <unknown>" when it crashes ...
            Edit: no, not always, see next post ...

            1 Reply Last reply
            0
            • U
              U
              usw
              wrote on last edited by
              #6

              Another crash:

              STATUS channel DAHDI/32-1 already in memory, ignoring state
              Use of uninitialized value in string ne at script/fop2_server.pl line 2268.
              
              SET LINK DAHDI/32-1 to DAHDI/1-1
              
              ** MAIN End of block from localhost
              
              127.0.0.1       <- Event: Status
              127.0.0.1       <- Privilege: Call
              127.0.0.1       <- Channel: DAHDI/1-1
              127.0.0.1       <- CallerIDNum: XXXXXXXXX
              127.0.0.1       <- CallerIDName:
              127.0.0.1       <- Accountcode:
              127.0.0.1       <- ChannelState: 6
              127.0.0.1       <- ChannelStateDesc: Up
              127.0.0.1       <- Context: to-system
              127.0.0.1       <- Extension: XXXXXXXXXX
              127.0.0.1       <- Priority: 6
              127.0.0.1       <- Seconds: 39
              127.0.0.1       <- BridgedChannel: DAHDI/32-1
              127.0.0.1       <- BridgedUniqueid: asterisk-dt-1282907862.29687
              127.0.0.1       <- Uniqueid: asterisk-dt-1282907862.29686
              127.0.0.1       <- Server: 0
              
              ** MAIN AMI event received...
              ** MAIN There's an 'Event' in the event block
              ** MAIN Event detected block_count = 0
              ** MAIN There are 0 blocks for processing
              ** MAIN Answer block cleared
              
              ** PROCESA_BLOQUE STATUS 0
              Use of uninitialized value in string ne at script/fop2_server.pl line 2207.
              
              It's a HASH, not blessed.
              Can't call method "setUnique" on unblessed reference at script/fop2_server.pl line 2235.
              

              Crash ...

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #7

                Thanks for the report. Are you using centos 5, 32 bits? If so, please try with the following server file:

                http://www.fop2.com/downloads/fop2_server

                Run this one in debug mode like you did and let me know your results. If you use some other distribution/bits, let me know so I can compile a version for you.

                Best regards,

                1 Reply Last reply
                0
                • U
                  U
                  usw
                  wrote on last edited by
                  #8

                  Hi, it's runnung on Debian Lenny 2.6.26-2-686 Kernel, 32 bit.

                  1 Reply Last reply
                  0
                  • U
                    U
                    usw
                    wrote on last edited by
                    #9

                    Any news on this issue? We got no reply for over a week now.

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups