Skip to main content

Posts

Showing posts from November, 2017

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

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 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

Install 12.1.5 oem management agent in silent mode

Overview: Installing a management agent in silent mode is only an alternative option to installing the agent using “Add Hosts” from console. “Add Hosts” target wizard will be useful if you want to install the same OMS version of management agent. For example, if your OMS version is 13.2, you can install only 13.2 version agent on target hosts.  If your target host OS version is not compatible with 13.2 version agent then you must go for 12.1.5 agent, this scenario will be opt for this blog. This post about install 12.1.5 agent in silent mode, High level steps: 1.        Download 12.1.0.5 agent software from OEM server. 2.        Update agent.rsp. 3.        Install the agent through agentDeploy.sh script. Download 12.1.0.5 agent software from OEM server: ./emcli setup -url=https://omsserver.domain.com:7803/em -username="sysman" -password="pwd" ./emcli login -username=sysman ./emcli sync ./emcli get_supported_platforms ./emcli