ftocc

Again : Connect attempt from '127.0.0.1' unable to authenticate

HyperBlade
Posts: 4
Member Since:
2008-03-26

I already read this : http://lists.digium.com/pipermail/asterisk-users/2007-March/18171...
However both my manager.conf and op_server.cfg match :

manager.conf :
[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

op_server.cfg :
[general]
; host or ip address of asterisk
manager_host=127.0.0.1

; user and secret for connecting to * manager
manager_user=admin
manager_secret=amp111
...
also from amportal.conf :
# AMPMGRUSER: the user to access the Asterisk manager interface
AMPMGRUSER=admin

# AMPMGRPASS: the password for AMPMGRUSER
AMPMGRPASS=amp111

AUTHTYPE=none

Does anyone have any idea why I still get the
Parsing '/etc/asterisk/manager.conf': [Mar 31 09:29:16] Found
Connect attempt from '127.0.0.1' unable to authenticate
messages ?



HyperBlade
Posts: 4
Member Since:
2008-03-26
Looks like the 3rd day was the good one

It is hudlite-server that is causing the problem. I think I'll be able to handle from there :)



rehmans
Posts: 222
Member Since:
2007-06-24
I have the same problem too.

I have the same problem too. Any troubleshooting tips ?

--


HyperBlade
Posts: 4
Member Since:
2008-03-26
Yes First of all, shutdown

Yes

First of all, shutdown hudlite to see if the message disappear (just to see if it's the same problem as me) :
service hudlite-server stop

If the message disappeared go in trixbox's Asterisk->Config Edit and verify that manager.conf, manager_additionnal.conf or manager_custom.conf have the following entry :

[remote_mgr]
secret=0chanc3yo
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

save the .conf
apply the changes and restart hudlite : service hudlite-server start
The error message should be gone.

Ah one more thing : if you don't have manager_additionnal.conf and manager_custom.conf, I suggest you create them even if you leave them empty (make sure the owner/group is asterisk).

Hope it helps :)
Just post back if you need more help.



rehmans
Posts: 222
Member Since:
2007-06-24
Thanks ! I just rebooted

Thanks !

I just rebooted the system and I think I got rid of it. I'll definitely seek your help once the ghostly error comes to haunt my box again.

"Connect attempt from '127.0.0.1' unable to authenticate"

All tricks apart but is there a way we can find out directly what is trying to connect and being rejected ? I've seen several trixbox posts and every time there was a different reason causing the error.

I'm sure the above error message that comes up is a very general one but there can be multiple reasons causing it.

--


zildia143
Posts: 1
Member Since:
2008-04-12
unable to authenticate

got same problem too. i am using ubuntu 7.0 server with asterisk. hope you can help me with this too. thanks



HyperBlade
Posts: 4
Member Since:
2008-03-26
Sorry I was kinda busy

Sorry I was kinda busy lately.

@zildia143
Did you try what I posted about hudlite ?
Connect attempt from '127.0.0.1' unable to authenticate means that a program on your trixbox/asterisk machine is trying to connect to another program on the same machine but doesn't have the good username/password (or in the case of hudlite, the user ismply didn't exist). If fixing hudlite didn't solve your problem, you'll have to try shutting other programs to find which one is causing trouble. It's probably something like mysql or apache.

BTW I'm no expert on trixbox or asterisk. I just started using it 3 weeks ago (I had 0 knowledge about PBX) so don't be too hard on me if I don't have the answer for you ;)



mrmaggoo
Posts: 24
Member Since:
2007-06-28
I found problem!

go to amportal.conf and look for

# AMPWEBADDRESS: the IP address or host name used to access the AMP web admin
#AMPWEBADDRESS=192.168.1.101
AMPWEBADDRESS=192.168.1.xxx

input your servers ip address perform an amportal restart and presto! It worked for me!



jahyde
Posts: 1996
Member Since:
2006-06-02
did you try search

did you try search ;)
http://trixbox.org/forums/trixbox-forums/help/again-connect-attem...

--

--my PBX is run on 2 V8's



jimsngc
Posts: 8
Member Since:
2007-05-25
RE; Yes First of all, shutdown

Thanks HyperBlade,

That was the fix for me!

Jim



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.