FOP2 Server is not responding. Be sure the service is running!

  1. 9 years ago

    Hello experts.

    I have setup Elastix and Fop2 & Fop2 manager but now I have issue as per the screenshot given.

    Issue 1. After installing fop2 from my elastix from command line it just only showing me blank screen as per issue1.png
    Issue 2. after upgrade fop2 manager from version 1.0.0 to 1.0.4 server not responding.

    Please do help me regarding the above issue.

  2. admin

    18 Dec 2014 Administrator

    It seems the fop2 service is not running, so 1) you cannot connect 2) the fop2 manager cannot test for the service and shows that.

    You have to be sure the fop2_server is running, and that there is nothing preventing fop2 from running, so, from the command line run

    pgrep fop2

    Does it return anything? If not, fop2 is not running and you must start it with the command:

    service fop2 start

    Wait a few seconds, and check again if its running:

    pgrep fop2

    Does it show a number now? Or still nowthing? If the later, then there is something preventing FOP2 from starting correctly, it could be the old FOP1 that needs to be stopped and disabled, it could be that you have a license tied to an interface other than eth0, but forgot to update the /etc/sysconfig/fop2 file to pass the -i ethX parameter.

    To stop FOP1:

    amportal stop_fop

    and then edit /etc/amportal.conf and set FOPRUN=false and also edit /etc/rc.d/rc.local and remove the amportal start_fop line.

  3. Edited 9 years ago by alipeti

    I have tried but still is same "FOP2 Server is not responding. Be sure the service is running!" and another problem occurred as my extension on FOP2 panel in Elastix only showing one extension other extension as not.
    I want to logout from my ext. but cannot logout. Please help

  4. admin

    30 Dec 2014 Administrator

    Not sure what you mean with that you want to log out and you cannot.. if you talk about the Elastix GUI, I cannot help, I can only help with FOP2 itself, try accessing FOP2 directly (outside elastix) by pointing your browser to http://your.server/fop2 directly

    Whatever buttons you see are a result of the configuration that is being set for FOP2, if you upgraded an old 2.25 Elastix install with a newer version, then you must be sure you set the newer configuration (fop2.cfg file from /usr/local/fop2 into /etc/asterisk/fop2) and autoconfig scripts (autoconfig-users.sh and autoconfig-buttons.sh from /usr/local/fop2 into /etc/asterisk/fop2).

    Then try running those scripts on the command line and inspect the ouptut, you should see a valid fop2 configuration on screen. As per not seeing other buttons, perhaps you configured/checked groups on your own fop2 user, limiting what you can see, in order to test be sure to NOT select any groups (that means it will have no configured restrictions).

    It is also important that you log into the fop2 manager so it updates the database config, but you already did that because you are seeing the fop2 server is not responding message.

  5. Hello, I think I may be missing something here. I can't find any examples on how to pass the I option. The distribution I'm currently using has named the network adapters em1 and em2 as apposed to eth1 and eth2 I'm at a loss as to what I am supposed to add to that file because there are no examples or documentation available for it. The service will start without a license file but with one it won't start.

  6. admin

    26 May 2015 Administrator

    Its all in the online documentation:

    http://www.fop2.com/docs/#Activatingthelicense

    To pass the option for registering/revoking, type

    /usr/local/fop2/fop2_server --register -i em1 /usr/local/fop2/fop2_server --revoke -i em1

    To pass the same option for the startup script, edit the file /etc/sysconfig/fop2 and set it like

    OPTIONS="-d -i em1"

    on Debian the file is in /etc/defaults/fop2

    Best regards,

or Sign Up to reply!