Page 1 of 1

unable to authenticate

PostPosted: Sun Apr 13, 2008 12:31 am
by zildjian143
im having this problem in my fresh install hope you can help me. thanks

pr 13 13:29:02 NOTICE[5884]: manager.c:559 authenticate: 127.0.0.1 failed to authenticate as 'updatecron'
== Parsing '/etc/asterisk/manager.conf': Found
Apr 13 13:29:02 NOTICE[5885]: manager.c:559 authenticate: 127.0.0.1 failed to authenticate as 'listencron'
== Connect attempt from '127.0.0.1' unable to authenticate
== Connect attempt from '127.0.0.1' unable to authenticate

PostPosted: Sun Apr 13, 2008 11:55 am
by seaq
check your manager.conf entries for updatecron and listencron.

Check the SCRATCH_INSTALL guide, probabl your missing those!

Re: unable to authenticate

PostPosted: Wed Mar 23, 2016 2:54 pm
by vccsdotca
Hello everyone. All of these related posts seem to be old and mostly wrong entries in the manager.conf file but I can not for the life of me fix this error and could really use another brain please.
"Connect attempt from '127.0.0.1' unable to authenticate"

- I have vicibox server 7 installed with asterisk 11.20.0 (db and web separated). asterisk is reloading the dialplan and carriers from the DB without issue.
- I have re-ran install and upgrade several times
- manager.conf has correct values for cron, sendcron,updatecron and listencron and I absolutely can connect using telnet on locahost port 5038 with any of the users, locally or remotely. I have put permissions to "all" and added full permissive acls even.
- Firewalls are off

Some logs im seeing in mail/root which I havent seen online:
pattern match timed-out at /usr/share/astguiclient/AST_conf_update.pl line 259
pattern match timed-out at /usr/share/astguiclient/AST_vm_update.pl line 178

Notes: In the admin UI under Reports the servers are all in red, times are synced except for the second web server for some reason. I cant connect to the update repos wither (permission denied on the update url but I dont think this is relevant)

Vici-web VERSION: 2.8-403a
BUILD: 130510-1350

screen -r
There are several suitable screens on:
4024.ASTVDremote (Detached)
4021.ASTVDauto (Detached)
4018.ASTlisten (Detached)
4015.ASTsend (Detached)
4012.ASTupdate (Detached)
3826.asterisk (Detached)
3821.astshell20160323124620 (Detached)
1300.ASTemail (Detached)
1297.ASTfastlog (Detached)

service vicidial status
vicidial.service - LSB: ViciDial Telephony Server
Loaded: loaded (/etc/init.d/vicidial)
Active: active (running) since Wed 2016-03-23 12:46:25 PDT; 6min ago
Process: 3709 ExecStop=/etc/init.d/vicidial stop (code=exited, status=0/SUCCESS)
Process: 3776 ExecStart=/etc/init.d/vicidial start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/vicidial.service
├─3821 /usr/bin/SCREEN -S astshell20160323124620
├─3822 /bin/sh
├─3826 SCREEN -L -S asterisk
├─3827 /bin/sh
├─3832 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgcT
├─3843 ip_relay 40569 127.0.0.1 4569 9999999
├─3844 ip_relay 41569 127.0.0.1 4569 9999999
└─3845 ip_relay 42569 127.0.0.1 4569 9999999

Mar 23 12:46:15 vicidialer1 vicidial[3776]: Starting ViciDial Telephony Server...
Mar 23 12:46:15 vicidialer1 vicidial[3776]: Loading dahdi_dummy module... failed.
Mar 23 12:46:15 vicidialer1 vicidial[3776]: Fallback to dahdi module... done.
Mar 23 12:46:20 vicidialer1 vicidial[3776]: Initializing DAHDI Hardware... done.
Mar 23 12:46:20 vicidialer1 vicidial[3776]: Resetting vars and rolling logs... done.
Mar 23 12:46:25 vicidialer1 vicidial[3776]: Starting Asterisk... PID 3832, done.
Mar 23 12:46:25 vicidialer1 vicidial[3776]: Giving asterisk -1 process priority... done.
Mar 23 12:46:25 vicidialer1 vicidial[3776]: Starting ip_relay with OS specific version... done.
Mar 23 12:46:25 vicidialer1 vicidial[3776]: ViciDial Telephony Server Started. Log at /var/log/vicidial.log
Mar 23 12:46:25 vicidialer1 vicidial[3776]: ..done


I really dont know if this is an issue with the DB because the scripts run locally on the asterisk box, or if I should do a reinstall of asterisk or if it's the .pl scripts.. :cry:

Thank you in advance.

Re: unable to authenticate

PostPosted: Wed Mar 23, 2016 4:26 pm
by vccsdotca
Just to note this is happening on both of my fresh installs of asterisk. Thanks.

Re: unable to authenticate

PostPosted: Tue Mar 29, 2016 2:47 am
by darkeye08
Hi Good day!

Since you just recently installed your server. Have you tried considering to install the updated version of vicidial? You can use the vicibox.6.0.4 as for the base installation and update the SVN to the latest.


Hope you will make it work. Cheers! :)

Re: unable to authenticate

PostPosted: Tue Mar 29, 2016 9:20 pm
by vccsdotca
Thanks for the suggestion my friend. I finally got to it, the iax.conf file on server 2 did not have the proper settings or even the same looking file as server 1. I copied over the contents and it worked finally, really a silly situation and I don't know why the same asterisk version had 2 different files but it looks like someone was meddling before I came to the project.

For anyone else, ensure your iax.conf has all of the contexts in like default and inboundtrunk, but mainly that it has #include iax-vicidial.conf

Thanks again everyone.