Installation problem

I get

[root@voiptracker fop2]# /usr/local/fop2/fop2_server -test
/usr/local/fop2/fop2_server: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory


when starting fop2 - any suggestions

Comments

  • What linux distribution are you using? What fop2 version did you download?

    Best regards,
  • Redhat 5.4 and fop2-2.11-fc10-i386.tgz
    thought it would be the closest match
  • used the centos version today - its no longer complaining

    thanx for the help
  • Can fop2 be run from a separate box?
  • ok, server appears to now start
    get when testing
    [root@voiptracker ~]# /usr/local/fop2/fop2_server -test
    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!


    this is NOT on the same box as the asterisk server
    from web get prompt for extension and password, but it never connects
  • The --test option does not start the server, just test the connection.

    To verify if the server is running:

    pgrep fop2_server

    To actually start fop2 from the command line with no init script:

    /usr/local/fop2/fop2_server -X 3

    When the server is running it listens to port tcp/4445, that port must be open, not filtered. The web application will try to connect to that port, you have problems with that right now. Be sure that the fop2_server is running and that the port is not filtered.

    Best regards,
  • root 1297 1 0 09:20 ? 00:00:00 /usr/local/fop2/fop2_server -d
    root 1322 1266 0 09:22 pts/2 00:00:00 grep fop2

    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN
    tcp 0 0 10.35.30.7:4445 10.26.2.173:60070 ESTABLISHED
    tcp 0 0 10.35.30.7:4445 10.26.2.173:49481 ESTABLISHED

    no firewall on either box

    ok, server appears to be running
    goto voiptracker/fop2 and get login prompt for extension and password
    tried multiple extension and all passwords
    probably doing something trivially stupid - any other suggestions?
  • also installed another test box, and get the system is not available message when trying to login
    this system is on the same box as asterisk
    any thoughts on what I am missing here?
  • Depends on what you are experiencing.. I am trying to determine what happens:

    1)
    If you get a login prompt, and then you are never prompted again and see the attempt to connect 1,2,3,4

    That means that the client is not able to connect to port 4445. Is the service is running as it seems to be, then you have some kind of firewall preventing access to that port (you can try to telnet to port 4445 from your browser machine and see if it connects). Or you have a flash blocker or the flash player is not installed. There is another, rare, potential cause: that you have non ascii characters on your button configuration file and that file is not saved as utf8.

    2)
    You get the login prompt, and enter some extension and password, and then you are prompted BACK for user and password.

    In that case you are connecting to port 4445 but your credentials are incorrect. By default fop2 includes autoconfiguration for freepbx and reads users from voicemail.conf using the extension number and voicemail secret for credentials. If you created a user yourself in fop2.cfg , use that. If you did a manual configuration, do not forget to comment out the last #exec line because it will override what you configured previously by hand.

    Best regards,
  • Depends on what you are experiencing.. I am trying to determine what happens:

    1)
    If you get a login prompt, and then you are never prompted again and see the attempt to connect 1,2,3,4

    That means that the client is not able to connect to port 4445. Is the service is running as it seems to be, then you have some kind of firewall preventing access to that port (you can try to telnet to port 4445 from your browser machine and see if it connects). Or you have a flash blocker or the flash player is not installed. There is another, rare, potential cause: that you have non ascii characters on your button configuration file and that file is not saved as utf8.

    2)
    You get the login prompt, and enter some extension and password, and then you are prompted BACK for user and password.

    In that case you are connecting to port 4445 but your credentials are incorrect. By default fop2 includes autoconfiguration for freepbx and reads users from voicemail.conf using the extension number and voicemail secret for credentials. If you created a user yourself in fop2.cfg , use that. If you did a manual configuration, do not forget to comment out the last #exec line because it will override what you configured previously by hand.

    Best regards,
  • ok, realized what I was doing wrong -
    nice product
Sign In or Register to comment.