环境:
RHEL5.5_x64
Grid Control 10.2.0.5
安装方式是silent install 10.2.0.3+noconfig+patch to 10.2.0.5
之前在5.4上装没有遇到这个问题。标记一下。
具体的解决办法非常简单,把repo数据库的sys,system用户密码改成default
然后opmnctl stopall
重新配置即可。
网上找来的解决办法,如下:
ConfigureGC.pl Reports – Invalid Username/Password.
Metalink Doc ID: 602750.1
Bug: 7137054
Within 5 – 10 minutes of running the ConfigureGC.pl script, it will eventually issue a failure message indicating to look in the$ORACLE_HOME/cfgtoollogs/oui/configActions<LATEST_TIME_STAMP>.log log file for errors. Don’t bother. The only message written to this log is utterly useless:
The plug-in OMS Configuration has failed its perform method
The two files listed below, on the other hand, will both show the Oracle error code ORA-01017:
$ORACLE_HOME/cfgtoollogs/cfgfw/CfmLogger_<LATEST_TIME_STAMP>.log$ORACLE_HOME/cfgtoollogs/cfgfw/emca_repos_drop<LATEST_TIME_STAMP>_OUT.log
For example:
Getting temporary tablespace from database...Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oemprod.idevelopment.info)(PORT=1521)))(CONNECT_DATA=(SID=emrep))):ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin)
Solution
To work around this bug, log in to the management repository as either SYS or SYSTEM to change the SYS password to "default":
[oracle@oemprod ~]$ sqlplus sys/emgc10g@emrep as sysdbaSQL> alter user sys identified by "default";
After changing the SYS password to "default", run the ConfigureGC.plagain using same syntax. The configuration will pick up where it left off, so repository configuration will be successful, the base OMS configuration will complete, the management agent configuration will complete and the patch set configuration actions will start.
[oracle@oemprod ~]$ $ORACLE_HOME/perl/bin/perl \$ORACLE_HOME/sysman/install/ConfigureGC.pl /u01/app/oracle/product
Second Failure
So, you thought you seen the last of Oracle Bug 7137054? Not quite. The configuration will fail yet again and indicate to look in the new$ORACLE_HOME/cfgtoollogs/oui/configActions<LATEST_TIME_STAMP>.log log file for errors. This log file is just as useless as it was the first time. Further examining the$ORACLE_HOME/cfgtoollogs/cfgfw/CfmLogger_<LATEST_TIME_STAMP>.log will show the same ORA-01017 error.
To work around this second error, log in to the management repository database (again) to change the SYS password back to its original value configured in the em_using_existing_db.rsp response file:
[oracle@oemprod ~]$ sqlplus sys/default@emrep as sysdbaSQL> alter user sys identified by emgc10g;
Run the configuration script for a third time, repeating the same syntax as before:
[oracle@oemprod ~]$ $ORACLE_HOME/perl/bin/perl \$ORACLE_HOME/sysman/install/ConfigureGC.pl /u01/app/oracle/product