Starting the FOP2 Process - Error
-
-
That seems to let FOP2 start now. However, when I try to do:
root@pbx:~ $ service fop2 restart Shutting down Flash Operator Panel 2: [FAILED] Starting Flash Operator Panel 2: [ OK ]Shutting down FOP2 now fails. Also, when I try to log into FOP2 when it is running I am stuck at "Connecting to server, attempt number : 'X' "
-
-
-
As I have guessed, you have FOP1 running. You must stop it in order to let FOP2 run. To stop it run
amportal stop_fopTo disable it, edit /etc/amportal.conf and set
FOPRUN=falseAlso, be sure you do not have a line like amportal start_fop in /etc/rc.d/rc.local, if you do, remove it.
After stopping FOP1 you will be able to start FOP2 normally:
service fop2 startAnd check after 10 seconds or so that it is still running
pgrep fop2Best regards,
-
-
-
Hmm, this is odd. I made the change to amportal.conf as you suggest and when I do a 'amportal restart' I see that FOP is started up again and causes problems with FOP2.
Is there another way to disable FOP so when the server is restarted or the amportal restart command is issued there wont be a problem?
-
I have never seen the problems you are having. The drastic way is to edit /var/www/html/panel/op_server.pl and put on line 2:
exit;
Do the same to this file:
/var/www/html/panel/safe_opserver
Be sure to modify the correct amportal.conf file or search for other FOP parameters there might be. Anyways, the above change will just exit
-
The reason why that kept happening is because the amportal.conf file was be regenerated. If I made changes directly to amportal.conf they would be discarded the next time the file was recreated. I believe I solved my problem by uninstalling FOP (not disabling) from Module Admin and rebooting the server. I did a fop2 restart and everything seems to be working now.
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