Chl*_*bta 3 windows oracle command environment-variables oracle11g
我正在尝试安装Oracle 11gR2 Entreprise Edition,但在数据库创建期间,我收到此错误:
Environment Variable ORACLE_UNQNAME not defined
Run Code Online (Sandbox Code Playgroud)
当我尝试午餐'emctl.bat'从cmd我得到了这个:
Please set ORACLE_UNQNAME to database unique name.
Run Code Online (Sandbox Code Playgroud)
为了解决这个错误,我使用了这个命令:
set ORACLE_UNQNAME=orcl
Run Code Online (Sandbox Code Playgroud)
要定义我的Enivronment变量(orcl是数据库名称),我在'emctl'命令中遇到了这个错误:
EM Configuration issue. D:\app\product\11.2.0\dbhome_1/Chlebta-PC_orcl not found
Run Code Online (Sandbox Code Playgroud)
所以任何帮助解决这个问题?
小智 8
:\> emctl status dbconsole
Environment variable ORACLE_UNQNAME not defined.
Please set ORACLE_UNQNAME to database unique name
Run Code Online (Sandbox Code Playgroud)
以下是在Windows中设置oracle_unqname的方法.您在UNIX/Linux中使用类似的"导出命令":
C:\>set ORACLE_HOSTNAME=localhost
C:\>set ORACLE_UNQNAME=orcl
C:\>set ORACLE_SID=orcl
C:\>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
29780 次 |
| 最近记录: |