Page 1 of 1

Issued with "cron" after password change

PostPosted: Thu Oct 05, 2017 5:30 pm
by bmxmike
Dedicated Server
Vicibox ISO 7.0.4
VERSION: 2.14-631a
BUILD: 170926-1618

Issue:
Ran the script ADMIN_update_cron_pass.pl, now seeing:

-manager.c:2677 authenticate: 127.0.0.1 failed to authenticate as 'sendcron'
-== Connect attempt from '127.0.0.1' unable to authenticate

Inside my asterisk cli

Description:
So after having DB issues for the past couple of days I decided to just scrap my backup and start form scratch again. Everything installed fine no issues, did obligatory first run items: Change index.html, install DGG, and all that stuff. After I had everything running and did my initial login to set the default passwords I ran the script "ADMIN_update_cron_pass.pl" (this was after doing a mysql-secure) and everything seemed to run correctly. The pass I entered shows in the "Server" and "System Settings" as well as on "Phones". I also checked manager.conf, astguiclient.conf, and phpmysql and pass matches in all locations. I'm even able to login to mysql with cron using the new password, but I continue to get errors for "sendcron" and only that one.

Re: Issued with "cron" after password change

PostPosted: Thu Oct 05, 2017 5:50 pm
by mflorell
I'm not familiar with the ADMIN_update_cron_pass.pl script, looks like it's not part of the VICIdial codebase.

Re: Issued with "cron" after password change

PostPosted: Fri Oct 06, 2017 9:51 am
by bmxmike
It looks like the script was created by poundteam and found through searching the forum, here is the specific topic: http://www.eflo.net/VICIDIALforum/viewt ... 482a6162b7

It asks for a new cron password and then the mysql password and runs through and is suppose to change the password for cron everywhere in the system. Is there anywhere other than the following that pass needs to be changed at:

-/etc/asterisk/manager.conf - [sendcron]
-/etc/astguiclient.conf - VARDB_pass
-Admin -> Server - cron secret
-Admin -> Phones - manager secret

Re: Issued with "cron" after password change

PostPosted: Fri Oct 06, 2017 12:48 pm
by mflorell
That looks like it should be everything, but I really don't have time today to look through that code and make sure it actually does everything correctly.

Re: Issued with "cron" after password change

PostPosted: Tue Oct 10, 2017 11:17 am
by bmxmike
Thanks for taking the time to respond, I was able to get it fixed up!

Again thank you for taking time out to help :)