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 from time to time 'fop2_server dead but subsy..

fop2 crashes from time to time 'fop2_server dead but subsy..

Scheduled Pinned Locked Moved Support
13 Posts 4 Posters 304 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.
  • W
    W
    witekprytek
    wrote on last edited by
    #1

    I use fop2 with elastix 1.5 32 bits (asterisk 1.4.21). From time to time users report that they are not able to log in.
    Demon status reports: "fop2_server dead but subsys locked".
    I do not use autoconfiguration and I have 10 different context in fop2 configuration file.

    Where can I find any error log or fop2 server?
    What could be a reason for this?

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

      Hi,

      You will need to run fop2_server not from the startup script but directly in the linux console, or better under a gnu screen session. That way, if the service crashes, you can reattach to the gnu screen console and take not of the error. The beta version fixes a number of crashes that might happen under certain conditions, you might also want to try with the beta directly. Best regards,

      1 Reply Last reply
      0
      • W
        W
        witekprytek
        wrote on last edited by
        #3

        Thank you for your answer

        1. Where can I get Beta version or any upgrade for fop2?

        2. Is it possible to run fop2 server form daemontools using svscan program?
          I have daemontools (cr.yp.to) installed and I try to use svscan to start fop2 server. I have created "run" file which look like this:
          #!/bin/sh
          /usr/local/fop2/fop2_server -d

        When svscan starts process I have 1 fop2 daemon running permanently and the second restarted every 2 seconds

        Do I need some extra options to start fop2 using svscan?

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

          http://www.fop2.com/downloads/fop2.tgz for centos 32 bits.

          Regarding svcscan, you do not have to pass the -d flag to fop2_server as daemontools requires the program to stay in the foreground. So, try removing the -d option and see if it works for you.

          Best regards,

          1 Reply Last reply
          0
          • W
            W
            witekprytek
            wrote on last edited by
            #5

            Thats it!
            Thanks Nicolás.

            One more questions - how to recover license after upgrading software?
            Do I need copy .lic file from the backup only?

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

              Yes, just copy the .lic file over.

              1 Reply Last reply
              0
              • C
                C
                cjkeeme
                wrote on last edited by
                #7

                I am having similar issues. Random crashing. When I login it attempts to authenticate my session 10 times until the screen states 'Could not connect to Server'. Is there a beta version I can try (RPM).

                I used this RPM to initially install: fop2-2-1.i686.rpm

                Thanks!

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

                  Just download the beta as pointed in the previous post and update your version. It will fix some crash situations and add a ton of new features too. Best regards,

                  1 Reply Last reply
                  0
                  • C
                    C
                    cjkeeme
                    wrote on last edited by
                    #9

                    Ah, yes. That was my first thought, but the link above is invalid. I then tried this link (fixing the typo in downloads) and it worked:

                    [url:cd0feqxe]http://www.fop2.com/downloads/fop2.tgz[/url:cd0feqxe]

                    1 Reply Last reply
                    0
                    • W
                      W
                      WarBull
                      wrote on last edited by
                      #10

                      Hello! Il am use the last version 2.28 on CentOS x86. Here is my log:

                      Flash Operator Panel 2 - License file fop2.lic not found.
                      Running in Demo Mode
                      Connection to manager OK!
                      [root@Virt-2 fop2]#
                      [root@Virt-2 fop2]#
                      [root@Virt-2 fop2]# /usr/local/fop2/fop2_server status
                      Flash Operator Panel 2 - License file fop2.lic not found.
                      bind: Address already in use at script/fop2_server.pl line 11144.
                      [root@Virt-2 fop2]# /usr/local/fop2/fop2_server start
                      Flash Operator Panel 2 - License file fop2.lic not found.
                      bind: Address already in use at script/fop2_server.pl line 11144.
                      [root@Virt-2 fop2]# service fop2 start
                      Starting Flash Operator Panel 2: [ OK ]
                      [root@Virt-2 fop2]#
                      [root@Virt-2 fop2]#
                      [root@Virt-2 fop2]# service fop2 status
                      fop2_server dead but subsys locked

                      1 Reply Last reply
                      0
                      • W
                        W
                        WarBull
                        wrote on last edited by
                        #11

                        I dont know what is error fop2_server dead but subsys locked ?

                        1 Reply Last reply
                        0
                        • W
                          W
                          WarBull
                          wrote on last edited by
                          #12

                          I am write theese option in /etc/sysconfig/fop2
                          OPTIONS="-d -X 511 -l /var/log/fop2"
                          and see next errors after command serice fop2 restart:

                          Flash Operator Panel 2 - License file fop2.lic not found.
                          ** COLLECT INCLUDES fop2.cfg , tipo server
                          ** EXEC: archivo temporal de server: NEWFOPiknbF5
                          ** READ SERVER CONFIG
                          ** READ SERVER CONFIG - archivo fop2.cfg
                          ** READ SERVER CONFIG - archivo NEWFOPiknbF5
                          ** READ SERVER calling COLLECT INCLUDES archivo autobuttons.cfg context GENERAL!buttons
                          ** COLLECT INCLUDES autobuttons.cfg , tipo GENERAL!buttons
                          ** EXEC: archivo temporal de botones: NEWFOPHhIeHx
                          ** READ SERVER remove temp file server /usr/local/fop2/NEWFOPiknbF5
                          ** VOICEMAIL PATH /var/spool/asterisk/voicemail
                          ** READ SERVER calling collect_includes autobuttons.cfg
                          ** COLLECT INCLUDES autobuttons.cfg , tipo GENERAL!buttons
                          
                          ** autobuttons.cfg already included
                          
                          ** READ SERVER calling collect_includes NEWFOPHhIeHx
                          ** COLLECT INCLUDES NEWFOPHhIeHx , tipo GENERAL!buttons
                          ** NEWFOPHhIeHx already included
                          ** READ BUTTONS CONFIG autobuttons.cfg para contexto GENERAL
                          ** READ BUTTONS CONFIG NEWFOPHhIeHx para contexto GENERAL
                          
                          Removing temporary config file from #exec /usr/local/fop2/NEWFOPHhIeHx
                          
                          ** GENERA CONFIG START
                          ** GENERA CONFIG - GENERAL
                          ** GENERA CONFIG END
                          
                          bind: Address already in use at script/fop2_server.pl line 11144.
                          
                          ++ EXTENSION OBJECT DESTROYED FOP2::Extension=HASH(0x9a9c0e4)
                          

                          Help me please, dear collegues!

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

                            Hello,

                            Your log file shows that the port TCP/4445 is already used, so FOP2 cannot start. That port might be used either by FOP2 itself or by the old FOP(1). In the first case, there is actually NO problem, you cannot start FOP2 twice. If the later, then you must disable/stop FOP(1). To check who is binding to port tcp 4445 run this command:

                            netstat -lnp | grep 444
                            

                            What is the output? Do you see "perl" as the process name for the matched line? If so, that is the old FOP(1) and you must stop it and disable it as described in the documentation.

                            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