Issued with "cron" after password change

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Issued with "cron" after password change

Postby bmxmike » Thu Oct 05, 2017 5:30 pm

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.
bmxmike
 
Posts: 24
Joined: Sun Jan 01, 2017 6:54 pm

Re: Issued with "cron" after password change

Postby mflorell » Thu Oct 05, 2017 5:50 pm

I'm not familiar with the ADMIN_update_cron_pass.pl script, looks like it's not part of the VICIdial codebase.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Issued with "cron" after password change

Postby bmxmike » Fri Oct 06, 2017 9:51 am

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
bmxmike
 
Posts: 24
Joined: Sun Jan 01, 2017 6:54 pm

Re: Issued with "cron" after password change

Postby mflorell » Fri Oct 06, 2017 12:48 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Issued with "cron" after password change

Postby bmxmike » Tue Oct 10, 2017 11:17 am

Thanks for taking the time to respond, I was able to get it fixed up!

Again thank you for taking time out to help :)
bmxmike
 
Posts: 24
Joined: Sun Jan 01, 2017 6:54 pm


Return to Support

Who is online

Users browsing this forum: Alishkx11 and 136 guests