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 service dying

fop2 service dying

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 66 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.
  • K
    K
    kiddbios
    wrote on last edited by
    #1

    We installed fop2 about 2 weeks ago. In that time frame the fop2 service has died 3 times. We are not seeing anything logged in /var/log/messages. We are running Asterisk 1.4.21.2 on CentOS 5.3. Has anybody else experienced this? Is there a way to enable logging so we can try to figure out what is happening?

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

      Hi,

      There is a way and I will very much appreciate if you can capture the output. You have to run fop2 on the command line enabling debug, capturing the output. The best way, in my opinion is to:

      Stop fop2 as a service

      service fop2 stop
      

      And then use gnu screen and script to start fop2_server:

      screen
      script output.log
      ./fop2_server -X 15
      

      Then you have to dettach the screen console with ctrl-D

      Verify that fop2_server is running:

      pgrep fop2_server 
      

      You can see the debug output while it is being wrote to disk:

      tail -f /usr/local/fop2/output.log
      

      I have fixed some of this crashes already, maybe updating your setup (just replacing fop2_server) will cure the problem, but it would be nice anyways to capture the error as described above. Once fop2_server dies, you can reattach the screen:

      screen -r
      

      You will see the last lines and error on your screen. Type "exit" to quit scripts from capturing to output.log, Type "exit" again to quit screen.

      1 Reply Last reply
      0
      • C
        C
        cursor
        wrote on last edited by
        #3

        I have this same problem on a CentOS 5.4 X64 server. FOP2 dies randomly. I have tried what you suggested and these are the last lines of output.log:

        127.0.0.1 <- Event: RTCPSent
        127.0.0.1 <- Privilege: reporting,all
        127.0.0.1 <- To: 192.168.11.129:19435
        127.0.0.1 <- OurSSRC: 1859564915
        127.0.0.1 <- SentNTP: 1260993389.2531479552
        127.0.0.1 <- SentRTP: 1552160
        127.0.0.1 <- SentPackets: 9701
        127.0.0.1 <- SentOctets: 1552160
        127.0.0.1 <- ReportBlock:
        127.0.0.1 <- FractionLost: 0
        127.0.0.1 <- CumulativeLoss: 0
        127.0.0.1 <- IAJitter: 0.0004
        127.0.0.1 <- TheirLastSR: 0
        127.

        The complete log is 126mb because today it lasted over 8 hours without crashing. Some days it can crash every few hours.

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

          Hi,

          The last lines of the log should be some kind of error like "Can't call method XXX" on line YYYY

          Please try to catch that, the output you posted seems incomplete. If you run fop2 under gnu screen as mentioned it must show something like that before crashing.

          I have fixed some of this issues in the next release, but I might need to squash some more of them, and the only way to find the problems is by user feedback, as usually crashes happen under certain conditions that are hard or impossible to replicate/reproduce (unconfigured buttons, extremely loaded servers, etc)

          Best regards,

          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