【GC】Gridcontrol 10201 Installation On Linux 5.4常見錯誤

renjixinchina發表於2013-06-08

Issue 1:

When i start installing the oem grid control after completing all the pre requesites, we got the following error. The cursor hangs there instead of populating OUI window.

[oracle@dhcppc30 ~]$ cd /u01/dumps/oem/Disk1/
[oracle@dhcppc30 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
PassedAll installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-17_11-43-44AM. Please wait …[oracle@dhcppc30 Disk1]$ Exception in thread “main” java.lang.UnsatisfiedLinkError: /tmp/OraInstall2011-03-17_11-43-44AM/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)

When i observe the error message i thought it may the error with LD_LIBRARY_PATH and tried all the possible values for this variable , but no luck. Then after googling i came to know that there is one rpm missing in the OS RHEL 5.4.  Then i installed “libXp-1.0.0-8.1.el5.i386.rpm” and tried. It works …..

Issue 2:

error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

Solution: Install libaio and libaio-devel packages. If packages already installed and error still occurs try execute “ldconfig” as root.

Issue 3:

Failed in smi manipulation().
A problem has occurred reading the initial configuration and storing it into repository
Resolution:
Please refer to the base exception for resolution, or call Oracle support.
Base Exception:
/u01/app/oracle/oem/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
Resolution:
Please make sure the values entered in OHS configuration files are correct.
oracle.ias.sysmgmt.exception.InvalidConfigurationException: Base Exception:
/u01/app/oracle/oem/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
Resolution:
Please make sure the values entered in OHS configuration files are correct.
at oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.checkConfigFileValidity(Unknown Source)
at oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.validateConfigDuringEvaluate(Unknown Source)
at oracle.ias.sysmgmt.repository.plugin.advanced.apache.PlugInImpl.localConfigValidation(Unknown Source)
at oracle.ias.sysmgmt.repository.DcmPlugin.localConfigValidation(Unknown Source)
at oracle.ias.sysmgmt.repository.RepositoryImpl.performLocalValidation(Unknown Source)
at oracle.ias.sysmgmt.repository.SyncUpHandler._updatePluginConfigData(Unknown Source)
at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromLocalFiles(Unknown Source)
at oracle.ias.sysmgmt.utility.editpropagator.PropagateLocalEdit.repositoryInit(Unknown Source)
at oracle.ias.sysmgmt.persistence.utility.PMUtility.initConfiguration(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.initConfiguration(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
at oracle.ias.webcache.config.WebcacheConfig.smiSetup(WebcacheConfig.java:483)
at oracle.ias.webcache.config.WebcacheConfig.smiEnableWebcache(WebcacheConfig.java:454)
at oracle.ias.webcache.config.WebcacheConfig.enableConfiguration(WebcacheConfig.java:299)
at oracle.ias.webcache.config.WebcacheConfig.main(WebcacheConfig.java:87)Command = /u01/app/oracle/oem/oms10g/jdk/bin/java has failedINFO: Configuration assistant “Web Cache Configuration Assistant” failed

Solution :

create a symbolic link “ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2″

chmod 755 /usr/lib/libgdbm.so.2.0.0
chmod 755 /usr/lib/libdb.so.2

[root@oemmach01 logs]# locate libdb.so.2
[root@oemmach01 logs]# locate libgdbm.so.2.0.0
/usr/lib/libgdbm.so.2.0.0
[root@oemmach01 logs]# ls -ldd libgdbm.so.2.0.0
ls: libgdbm.so.2.0.0: No such file or directory
[root@oemmach01 logs]# ls -ldd /usr/lib/libgdbm.so.2.0.0
-rwxr-xr-x 1 root root 25260 Jun  5  2007 /usr/lib/libgdbm.so.2.0.0
[root@oemmach01 logs]# ldd /usr/lib/libgdbm.so.2.0.0
linux-gate.so.1 =>  (0x0075b000)
libc.so.6 => /lib/libc.so.6 (0x0094c000)
/lib/ld-linux.so.2 (0x0092e000)
[root@oemmach01 logs]#

[root@oemmach01 logs]# ldd /usr/lib/libgdbm.so.2.0.0
linux-gate.so.1 =>  (0x0075b000)
libc.so.6 => /lib/libc.so.6 (0x0094c000)
/lib/ld-linux.so.2 (0x0092e000)
[root@oemmach01 logs]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
[root@oemmach01 logs]# chmod 755 /usr/lib/libgdbm.so.2.0.0
[root@oemmach01 logs]# chmod 755 /usr/lib/libdb.so.2
[root@oemmach01 logs]#

Issue 4:

Command = /u01/app/oracle/oem/oms10g/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/oem/oms10g/dcm/lib/dcm.jar:/u01/app/oracle/oem/oms10g/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/oem/oms10g/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/oem/oms10g/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/oem/oms10g -verbose -inifile /u01/app/oracle/oem/oms10g/j2ee/deploy.ini  has failed
Execution Error : oracle.ias.sysmgmt.exception.InvalidSMISessionException: Base Exception:
This DCM Client Session has been invalidated due to changes made to config files by some other session. All unsaved changes will be lost.
Resolution:
Please close this DCM Client session, start another one and redo the changes made.
at oracle.ias.sysmgmt.entity.Session.verifySessionIsValid(Unknown Source)
at oracle.ias.sysmgmt.entity.Session.makeDeleteEntityListConsistent(Unknown Source)
at oracle.ias.sysmgmt.smi.SMIEntryPoint.saveChanges(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.saveSMIChanges(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.saveSMIChanges(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)INFO: Configuration assistant “OC4J Instance Configuration Assistant” failedSolution :

[root@oemmach01 logs]# /u01/app/oracle/oem/oms10g/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/oem/oms10g/dcm/lib/dcm.jar:/u01/app/oracle/oem/oms10g/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/oem/oms10g/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/oem/oms10g/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/oem/oms10g -verbose -inifile /u01/app/oracle/oem/oms10g/j2ee/deploy.ini

Reading ini file – ‘/u01/app/oracle/oem/oms10g/j2ee/deploy.ini’
Adding web-app ‘IsWebCacheWorkingWeb.war’ for app ‘IsWebCacheWorking’.
Initializing DCM…done.
OC4J instance ‘home’ already exists.
Starting OC4J instance ‘home’…done.
Deploying application ‘IsWebCacheWorking’ to OC4J instance ‘home’.
Notification ==> Application Deployer for IsWebCacheWorking STARTS [ 2011-04-17T04:04:15.915PDT ]
Notification ==> Undeploy previous deployment
Notification ==> Removing files for app file:/u01/app/oracle/oem/oms10g/j2ee/home/applications/IsWebCacheWorking.ear
Notification ==> Copy the archive to /u01/app/oracle/oem/oms10g/j2ee/home/applications/IsWebCacheWorking.ear
Notification ==> Unpack IsWebCacheWorking.ear begins…
Notification ==> Unpack IsWebCacheWorking.ear ends…
Notification ==> Initialize IsWebCacheWorking.ear begins…
Notification ==> Initialize IsWebCacheWorking.ear ends…
Notification ==> Initialize IsWebCacheWorkingWeb begins…
Notification ==> Initialize IsWebCacheWorkingWeb ends…
Notification ==> deleting:  /u01/app/oracle/oem/oms10g/j2ee/home/applications/IsWebCacheWorking.ear
Notification ==> deleting:  /u01/app/oracle/oem/oms10g/j2ee/home/applications/IsWebCacheWorking/IsWebCacheWorkingWeb.war
Notification ==> Application Deployer for IsWebCacheWorking COMPLETES [ 2011-04-17T04:04:16.023PDT ]

Calling updateConfig to notify DCM of new deployments…done.
Adding OC4J mount points for application ‘IsWebCacheWorking’…done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Binding web app ‘IsWebCacheWorkingWeb’ to default-web-site for application ‘IsWebCacheWorking’ in OC4J instance ‘home’
Web app ‘IsWebCacheWorkingWeb’ bound successfully.
Calling updateConfig to notify DCM of new web-bindings…done.
Adding application ‘IsWebCacheWorking’ to the DCM repository…done.
Application ‘IsWebCacheWorking’ deployed successfully.
Stopping OC4J instance ‘home’…done.
Calling SMI to retry init of failed plugins…done.
Terminating DCM…done.
Copying /u01/app/oracle/oem/oms10g/j2ee/deploy.ini to /u01/app/oracle/oem/oms10g/j2ee/deploy.ini.1303038278047.bak.
Writing any undeployed entries back to /u01/app/oracle/oem/oms10g/j2ee/deploy.ini.

Oc4jDeploy tool completed successfully!

[root@oemmach01 logs]#

Issue 5:

Check complete. The overall result of this check is: Failed <<<
Solution: Install missing package or set check system parameters (See reason of failure).

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-763539/,如需轉載,請註明出處,否則將追究法律責任。

相關文章