After the reinstall of the Oracle Agent on Oracle Enterprise Linux 5 Update 4, the agent did not start communicating with the Oracle Management Service as it did before. I ran through the following which started the communication again.
1. Stop the agent.
AGENT_HOME/bin/emctl stop agent
2. Remove the files from the following locations.
AGENT_HOME/sysman/emd/lastupld.xml
AGENT_HOME/sysman/emd/state/
AGENT_HOME/sysman/emd/recv/
AGENT_HOME/sysman/emd/uploads/
AGENT_HOME/sysman/log/
3. Re-secure the agent.
AGENT_HOME/bin/emctl secure agent
4. Start the agent.
AGENT_HOME/bin/emctl start agent
Wednesday, April 21, 2010
Friday, April 16, 2010
Oracle Universal Installer (OUI) Initialization Error on Oracle Enterprise Linux 5 (OEL5)
I ran into the following problem after a fresh install of Oracle Enterprise Linux 5 when starting the Oracle Universal Installer to install Oracle Enterprise Manager.
The problem is that the i386 version of the libXp package is missing and is not installed by default in Oracle Enterprise Linux 5. Run the following command to confirm the package is missing.
Navigate to the Oracle Enterprise Linux 5 media and install the package manually.
[oracle@ogre Disk1]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be enterprise-4, enterprise-5, redhat-3,
redhat-4, redhat-5, redhat-5.1, SuSE-9, SuSE-10, UnitedLinux-1.0, asianux-1 or
asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-04-15_04-43-50PM. Please wait ...
[oracle@ogre Disk1]$
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/OraInstall2010-04-15_04-43-50PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.(Unknown Source)
at oracle.sysman.emgc.oneclick.OneClickWizard.getGuiDefaults(OneClickWizard.java:239)
at oracle.sysman.emgc.oneclick.OneClickWizard.(OneClickWizard.java:205)
at oracle.sysman.emgc.oneclick.OneClick.(OneClick.java:230)
at oracle.sysman.emgc.oneclick.OneClickInstaller.(OneClickInstaller.java:116)
at oracle.sysman.emgc.oneclick.OneClickInstaller.process(OneClickInstaller.java:268)
at oracle.sysman.emgc.oneclick.OneStartup.startup(OneStartup.java:359)
at oracle.sysman.emgc.oneclick.OneArgs.main(OneArgs.java:650)
at oracle.sysman.emgc.oneclick.OneStartup.main(OneStartup.java:367)
[oracle@ogre Disk1]$
The problem is that the i386 version of the libXp package is missing and is not installed by default in Oracle Enterprise Linux 5. Run the following command to confirm the package is missing.
[root@ogre Server]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n" | grep libXp
libXpm-3.5.5-3(i386)
libXp-devel-1.0.0-8.1.el5(x86_64)
libXpm-3.5.5-3(x86_64)
libXpm-devel-3.5.5-3(x86_64)
libXp-1.0.0-8.1.el5(x86_64)
Navigate to the Oracle Enterprise Linux 5 media and install the package manually.
[root@ogre Server]# pwd
/media/Enterprise Linux dvd 20090908/Server
[root@ogre Server]# ls libXp*
libXp-1.0.0-8.1.el5.i386.rpm libXp-devel-1.0.0-8.1.el5.x86_64.rpm libXpm-devel-3.5.5-3.i386.rpm
libXp-1.0.0-8.1.el5.x86_64.rpm libXpm-3.5.5-3.i386.rpm libXpm-devel-3.5.5-3.x86_64.rpm
libXp-devel-1.0.0-8.1.el5.i386.rpm libXpm-3.5.5-3.x86_64.rpm
[root@ogre Server]# rpm -ivh ./libXp-1.0.0-8.1.el5.i386.rpm
warning: ./libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:libXp ########################################### [100%]
[root@ogre Server]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n" | grep libXp
libXpm-3.5.5-3(i386)
libXp-devel-1.0.0-8.1.el5(x86_64)
libXp-1.0.0-8.1.el5(i386)
libXpm-3.5.5-3(x86_64)
libXpm-devel-3.5.5-3(x86_64)
libXp-1.0.0-8.1.el5(x86_64)
[root@ogre Server]#
Subscribe to:
Posts (Atom)