Tutorial: Installing FOP2 on Elastix & other Freepbx Dist.

  1. ‹ Older
  2. 14 years ago

    This is really helpful. Thanks for sharing!

  3. I have followed the instructions and triple checked everything but when I run

    /usr/local/fop2/fop2_server –test

    I get the following error

    -bash: /usr/local/fop2/fop2_server: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

    Please help

  4. admin

    18 Aug 2010 Administrator

    You are probably running the incorrect binary for your plataform. Be sure to download the correct one for your distribution: centos/debian 32/64 bits.

    You can find out if its 32 or 64 bits with this command:

    uname -a

    If you see the i386, i585 or i686 strings in there, it is 32 bits. If not it is 64 bits.

    Best regards,

  5. ah ha. thanks very much. do i need to uninstall the 32 bit ver and how do i do it

  6. admin

    18 Aug 2010 Administrator

    You can download the other version and install over, no need to uninstall. The needed files will be overwritten.

  7. 13 years ago

    Bob, your link went bad :o

    http://www.elastixconnection.com/index. ... &Itemid=89

  8. I have problem in installation when using :

    /usr/local/fop2/fop2_server –test

    I get:

    Can't run with DEBUGGING Perl at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
    BEGIN failed--compilation aborted at /loader/0x8b28084/Filter/Crypto/Decrypt.pm line 37.
    Compilation failed in require at script/fop2_server.pl line 1.
    BEGIN failed--compilation aborted at script/fop2_server.pl line 1.

    I have stopped fop

  9. admin

    28 Mar 2011 Administrator

    Hi,

    FOP2 does not work with perl compiled in debugging mode. You will need to update your perl or recompile without debugging flags. There are some .rpm in the download page for fedora systems and old centos 4 that come with such a perl.

    I have problem in installation when using :

    /usr/local/fop2/fop2_server –test

    I get:

    Can't run with DEBUGGING Perl at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
    BEGIN failed--compilation aborted at /loader/0x8b28084/Filter/Crypto/Decrypt.pm line 37.
    Compilation failed in require at script/fop2_server.pl line 1.
    BEGIN failed--compilation aborted at script/fop2_server.pl line 1.

    I have stopped fop

  10. 12 years ago

    HI there

    Every time I run /usr/share/fop2/fop2_server I get the following out put:

    cat: /usr/share/freepbx/admin/modules/framework/module.xml: No such file or directory
    /usr/share/fop2/autoconfig-buttons-freepbx.sh: line 17: [: -gt: unary operator expected

    Can anyone assist?

  11. admin

    27 Jun 2012 Administrator

    I think I have sent you an email. You have an old/outdated FreePBX version. The fix is not complicated, you have to edit autoconfig_buttons_freepbx.sh and remove the following block:

    AMPVERSION=`cat $AMPDIR | grep "<version>" | sed -e 's/<[^>]*>//g' | cut -b 2,4`
    
    if [ $AMPVERSION -gt 25 ]; then
    QUEUECONTEXT="from-queue"
    else
    QUEUECONTEXT="from-internal"
    fi

    and replace it with:

    QUEUECONTEXT="from-internal"

    You have FreePBX or a fork based on version 2.5, consider that FreePBX is now on stable version 2.10. Even in version 2.5 the module.xml file was present as far as I remember. But it is not on your system.

  12. OK here is where I am with this. I did a fresh install off elastix 2.2 then install fop2 from the addon mod, setup an extension, add a manager, I then tried to connect via the extension that I setup, and no go, it don't work. It just comes up with "could not connect to server" . does anyone out their really have a step by step instruction off how this work. I Know that the addon mod was to make the install easy. But I believe that their more to it than what is posted. I bought the licence off witch I can't used, because I can't even get the basic setup to work. I paid for support from elastix off which was no help. I don't mind paying someone to install this for me, but I also need to know how its done. again is their anyone out their that real knows how this thing works. Help.

  13. admin

    19 Jul 2012 Administrator

    OK here is where I am with this. I did a fresh install off elastix 2.2 then install fop2 from the addon mod, setup an extension, add a manager, I then tried to connect via the extension that I setup, and no go, it don't work. It just comes up with "could not connect to server" . does anyone out their really have a step by step instruction off how this work. I Know that the addon mod was to make the install easy. But I believe that their more to it than what is posted. I bought the licence off witch I can't used, because I can't even get the basic setup to work. I paid for support from elastix off which was no help. I don't mind paying someone to install this for me, but I also need to know how its done. again is their anyone out their that real knows how this thing works. Help.

    Hi,

    You can contact the live help for assistance... If you installed via market then there is nothing else to do.

    But, fop2 is a client/server application, and requires a clean network connection to tcp port 4445. If you do not clear that connection up, you won't be able to connect. It is not a user/password problem, it is a network connection/configuration problem. And as such, there is no step by step guide, as the network was set by someone, with some particular rules, equipment, etc. There are no two networks alike, so it is impossible to have a step by step guide. As there are no steps, just the clear notion that your network path from the client(browser), and the server (fop2_Server) should clear up tcp port 4445 (forwarding if server if behind a router, and also allowing that flow).

    How to check: telnet to port tcp 4445 from your desktop to the server. If it connects, then your browser connection should work fine. If it does not connect, you must fix your network.

    If you contact me via the live help and provide access to your panel, I can verify network issues in 2 minutes, trying that telnet command is quite easy.

    Best regards,

  14. I did everything from the first post and I got this:

    /usr/local/fop2/fop2_server --test
    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!

    When I try to log in into FOP2 it shows follow error

    Could not connect to server

    Can you help me, What should I do to make it works..

  15. admin

    19 Oct 2012 Administrator

    One thing is the server connection to the asterisk box

    Another thing is your browser trying to connect to fop2 server

    You are --testing the former

    You have problems with the later.

    To troubleshot CLIENT problems, there is a nice troubleshoter that might help you out

    http://support.asternic.biz/index.php?/ ... tep/View/4

    My guess is that you have a firewall in place preventing connection to port tcp/4445 OR the fop2 service is not started

  16. 11 years ago

    Hello Admins,

    Please help me with my issue :(

    I installed Asterisk PBX Distro 64bit:

    Stable-3.211.63-10
    FreePBX 2.11, Centos 6.3
    Asterisk 1.8

    After that installed fop2 trial version.

    When I checked

    /usr/local/fop2/fop2_server –test

    I have this is message in console

    Flash Operator Panel 2 - No valid license found. Demo Mode

    Can't listen to port 4445

    Early I don't installed previous version FOP.
    How I can fix this problem?
    Thank you in advance!

  17. admin

    28 Oct 2013 Administrator

    It is --test (dash dash test)

    It seems you are entering only one dash, so when you type that fop2 tries to execute normally, and if it is already running, it will say that it can listen to port 4445.

    Best regards,

  18. Thank you!
    This is really fixed my issue.

    Best regards,
    Edem

  19. 10 years ago

    I have a problem installing FOP2 admin on freepbx. I have made sure that I have the park and queue modules enabled, I have even re-installed them. But I still get the 'Please wait while module actions are performed' hanging upon trying to install the module.

    I am using FreePBX 2.11

    Any help would be greatly appreciated :-)

  20. admin

    10 Jan 2014 Administrator

    what fop2admin version are you having problems with?

  21. Hi All,
    Before I get the login screen the message "something went wrong" appears briefly. When I am logged in to FOP2 I only see a menu bar with Filter, Dial, and Available buttons on the left and a Logout button on the right. No buttons for extensions, queues etc. The placeholders for the extensions, queues etc areas briefly show up after I login but they are not filled in and disappear. The screen remains blank with a dark grey status bar at the bottom ("FOP2 - Version 2.28 - Lite Version - Limited to 15 extensions . Buy it now for unlimited extensions. If you already have a code enter it here"),

    I Installed the i386 version fop2-2.28-centos-i386(1).tgz according to the tutorial.
    on PBX in A Flash :
    PIAF Installed Version = 2.0.6.5
    FreePBX Version = 2.10.1.16
    Running Asterisk Version = 11.10.0
    Asterisk Source Version = 11.10.0
    Dahdi Source Version = 2.9.0
    Libpri Source Version = 1.4.14
    Operating System = CentOS release 6.5 (Final)
    Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit

    I uninstalled FOP ( 1) amportal stop_fop, 2) in freepbx:module admin remove the fop framework. 3) and then reboot)

    "/usr/local/fop2/fop2_server --test" gives:
    Flash Operator Panel 2 - License file fop2.lic not found.
    Running in Demo Mode
    Connection to manager OK!

    I enabled a debug log with options "-l /var/log -X 15". This produced a log in which I can find no obvious errors. All extensions and one queue on my system seem to be found,

    Any idea what is wrong?

    regards,
    Tom

  22. Newer ›

or Sign Up to reply!