Could not reload FOP server - message

chucknb28409's picture

Hi,

I am getting this "Could not reload FOP server" message with the following details - Could not reload the FOP operator panel server using the bounce_op.sh script. Configuration changes may not be reflected in the panel display.
Added 1 hour, 5 minutes ago
(freepbx.reload_fop)

I looked at the ticket for closed bugs #2217 and this did not fix the issue. Any other ideas?

Thanks

Chuck Bunn


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Same here

thunderheart's picture

Chuck,

I'm having the same issue and like you, I looked at the closed bug but the solution didn't apply. I installed in a bit of a round about way so I imagine my problem is a configuration issue associated with that process.

I started with a VERY basic Centos 5 install. Got the * and FreePBX sources from the EASYVOXBOX distro. Then edited their install script to ignore the stuff specific to EVB. There were a couple of minor hiccups but got everything working except FOP. The warning message I get is basically "can't reload FOP server with bounce_op.sh". Funny thing is I can logon to the machine as root and start the server. The status will then show green but I still can't access the panel. If you come up with a solution, please share it here and if anyone else has a suggestion then I am ALL ears (well eyes really).

Thunderheart


Could not reload FOP server - message

chucknb28409's picture

I have everything working including FOP, I just get this message in the system status window. So I assume its a bogus message, it just annoying to have it keep poping up.

Thanks


Could not load FOP Server

asarkar's picture

please change manage_user : and manage_secret : of /var/www/html/panel/op_server.cfg to asterisks /etc/asterisk/manager.conf admin and secret. Then RESTART the machine which reload op_server.pl on port 4445


"Could not load FOP Server"

LCannon's picture

Could you clearify your message a bit more? I'm in the file "op_server.cfg" and see:

; user and secret connting to * manager
manager_user=UNUSED
manager_secret=UNUSED

Are you saying to change the "UNUSED" to "asterisks /etc/asterisk/manager.conf"?

???

Please pardon my need for detail. I'm rather new to this.


FOP server

compused's picture

Hi
I got FOP running without error messages by renaming the bounce_op.sh file in:
/var/www/html/admin/bounce_op.sh

to eg
/var/www/html/admin/bounce_op.sh_old

then restarting asterisk

Michael Daly
Melbourne
Australia


__________________

Michael Daly
Melbourne
Australia


Also see here

jperry999's picture

FOP unalbe to load message

taijitutech's picture

I did some checking and when looking into the amportal.conf file the AMPWEBADDRESS value was being set to AMPWEBADDRESS=xx.xx.xx.xx and I after looking at another system that worked there was no xx.xx.xx.xx. it was only AMPWEBADDRESS=
so after removing the xx.xx.xx.xx
The server was able to resolve the IP to the localhost and everything worked.


I did checked for both on a fresh installation and still

pctouch's picture

I installed asterisk now fresh on 1-12-09 I checked both i don't have an
/var/www/html/admin/bounce_oampp.sh
and on my amportal.conf the AMPWEBADDRESS= is blank, and still get the problem is it a bug?


more details please...

fskrotzki's picture

more details please... Which version of asterisk and FreePBX? Last I checked the FOP does not work with any version of asterisk 1.6 yet.


2.5.1.1

pctouch's picture

I just installed a week ago and installed all modules


That is only half of the

fskrotzki's picture

That is only half of the information needed. The version of asterisk you are attempting to use?


1.4.22

pctouch's picture

my asterisk version is the 1.4.22


Well the FOP should

fskrotzki's picture

Well the FOP should work.

Now it comes down to more questions and you providing answers.

Is your system build from a distro? If so who's? If not it's hand built, so what OS, who's directions did you use (link please), what did you deviate from in the directions and why.

fyi: my bounce script is at /var/lib/asterisk/bin/bounce_op.sh


it is the asterisk now

pctouch's picture

it is the asterisk now bistro that comes with centos 5.2, the I just downloaded it 2 weeks ago and burned the iso image and installed for testing.Also I installed all freepbx moduels available


So that you know asterisknow

fskrotzki's picture

So that you know asterisknow is in Beta but it has been pretty stable, have you checked the AsteriskNow bug repoting system for this issue to see if they know about it already, and/or posted a fix for it? If not please report it to them as they might have a minor install issue.


Bug reported

pctouch's picture

Thanks for the newa, I did check


Interesting

wattsie's picture

Hi,
[deleted]
Cheers.

I have posted this as a bug....

Cheers.


Please post this as a bug in

fskrotzki's picture

Please post this as a bug in the AsteriskNow bug tracker.


yo solucione el problema

jk-la's picture

yo solucione el problema utilizando el comando

amportal restart

luego funciono todo...


asterisknow, FOP unalbe to load message

peterg's picture

Look like it is a typo "RUNFOP" in the configuration file
/var/www/html/admin/functions.inc.php

Error is in this line
if ($amp_conf['FOPRUN'] && !$amp_conf['FOPDISABLE']) {

the line I think should me,
if ($amp_conf['RUNFOP'] && !$amp_conf['FOPDISABLE']) {

Thats what fixed it for me.


Fix that problem

fgendorf's picture

Hello, I discovered that this problem in asteriskNow is becouse username from httpd is não asterisk.
To fix change User to asterisk in httpd.conf.

[]s


apache to asterisk and file ownership

pquiring's picture

Changing apache to run as asterisk fixed all my problems.
But there is a side effect. You might not be able to upgrade modules since file ownership is all mixed up (some apache some asterisk).
To fix that do this:
After you change apache to run as asterisk (edit /etc/httpd/conf/httpd.conf and change User/Group to asterisk then run 'service httpd restart') you should also run these commands (as root):
cd /var/www/html
chown -R asterisk:asterisk *
And everything should work.


Honestly i tried all these comments and got no where.....

kanesworld's picture

Can anyone give a real explation what the panel is for and why its not working and how to fix it. It seems to be a common installation problem.

Thanks You

If I figure it out bofore i see a post i will post my results...


__________________

Kane's World


Since FOP1 is end of life

SkykingOH's picture

Since FOP1 is end of life and of little use (you can still go to asternic.org and see what it does) I would simply suggest installing the new FOP2. It works great.