login problem
-
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 continuenetstat -lnp |grep 4445 :
tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 23644/fop2_serverplease Help me
-
-
-
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,
-
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"; -
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 : xxand 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. -
-
-
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.
-
-
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
-
-
Most probably you have a mixed configuration, some things from an rpm/market installation, and some things from a manual installation.
[fixed]
cat /etc/asterisk/fop2
[/fixed]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
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