Oralce SYSMAN/DBSNMPのパスワード変更に伴うEnterprise Managerログイン不可問題及びその解決策
2011/11/28 17:57Update
Oralce SYSMAN/DBSNMPアカウントのパスワードを変更した時、Enterprise Managerログインができない問題及びその解決策について。
問題:
SYSMAN/DBSNMPアカウントのパスワードを変更したら、Enterprise Managerへのログインができなくなります。
原因:
SYSMANアカウントはEnterprise Managerの設定および管理に使用されるユーザー・アカウントです。
ALTER USER SYSMAN IDENTIFIED BY "パスワード";
でSYSMANのパスワードを変更しても、Enterprise Managerに接続使用されるSYSMANのパスワードは自動的に反映されずに変更前のままです。
対策:
SYSMANのパスワードの変更を次のような手順に従って変更します。
1)ORACLE_SID環境変数が設定されなかった場合、ORACLE_SIDを設定
例(Windows例):
set ORACLE_SID=orcl
ORACLE_SIDの確認は、次のようなフォルダC:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_xxxx.local_orcl
の形式_orcl
2)dbconsoleプロセスを停止
例:
emctl stop dbconsole
※Windowsの場合、サービスに登録されている場合、サービスの管理画面からも停止できます。ステータス確認
emctl status dbconsole
3)SYSMAN、DBSNMPのパスワードを変更
例:
ALTER USER SYSMAN IDENTIFIED BY "新しいパスワード";
4)dbconsoleプロセスへの接続パスワードを更新
>emctl setpasswd dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://myhost.local:1158/em/console/aboutApplication
Please enter new repository password:
********
Repository password successfully updated.
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://myhost.local:1158/em/console/aboutApplication
Please enter new repository password:
********
Repository password successfully updated.
※↑設定されたパスワードを入力
※$ORACLE_HOME/host_sid/sysman/config/emoms.propertiesファイルが編集されることになりますので、ログインユーザが書き込み権限があることをご確認ください。
5)dbconsoleプロセス再起動
emctl start dbconsole
これで、SYSMANアカウントのパスワードが変更されても、Enterprise Managerへのログインができるようになります。
Sponsored Link
Comments
- Relative Articles