`

emctl 提示 ora-28001 口令已经实效 解决办法

 
阅读更多
What to do when Enterprise Manager is not able to connect to
the database instance (ORA-28001)
If you are trying to connect to the Oracle enterprise Manger and you get the following errors:
Enterprise Manager is not able to connect to the database instance.
And in t
Enterprise Manager is not able to connect to the database instance.
And in the “Agent connection to instance” section:
Status: Failed
Details: ORA-28001: the password has expired (DBD ERROR: OCISessionBegin)
One of the reasons could be that the password for the SYSMAN user is expired. However, changing the password alone will not solve this issue. Several additional steps are required in order to make Oracle Enterprise Manager connect:
Before you start: Verify that ORACLE_HOME, ORACLE_SID environment variables are set. – If not, set them using as  environment variables or open a command line and type SET ORACLE_SID=<The database SID>
1. Stop the dbconsole: emctl stop dbconsole (dos and Unix) or  using the windows services stop the OrcleDBConsole<The database SID>.
2. Connect to the database as a user with DBA privilege with SQL*Plus
and run the following command:
alter user sysman identified by <the new password> ;
3. Verify that the new password works
SQL> connect sysman/<the new password>
4. Go to ORACLE_HOME/<HostName_SID>/sysman/config and save a backup of the emoms.properties file.
a) Open the file emoms.properties and search for:
oracle.sysman.eml.mntr.emdRepPwd= <some encrypted value>
Replace the encrypted value with the new password value
b) Search for oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE
and change TRUE to FALSE
c) Save and close emoms.properties
5. Restart the dbconsole:
emctl start dbconsole (dos and Unix) or  using the windows services start the OrcleDBConsole<The database SID>.
6. Open  emoms.properties again and Search for:
a)oracle.sysman.eml.mntr.emdRepPwd=
verify  that the password is encrypted
b) oracle.sysman.eml.mntr.emdRepPwdEncrypted=
verify  that the value is set to  TRUE
7. Refresh Oracle Enterprise Manager
分享到:
评论

相关推荐

    oracle10g10204or05-em无法启动解决办法

    一种方法:先解压缩patch 8350262,然后把解压缩后的文件(解压缩后根目录下的文件及文件夹零散拷出来,不要拷目录)拷到oracle安装目录下的Opatch下,然后运行cmd&gt;opatch apply,如果提示没有oracle home,执行set ...

    Oracle安装单机后自启动参数配置.txt

    #!/bin/bash # chkconfig: 345 99 10 # description: Startup Script for Oracle...su - $ORA_OWNR -c "$ORACLE_HOME/bin/emctl start dbconsole" #su - $ORA_OWNR -c "$ORACLE_HOME/bin/isqlplusctrl start" echo "OK

    oracle rac日常基本维护命令

    $ emctl start dbconsole 使用 SRVCTL 启动/停止所有实例 启动/停止所有实例及其启用的服务。我只是觉得有意思就把此步骤作为关闭所有实例的一种方法加进来了! $ srvctl start database -d orcl $ srvctl ...

    oracle 10g OEM常规错误(Unknown host specified)解决

    这些遇到问题的解决办法使用过,但是很久没折腾就忘记了,今天把这些问题和解决方法记录在此。 1、网络环境变化导致无法启动 这个问题的现象是无法启动OEM。使用命令行如下: 代码如下: C:/Users/Administrator&gt;set ...

    Linux部署服务器常用命令.doc

    mv 11.txt /usr/ 移动 rm -rf tt.txt 删除不提示 rm tt.txt删除带提示 ifconfig 查看IP信息 export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt /bin:/usr/i686-pc-linux-gnu/...

    oracle 11g安装配置

    控制器emctl:开启、关闭OEM平台,默认端口1158 [oracle@dbserver ~]$ lsnrctl status [oracle@dbserver ~]$ emctl stop dbconsole [oracle@dbserver ~]$ dbshut $ORACLE_HOME [oracle@dbserver ~]$ dbstart $...

    oracle10g em 重新配置

    oracle10g em 重新配置 emca -repos drop emca -repos create 建议 emca -repos recreate (当时用create 出现莫名错误,但没注意错误日志) emca -config dbcontrol db ...emctl start dbconsole

    使用EM12C实现DBaa服务

    。Oracle Enterprise Manager 12c 提 供的云服务作为一项开创性的技术,通过满足各种多租户架构的资源池模型,让企业用户自 助部署 IT 资源。数据库即服务 (DBaaS) 是一种范式,最终用户(DBA、开发人员、QA 工 ...

    【OEM】OEM安装维护.pdf

    【OEM】OEM安装维护.pdf【OEM】OEM安装维护.pdf【OEM】OEM安装维护.pdf

    端口扫描工具

    ORACLE EMCTL,默认的端口号为1158; Oracle XDB( XML 数据库),默认的端口号为8080; Oracle XDB FTP服务,默认的端口号为2100; MS SQL*SERVER数据库server,默认的端口号为1433/tcp 1433/udp; MS SQL*SERVER...

    Enterprise Manage 配置成功,出现以下警告:

    Enterprise Manage 配置成功,出现以下警告: 启动 Database Control 时出错。请执行以下命令。 1)将环境变量 ORACLE_UNQNAME设置为...2)C:\app\Administrator\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole

    Oracle中手动删除数据库教程

    在很多情况下,或无法使用dbca工具的时候,我们需要手动来删除数据库。对此,可以借助drop database命令来实现,下面的描述中给出... $ emctl stop dbconsole    2.获得数据文件,日志文件及控制文件的相关信息,

Global site tag (gtag.js) - Google Analytics