Fop 2.28, FreePBX 12, Asterisk 12, Ubuntu 14.04 - not working - Solved

  1. 9 years ago
    Edited 9 years ago by pebley

    I cannot seem to get FOP2 to run at all. I've got it working on previous FreePBX installs, but I've tried a couple of time on fresh installs with the following setup:

    Freepbx 12, Asterisk 12, Ubuntu 14.04, FOP 2.28 (I previously typed 2.27... it is 2.28)
    (Incredible PBX 12 with Asterisk 12 and FreePBX) as per [url=http://nerdvittles.com/?p=11041]http://nerdvittles.com/?p=11041
    [/url]

    I just get:
    server/fop2_server --test
    Flash Operator Panel 2 - Valid License (1)
    Could not write configuration data /var/www/fop2/fop2-variablesGENERAL.txt.
    Check your file permissions

    I used debian64 package.
    Fop Manager did not install, and the neither did the MySQL tables. I have manually done both now, but still same issue.

    -----------------------
    Couple of other screen captures
    root@swindon:/usr/src/fop2# /etc/init.d/fop2 start
    Starting Flash Operator Panel 2: fop2.
    root@swindon:/usr/src/fop2#

    ----
    root@swindon:/usr/src/fop2# /etc/init.d/fop2 stop
    Stopping Flash Operator Panel 2: fop2start-stop-daemon: warning: failed to kill 27118: No such process
    1 pids were not killed
    No process in pidfile '/var/run/fop2.pid' found running; none killed.

    -----
    manager.conf

    [general]
    enabled = yes
    port = 5038
    bindaddr = 0.0.0.0 (have also tried 127.0.0.1)
    displayconnects=no ;only effects 1.6+

    [fop2]
    secret = fop222
    deny = 0.0.0.0/0.0.0.0
    permit = 127.0.0.1/255.255.255.0
    read = all
    write = all
    writetimeout = 1000
    eventfilter=!Event: RTCP*
    eventfilter=!Event: VarSet
    eventfilter=!Event: Cdr
    eventfilter=!Event: ExtensionStatus
    eventfilter=!Event: ChannelUpdate

    ----

    fop2.cfg

    [general]
    ; AMI definitions
    manager_host = 127.0.0.1
    manager_port = 5038
    manager_user = fop2
    manager_secret = fop222
    ;event_mask=agent,call,command,system,user,dialplan

    Any help, will be much appreciated.

    Thanks root was /var/www/html

    I've now changed the fop2.cfg to reflect this.
    All works now

    Thanks

  2. admin

    5 Jan 2015 Administrator

    What is the web root on that installation? /var/www ? /var/www/html ? The client files in a debian/ubuntu file are installed by default in /var/www/fop2 as the web root by default is /var/www, but it seems in your distro it is not, or the "make" command was not run or failed to copy the fop2 html files to that location.

    ls -la /var/www

    ls -la /var/www/html

    What do you have, and where?

  3. Thanks root was /var/www/html

    I've now changed the fop2.cfg to reflect this.
    All works now

    Thanks

or Sign Up to reply!