lZ:10gR2--EMCA常用命令说明:

简介: http://vongates.itpub.net/post/2553/271778在10g 中,我们可能会经常遇到OEM不能正常使用的问题,但导致问题的原因不尽相同,最后绝大多数问题可以通过emca 这个命令来解决,详细的说明可以查看连机帮助,下面给出一些常用的命令,及实例步骤.

http://vongates.itpub.net/post/2553/271778

在10g 中,我们可能会经常遇到OEM不能正常使用的问题,但导致问题的原因不尽相同,最后绝大多数问题可以通过emca 这个命令来解决,详细的说明可以查看连机帮助,下面给出一些常用的命令,及实例步骤.

创建一个EM资料库
emca -repos create
重建一个EM资料库
emca -repos recreate
删除一个EM资料库
emca -repos drop
配置数据库的 Database Control
emca -config dbcontrol db
删除数据库的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的端口,默认端口在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
先设置ORACLE_SID环境变量后,启动EM console服务
emctl start dbconsole
先设置ORACLE_SID环境变量后,停止EM console服务
emctl stop dbconsole
先设置ORACLE_SID环境变量后,查看EM console服务的状态
emctl status dbconsole

配置dbconsole的步骤
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重新配置dbconsole的步骤
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole


目录
相关文章
|
10月前
|
存储 算法 Shell
【Shell 命令集合 备份压缩 】⭐Linux 压缩 bz2文件 bunzip2命令 使用指南
【Shell 命令集合 备份压缩 】⭐Linux 压缩 bz2文件 bunzip2命令 使用指南
82 0
|
10月前
|
存储 算法 Shell
【Shell 命令集合 备份压缩 】⭐⭐⭐Linux 解压缩gz工具 gzip命令 使用指南
【Shell 命令集合 备份压缩 】⭐⭐⭐Linux 解压缩gz工具 gzip命令 使用指南
106 0
Linux Command lz4 压缩
Linux Command lz4 压缩
|
10月前
|
算法 Linux
【Linux笔记】压缩、解压文件的 4 种方式。tar、gzip、gunzip、zip、unzip、7z命令使用方法
【Linux笔记】压缩、解压文件的 4 种方式。tar、gzip、gunzip、zip、unzip、7z命令使用方法
|
5月前
|
安全 关系型数据库 MySQL
Linux下安装mysql8.0(以tar.xz包安装--编译安装)
通过上述步骤,您完成了从下载、编译、安装到配置MySQL 8.0的全过程。此过程虽然较为复杂,但提供了对MySQL安装环境的完全控制,有助于满足特定的部署需求。在实际操作中,根据具体的系统环境,可能还需调整部分步骤或解决未预见的依赖问题。始终参考官方文档和社区资源,保持安装过程与最新版本的兼容性。
1809 67
|
9月前
|
Linux Windows
`ls`命令简介
在Linux中,没有`dir`命令,但可以使用`ls`来查看目录内容。`ls`的基本用法包括列出当前目录(`ls`)、指定目录内容(`ls /path/to/directory`)、长格式显示(-l)、显示目录信息(-d)、人类可读格式(-lh)、递归列出(-R)和按大小排序(-lhS)。它比Windows的`dir`更灵活,还有如只显示文件名(-1)、按时间排序(-lt)、显示隐藏文件(-a)等选项。
|
机器学习/深度学习 Linux Windows
linux:2.3.4 查找/搜索命令(find+grep)+压缩/解压缩命令(gzipbzip2+tar+mv+mkdir)
linux:2.3.4 查找/搜索命令(find+grep)+压缩/解压缩命令(gzipbzip2+tar+mv+mkdir)
299 0
linux:2.3.4 查找/搜索命令(find+grep)+压缩/解压缩命令(gzipbzip2+tar+mv+mkdir)
|
算法 Linux
Linux Command tar 压缩
Linux Command tar 压缩
|
Linux 应用服务中间件 数据安全/隐私保护
Linux习题练习-03(users & group、tar、gzip、yum源配置)
Linux习题练习-03(users & group、tar、gzip、yum源配置)
159 0
ls -al /usr/lib | grep libevent --- 查看libevent是否已安装
ls -al /usr/lib | grep libevent --- 查看libevent是否已安装
269 0