User asterisk access to crontab and pam authentication

Hey everyone,

I have a vps server in production with asterisk now (Version: 13.18.3) . I have installed a2billing for billing purposes. The database of a2billing (mya2billing) was accidentally deleted and I immediately restored it from backups. After the mysqlchek for repairing the database everything was back in place and calls can be made successfully.

While using the GUI of freepbx if I make any changes and hit the apply button I get the following error:

exit: 255
Authentication service cannot retrieve authentication info
You (asterisk) are not allowed to access to (/usr/bin/crontab) because of pam configuration.
Unable to continue. Cron line added didn’t remain in crontab on final check in /var/www/html/admin/libraries/BMO/Cron.class.php on line 113
#0 /var/www/html/admin/libraries/BMO/Cron.class.php(180): FreePBX\Cron->addLine(’* * * * * [ -x …’)
#1 /var/www/html/admin/modules/timeconditions/Timeconditions.class.php(167): FreePBX\Cron->add(’* * * * * [ -x …’)
#2 /var/www/html/admin/modules/timeconditions/ FreePBX\modules\Timeconditions->updateCron()
#3 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(95): timeconditions_get_config(‘asterisk’)
#4 /var/lib/asterisk/bin/retrieve_conf(864): FreePBX\DialplanHooks->processHooks(‘asterisk’, Array)
#5 {main}

While I’m using putty to ssh to the vps with the root account I can run amportal reload with no problems.

Something that I can’t explain is that If my use my provider’s VNC viewer for the vps I cannot login with the root account (saying password incorrect) but using the same credentials I am able to access it via putty.

Any help would be much appreciated

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.