FOP2 Server is not responding. Be sure the service is running!
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.
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.
Comments
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
[fixed]
pgrep fop2
[/fixed]
Does it return anything? If not, fop2 is not running and you must start it with the command:
[fixed]
service fop2 start
[/fixed]
Wait a few seconds, and check again if its running:
[fixed]
pgrep fop2
[/fixed]
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:
[fixed]
amportal stop_fop
[/fixed]
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.
I want to logout from my ext. but cannot logout. Please help
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.
http://www.fop2.com/docs/#Activatingthelicense
To pass the option for registering/revoking, type
[fixed]
/usr/local/fop2/fop2_server --register -i em1
/usr/local/fop2/fop2_server --revoke -i em1
[/fixed]
To pass the same option for the startup script, edit the file /etc/sysconfig/fop2 and set it like
[fixed]
OPTIONS="-d -i em1"
[/fixed]
on Debian the file is in /etc/defaults/fop2
Best regards,