I’m new to this and haven’t quite gotten the installation up yet.
I apparently used the wrong salad fork by posting this within someone else’s thread, so I’ll post this as it’s own thread.
I’m using Suse (I know Centos should work better, but we contracted support for Suse).
When I start freePBX with amportal start, I look at CLI and I keep getting:
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Connect attempt from ‘127.0.0.1’ unable to authenticate
manager.conf has the basic:
;
; Asterisk Call Management support
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
#include manager_additional.conf
#include manager_custom.conf
---------Which I think is right.
admin and amp11 match amportal.conf
AMPMGRUSER: the user to access the Asterisk manager interface
AMPMGRUSER=admin
AMPMGRPASS: the password for AMPMGRUSER
AMPMGRPASS=amp111
----------So, I don’t think manager.conf is the issue (??)
In amportal.conf it says that if AUTHTYPE is set to “database”, then the
AUTHTYPE: authentication type to use for web admin
If type set to ‘database’, the primary AMP admin credentials will be the AMPDBUSER / AMPDBPASS above
so I tried a combination of upper and lower case credentials for AMPDBUSER, but still get the same results (running ./apply_conf.sh to apply the changes between each). I also used admin/admin as suggested in a response to a similar thread from Bubba with the same results.
AMPDBUSER: the user to connect to the database named ‘asterisk’
AMPDBUSER=asteriskuser
AMPDBUSER=ampdbuser
AMPDBPASS: the password for AMPDBUSER
AMPDBPASS=amp109
here’s the log from asterisk
tail /var/log/asterisk/full
Oct 25 18:39:09 DEBUG[25573] manager.c: Manager received command 'Challenge’
Oct 25 18:39:09 DEBUG[25573] manager.c: Manager received command 'Login’
Oct 25 18:39:09 VERBOSE[25573] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Oct 25 18:39:09 VERBOSE[25573] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Found
Oct 25 18:39:09 NOTICE[25573] manager.c: 127.0.0.1 tried to authenticate with nonexistent user 'user’
Oct 25 18:39:10 VERBOSE[25573] logger.c: == Connect attempt from ‘127.0.0.1’ unable to authenticate
Oct 25 18:39:19 DEBUG[25575] manager.c: Manager received command 'Challenge’
Oct 25 18:39:19 DEBUG[25575] manager.c: Manager received command 'Login’
Oct 25 18:39:19 VERBOSE[25575] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Oct 25 18:39:19 VERBOSE[25575] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Found
Oct 25 18:39:19 NOTICE[25575] manager.c: 127.0.0.1 tried to authenticate with nonexistent user 'user’
Oct 25 18:39:20 VERBOSE[25575] logger.c: == Connect attempt from ‘127.0.0.1’ unable to authenticate
I’m not sure where user “user” is coming from since it is not in manager.conf in my last post
Are there other interesting places I should look for clues?
What am I missing?