login problem

  1. 10 years ago

    Hello
    i install FOP2 from Addons elastix but i can not login
    i trying to login enter login details but agin aks me user and password
    Try:
    /usr/local/fop2/fop2_server --test
    Flash Operator Panel 2 - Valid License (1)
    and sttiling and not continue

    netstat -lnp |grep 4445 :
    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 23644/fop2_server

    please Help me

  2. admin

    8 Jul 2014 Administrator

    Log into fop2 does not use any of the system passwords (manager, etc). Go to the "fop2 users" menu in Elastix, and create a user there and set the password there.

    Best regards,

  3. Hi
    I know and created user
    I trying with fop user to login

  4. I remove fop2 from addons and install with Manuel :http://www.fop2.com/documentation-installation-from-tarball.php
    but i have one problem now how i create user and password ?
    i try install fop2 manager :http://www.fop2.com/documentation-installation-fop2manager.php
    but if try to open admin page show me error :
    /var/www/html/fop2/admin/dblib.php (line 56)
    No pudo conectar a la base de datos.

    please help me to create user with all Permissions ,and All Buttons ,All Extensions , All Conferences ,All Trunks

    Best regards,

  5. admin

    11 Jul 2014 Administrator

    What elastix version do you have installed? If it is not 2.4 or higher, you have to edit config.php on fop2manager and set the correct mysql user/pass, etc. This come straight from fop2manager README file:

    VANILLA ASTERISK INSTALLATION
    -----------------------------

    If you do not use FreePBX, you should also create a MySQL database
    and set proper credentials in config.php.

    You can create a database named fop2 with the command:

    mysqladmin -u root -p create fop2

    You will be prompted for the mysql root password that you must know
    beforehand.

    Then create a user to access that database:

    mysql -u root -p -e "GRANT all privileges ON fop2.* TO fop2user@localhost identified by 'somepassword'"

    That command will create a mysql user named 'fop2user' with password
    'somepassword'

    So, your config.php should look like this:

    $DBHOST="localhost";
    $DBUSER="fop2user";
    $DBPASS="somepwassord";
    $DBNAME="fop2";

  6. Hi,

    my elastix ver.2.4.0
    i do step by step but now i can login :
    Connecting to server, attempt number : 2
    Connecting to server, attempt number : 3
    Connecting to server, attempt number : 4
    ........
    Connecting to server, attempt number : xx

    and also i have same error on fop2manager page :

    /var/www/html/fop2/admin/dblib.php (line 56)
    No pudo conectar a la base de datos.

  7. Hi
    i remove all fop2 and now i install fop2 from Addon elastix but i have problem if i create user on FOP2 Users with all button and All Extensions but if i try to login fop2 with same user i can not ask me again user
    i have fop licence FOP2 - 2-2.25.2

  8. Now i add user manually to fop2.cfg on directory : /etc/asterisk/fop2

    i login to fop2 but error show : "Manager connection problem "

    and fop2 without any button and Extensions

  9. admin

    14 Jul 2014 Administrator

    You are mixing many different things and configurations. That is not a good thing to do. You will break more than fix by doing that kind of changes. Also, you are thinking you have similar errors for very disimilar aspects and configurations. I already said it on my first reply, the fop2 login system does not use at all the set of permissions/configurations you have with the asterisk manager interface, or with mysql, or any other kind of user auth mechanism.

    Your safer bet is to install just the Elastix version, as is, with no modifications on ANY configuration file at all via the command line. From there, go to "fop2 users" and create a user (extension/password). Then you will be able to login, if it prompts for exten/pass again, then you are entering incorrect credentials. Remember that whenever you make a config change, you have to "apply changes", otherwise it won't take effect.

    Try to catch me on the live help, it will be much quicker to get things working if you receive first hand help.

  10. Hi,
    Because i searching on internet all ways i try
    Ok,
    now same way you tell me i do but i have same problem after i add user on "FOP2 Users" tab try to login to fop but it's again ask me user and password!
    now what i do ?

    Best regards,

  11. admin

    15 Jul 2014 Administrator

    If it ask again for user / password, you are entering them wrong. Not matching what you have in the fop2 users page, or perhaps not working because fop2.cfg was modified in ways it should not have been. Try to catch me on the live help, the forum is not a good place to solve this as you are desperate and are not providing enough details, I can ask for that, but it will take a month to get the proper answers to know where are you really standing.

    What you have to do:

    use an unmodified fop2.cfg version, if you have the elastix rpm version, the fop2.cfg file is in /etc/asterisk/fop2/fop2.cfg , you should not have any fop2.cfg file in /usr/local/fop2 . If you do, uninstall everything and install again from the marketplace.

    What I need to see to verify then, is the output from:

    /etc/asterisk/fop2/autoconfig-users-freepbx.sh

    Look at the output, look for the user= lines, you will see the extensions/passwords you can use to login in those user lines.

    user=EXTENSION:PASSWORD:permissions:groups:etc,etc

  12. 9 years ago

    I have installed elastix and also installed fop2 manager, beside I have created users but still i cannot login. Please can you help me how may rectify this issue.

    Thank you

  13. admin

    18 Dec 2014 Administrator

    Most probably you have a mixed configuration, some things from an rpm/market installation, and some things from a manual installation.

    cat /etc/asterisk/fop2

    Do you see "-c /etc/asterisk/fop2" in the OPTIONS line? If you do, and you installed FOP2 2.28 by hand, then remove that and restart the service, so configurations and scripts are loaded from the default location in /usr/local/fop2

or Sign Up to reply!