AIX6.1 HA5.5 ORACLE10.2.0.4 RAC EM無法啟動

wtjiang2008發表於2011-11-28

AIX6.1 HA5.5 ORACLE10.2.0.4 RAC EM無法啟動,重建後問題依舊。

首先執行了emctl start dbconsole,螢幕中報錯:

ps: 0509-048 Flag -o was used with invalid list.

ps: Not a recognized flag: -

Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]

[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T

pid] [ -L pidlist]

Usage: ps [aceglnsuvwxU] [t tty] [processnumber]

這個在758568.1有相應的解決方法:

中的第1314行和第1605行的

my $ps=`ps -p $PID -o cmd --cols 1000 |grep DEMDROOT`;

修改為

my $ps=`ps -p $PID -o args | grep DEMDROOT`;

 

ps -ef | grep dbconsole |awk  '{print $2}'|xargs kill -9

ps -ef | grep emagent|awk  '{print $2}'|xargs kill -9

ps -ef | grep dbsnmp|awk  '{print $2}'|xargs kill -9

ps -ef | grep oc4j|awk  '{print $2}'|xargs kill -9

 

emctl start dbconsole

在重新啟動的時候還是沒有啟動起來,

Oracle 10.2.0.4(5)EM不能啟動的解決方案(Patch 8350262)


有如下報錯
 

2011-07-28 19:20:15 Thread-1958 ERROR ssl: Open wallet failed, ret = 28750
2011-07-28 19:20:15 Thread-1958 ERROR ssl: nmehlenv_openWallet failed
2011-07-28 19:20:15 Thread-1958 ERROR http: 11: Unable to initialize ssl connection with server, aborting connection attempt

What is the Issue?

In Enterprise Manager Database Control with Oracle Database 10.2.0.4 and 10.2.0.5, the root certificate used to secure communications via the Secure Socket Layer (SSL) protocol will expire on 31-Dec-2010 00:00:00. The certificate expiration will cause errors if you attempt to configure Database Control on or after 31-Dec-2010. Existing Database Control configurations are not affected by this issue.

If you plan to configure Database Control with either of these Oracle Database releases, Oracle strongly recommends that you apply 
 to your Oracle Home installations before you configure Database Control. Configuration of Database Control is typically done when you create or upgrade Oracle Database, or if you run Enterprise Manager Configuration Assistant (EMCA) in standalone mode

解決方法:

PATCH 8350262

Invoking OPatch 10.2.0.4.3

 

Oracle Interim Patch Installer version 10.2.0.4.3

Copyright (c) 2007, Oracle Corporation.  All rights reserved.

 

 

Oracle Home       : /oracle/product/10.2.0/db

Central Inventory : /oracle/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 10.2.0.4.3

OUI version       : 10.2.0.4.0

OUI location      : /oracle/product/10.2.0/db/oui

Log file location : /oracle/product/10.2.0/db/cfgtoollogs/opatch/opatch2011-07-28_14-36-11PM.log

 

ApplySession applying interim patch '8350262' to OH '/oracle/product/10.2.0/db'

 

Running prerequisite checks...

 

OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.

 

Backing up files and inventory (not for auto-rollback) for the Oracle Home

Backing up files affected by the patch '8350262' for restore. This might take a while...

 

*******************************************************************************************

Oracle Configuration Manager is installed but not configured.  OCM enables Oracle to

provide superior, proactive support for our customers. Oracle strongly recommends customers

configure OCM. To complete the configuration of OCM, refer to the OCM Installation and

Administration Guide (http://www.oracle.com/technology/documentation/ocm.html).

*******************************************************************************************

 

Backing up files affected by the patch '8350262' for rollback. This might take a while...

 

Patching component oracle.sysman.agent.core, 10.2.0.4.0a...

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/RootCert.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/SecConstants.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/util/RootCert.class"

Updating jar file "/oracle/product/10.2.0/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/util/SecConstants.class"

ApplySession adding interim patch '8350262' to inventory

 

Verifying the update...

Inventory check OK: Patch ID 8350262 is registered in Oracle Home inventory with proper meta-data.

Files check OK: Files from Patch ID 8350262 are present in Oracle Home.

 

Patching in rolling mode.

 

Updating nodes 'higf02'

   Apply-related files are:

     FP = "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_files.txt"

     DP = "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_dirs.txt"

     MP = "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/make_cmds.txt"

     RC = "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/remote_cmds.txt"

 

Instantiating the file "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_files.txt" with actual path.

Propagating files to remote nodes...

Instantiating the file "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/oracle/product/10.2.0/db/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_dirs.txt" with actual path.

Propagating directories to remote nodes...

--------------------------------------------------------------------------------

The following warnings have occurred during OPatch execution:

1) OUI-67294:

*******************************************************************************************

Oracle Configuration Manager is installed but not configured.  OCM enables Oracle to

provide superior, proactive support for our customers. Oracle strongly recommends customers

configure OCM. To complete the configuration of OCM, refer to the OCM Installation and

Administration Guide (http://www.oracle.com/technology/documentation/ocm.html).

*******************************************************************************************

 

--------------------------------------------------------------------------------

OPatch Session completed with warnings.

 

OPatch completed with warnings.

 

重建EM

drop role MGMT_USER;

drop user MGMT_VIEW cascade;

drop public synonym MGMT_TARGET_BLACKOUTS;

drop public synonym SETEMVIEWUSERCONTEXT;

 

 

 

總結:EM日誌在/oracle/product/10.2.0/db/higf01_higfmis1/sysman/log目錄下主要看nohupemdctl.trc

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

相關文章