Can't login

  1. 12 years ago

    Hi all,

    i have installed FOP2 in Elastix Distribution and it worked for a while!

    i have updated with "yum update" the system, and now i can't login. it appears the login form but then it tries to connect and appears the system is down or something similar...

    the command /usr/local/fop2/fop2_server --test returns

    Flash Operator Panel 2 - Valid License (1)
    Connection to manager OK!

    appear to be ok.

    i have tried to create a user in /usr/local/fop2/fop2.cfg

    user=622:1234:all

    but i get the same result.

    I use FreePBX module, and i don´t use extension with voicemail password. i have tried this to with no sucess!!!

    this was my update "yum.log"
    Jul 16 02:46:47 Installed: kernel-2.6.18-308.11.1.el5.i686
    Jul 16 02:46:51 Updated: kernel-headers-2.6.18-308.11.1.el5.i386
    Jul 16 02:47:03 Installed: kernel-devel-2.6.18-308.11.1.el5.i686
    Jul 16 02:47:04 Updated: openldap-2.3.43-25.el5_8.1.i386
    Jul 17 01:22:41 Updated: sudo-1.7.2p1-14.el5_8.i386

    Any ideas where i can see what is going wrong???

    Thanks all.

    Diogo

  2. admin

    17 Jul 2012 Administrator

    If you see a timeout, then it is NOT A PASSWORD problem. It is a CONNECTION problem. So do not focus on the user/pass but on the connection issues.

    Connection issues: fop2 server is not running, port tcp 4445 is blocked. There are many post talking about how to check if fop2 server is running, and an interactive troubleshooter that might help you in http://suppport.asternic.biz

    To check if fop2 server is running

    prep fop2

    (should return a number)

    to check the port usage

    netstat -lnp | grep 444

    (you should see fop2_server using port 4445)

    To check firewall rules:

    iptables -vnL

    (large output, you will have to see if you have firewall rules configured, that you are allowing port 4445)

  3. Hi Nicolás,

    thanks for your help....

    i believe that is a connection problem, but i cant figure out what is wrong.....

    [root@localhost ~]# pgrep fop2
    3938

    [root@localhost ~]# netstat -lnp | grep 444
    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 3938/fop2_server
    tcp 0 0 0.0.0.0:4446 0.0.0.0:* LISTEN 4564/perl

    I have disable iptables to simplify!!! :-)

    it tries to connect "Connecting to server, attempt number : 1,2,3,4,5,6,7........" and then i get the error "System is not available right now".... :-(

    Any ideas???

    thanks

    Diogo

  4. admin

    19 Jul 2012 Administrator

    What fop2 version are you running? What browser are you using? Can you telnet to port tcp/4445 from your workstation?

    Try to use fop 2.25 or higher, set disableWebsocket=true in /var/www/html/fop2/js/presence.js if it's not set already.

    If you cannot telnet to port 4445 from your workstation, then you have a firewall somewhere blocking the connection. Also be sure you do not have flash blockers (adblock and similar plugins might block flash content).

    Best regards,

  5. 11 years ago

    Sorry, but after hours searching and testing I discovered by myself that the login is
    Extension Number and the password is the same as set in VoiceMail Asterisk system, why this ?

  6. admin

    6 Jun 2013 Administrator

    Hi,

    The FIRST PAGE of the user manual, titled "LOGIN IN", available online, says and explains all:

    http://www.fop2.com/documentation-userm ... gin-in.php

    Use your extension and password as defined in /usr/local/fop2/fop2.cfg to login. If you use the standard FreePBX install, you will login with your Extension Number and Voicemail Password. In order to perform actions with the panel is mandatory to login with some extension, as that extension will be the originator of the actions you perform.

    If you want to modify passwords, use the fop2admin manager module, or you have the option to configure things by hand, but if using freepbx I do not recommend it at all.

or Sign Up to reply!