Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Fop 2.28, FreePBX 12, Asterisk 12, Ubuntu 14.04 - not working - Solved

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

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 247 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    P
    pebley
    wrote on last edited by
    #1

    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 http://nerdvittles.com/?p=11041

    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.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • P
        P
        pebley
        wrote on last edited by
        #3

        Thanks root was /var/www/html

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

        Thanks

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups