Cannot log in...
-
Ok,
When I run the fop2_server --test I get:
Flash Operator Panel 2 - Valid License (3)
Connection to manager OK!I have installed the manager module in FreePBX and it works, I setup a group and gave users rights to everything (for testing) but I cannot log in under any user, it just there trying until it times out. When I run autoconfig-users-config.sh it shows all of my users, so they are all there. When I try to get a log file using:
service fop2 stop
cd /usr/local/fop2
script capture.log
./fop2_server -X 511
(do your failed test).
ctrl-C
exit
service fop2 startThe one odd thing that happens is that service fop2 stop fails? When I run ./fop2_server -X 511 I get:
** COLLECT INCLUDES fop2.cfg , tipo server
** exec: archivo temporal de server: NEWFOPSYRgCn
** READ SERVER CONFIG
** READ SERVER CONFIG - archivo fop2.cfg
** READ SERVER CONFIG - archivo NEWFOPSYRgCn
** READ SERVER calling COLLECT INCLUDES archivo autobuttons.cfg context GENERAL!buttons** COLLECT INCLUDES autobuttons.cfg , tipo GENERAL!buttons
** exec: archivo temporal de botones: NEWFOPhy1sJN
** READ SERVER remove temp file server /usr/local/fop2/NEWFOPSYRgCn
** READ SERVER calling collect_includes autobuttons.cfg** COLLECT INCLUDES autobuttons.cfg , tipo GENERAL!buttons
** autobuttons.cfg already included
** READ SERVER calling collect_includes NEWFOPhy1sJN
** COLLECT INCLUDES NEWFOPhy1sJN , tipo GENERAL!buttons
** NEWFOPhy1sJN already included
** READ BUTTONS CONFIG autobuttons.cfg para contexto GENERAL
** READ BUTTONS CONFIG NEWFOPhy1sJN para contexto GENERALBorro boton temporal /usr/local/fop2/NEWFOPhy1sJN
** GENERA CONFIG START
** GENERA CONFIG - GENERAL
** GENERA CONFIG ENDCan't listen to port 4445
I don't even get to the control c part it throws me back to the command prompt, and the capture log is empty. The odd thing is the message above that says 'can't listen on port 4445' when the server test says I can. I have tried IE 9, Firefox 13.0, and Chrome 19.0.1084.52 m and the latest Adobe flash player running on Windows 7 Home Premium.
Centos 5.9
Asterisk 1.8.12.1
Freepbx 2.9Any suggestions on what to do?
-
Can't listen to port 4445
...
Any suggestions on what to do?
Yes, stop FOP1 so FOP2 can start. You most probably have FOP1 running and binding to port 4445, preventing FOP2 from starting:
/usr/sbin/amportal stop_fop
service fop2 start
after a while, cheeck if fop2_server is running
pgrep fop2_server
it should return a pid number, once you see that number, and only then, try to login with your browser.
Best regards,
-
It turns out I was changing the FOP1 config file in the wrong place, FreePBX 2.10.0 has it in a different place and when I made the changes there, the problem was fixed I now have both running but FOP2 still has a few tweaks to be made...
Thanks
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