天天看點

Grid Control10.2.0.5_x64 密碼錯誤bug

環境:

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: