LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cronjob suddenly stopped working giving Crond Authentication Failure Error. (https://www.linuxquestions.org/questions/linux-newbie-8/cronjob-suddenly-stopped-working-giving-crond-authentication-failure-error-859159/)

tom007 01-28-2011 12:12 AM

Cronjob suddenly stopped working giving Crond Authentication Failure Error.
 
Hi,

I have set up my cron job for Oracle User. It was

working fine. But After changing the cron, it ran

for the first time. Then the next time, it throws

the below error:

crond[11501]: Authentication Failure

I tried the following work arounds:

1) Checked the cronjob with other users

(root,abc,xyz,etc)
2) Restarted the crond service.
3) Cleared all the entries in the Oracle user, and

just tried using a simple touch command to test

the cronjob.
4) checked visudo extries also.

After trying out all the above work arounds, iam

unable to run the cronjob.

Thanks in Advance :-)

AlucardZero 01-28-2011 05:17 PM

is the user's password expired?

tom007 01-31-2011 05:52 AM

RESOLVED: Cronjob suddenly stopped working giving Crond Authentication Failure Error.
 
Hi All,

The failure of Oracle users has exceeded the number of failures (i.e.,5 times). But 5 times is the number of failures which has been specified in pam file. I have Cleared the faillog for oracle user. Now the cronjob for oracle is running successfully.

Check the Faillog:

Login as Root:

Check the Failed Logins:

# faillog -a oracle

Reset the Failed Logins:

# faillog -r oracle

Check the Failed Logins:

# faillog -u oracle

After that the oracle user is able to run the cronjob.

Thanks.. :-)


All times are GMT -5. The time now is 09:28 AM.