Oracle DBA Tips and Techniques

By Arjun Raja

LOG: Local Authentication Failed…Attempt PAM authentication…PAM failed with error: Authentication failed

Posted by Arjun Raja on June 7, 2012

When running a job via Grid Control 11g  on AIX trying to use the option of Job type SQL SCRIPT and using Preferred Credentials the following error is received :

LOG: Local Authentication Failed…Attempt PAM authentication…PAM failed with error: Authentication failed

A look at the log file called /var/log/authlog ( can be read only by root ) in the agent host box reveals the following –

auth|security:debug /u01/oracle/agent11g/bin/nmo PAM: pam_authenticate: error Authentication failed

To resolve, we need to append the following to /etc/pam.conf on affected servers:

nmo auth required pam_aix
nmo account required pam_aix

Also make sure the /etc/pam.conf has the foll entries –

emagent auth required pam_aix
emagent account required pam_aix

Only root user can update the /etc/pam.conf file.

All should be fine .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: