FOP2 server requires constant restarts
-
Ahh, the problem with forums is the lack of context sometimes and mission creep. Thank you for working through it
-
Regarding the fop2 debug mode. I am having the same issue on our system (fop2 stops working, service fop2 restart fixes the problem).
These are my system specs;
Asterisk: 1.4.22-4
Linux: 2.6.18-128.1.10.e15
Trixbox: 2.6.2.3
FOP framework: 2.5.0.4
FOP2 Admin: 1.2.13Is this debug line edit in fop2 sysconfig location valid for my system also? Also, once it fails again, where would the log files be located? i am fairly new to trixbox & freepbx. Also not very Linux savy (Thank God for Google!).
Thanks
-
You did not say what fop2 version are you running, but it seems it is not the latest one, it might be 2.24 or 2.26. The log files will be /var/log/error.log and /var/log/output.log . If fop2 crashes, the relevant info will be displayed at the end of /var/log/error.log
You should consider updating fop2 (and also asterisk, your version is now outdated).
Best regards,
-
Sorry, My fop2 version is: 2.26
How do I update the fop2 version? I looked through the "packages/module" updates and do not see it.
These are the upgrades I see;
two - Astra Telecom XML scripts upgrades. (v2.1.1-1 & v2.3.0-1) (not sure if I need to upgrade these)
two - tbm-GUIcore - The base of the Trixbox GUI modules (v2.6.2.3-1 & v2.6.2.5-1) (probably should upgrade)I will edit the fop config to add the debug code and wait for it to fail again then check the logs.
Thanks for your help
-
to upgrade fop2 you must do it from the server command line. Just download the latest .tar.gz from www.fop2.com/download.php, then extract it and run "make". Remember that upgrades are free for one year, after that year there is a $20 upgrade cost (annual software maintenance from www.fop2.com/buy.php).
Best regards,
-
fop2 service finaly failed and this is what i am getting in the debug log file.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 7018. (thi line goes on for 100's, then)
Payload is too big. Deny big message (3170943617) or increase max_payload_size (65536) at script/fop2_server.pl line 1712.Any idea of what is causing this?
-
The error of payload to big is in the websocket protocol, you will avoid that problem if you disable websockets in /var/www/html/fop2/js/presence.js or by using the latest 2.27 version. You do not say if you updated fop2 or not already? In any case, the payload size seems too big for a normal fop2 packet. Did you upgrade to 2.27?
-
I did disable the websocket. Thank you. I have not done the upgrade yet. But most likely will with in the next couple weeks.
-
If you saw the payload too big error, then websockets was NOT disabled, as it is an exclusive error of a browser connecting over websockets. Take into account that the presence.js file can be cached in the browser , so the setting won't do any effect until the browser reloads that file from the server.
Best regards,
-
Ah, So end users will have to clear their cache. okay. 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