Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

ERROR: Invalid username and/or password LOG: Local Authentication failed...Attempt PAM authentication...PAM failed with error: Authentication failure

$
0
0
Issue:

Got the following error while setting preferred credentials for the host target

ERROR: Invalid username and/or password LOG: Local Authentication failed...Attempt PAM authentication...PAM failed with error: Authentication failure

Cause:
For LADP kind of authentication PAM setup should be done.

Solution:

Make sure that PAM libraries are installed 

rpm -ql pam-1.1.1-4.el6 | grep libpam.so

you should see the output like below.

/lib64/libpam.so.0        
/lib64/libpam.so.0.82.2   

If not installed, install the pam-1.1.1-4.el6 rpm and verify again.

And then  as root user, do the below.

cd /usr/lib64
ln -s /lib64/libpam.so.0.82.2 libpam.so

cd /etc/pam.d
cp sshd emagent

go to $AGENT_HOME/bin

backup commonenv and add the following line

if [ "$LD_LIBRARY_PATH" = "" ] ; then
LD_LIBRARY_PATH=/lib64
else
LD_LIBRARY_PATH=:$LD_LIBRARY_PATH
fi

Restart Agent
./emctl stop agent
./emctl start agent

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>