Windows Oracle问题与环境变量';甲骨文名称';
我正在尝试安装Oracle 11gR2 Enterprise Edition,但在数据库创建过程中,出现以下错误:Windows Oracle问题与环境变量';甲骨文名称';,windows,oracle,oracle11g,command,environment-variables,orcl,em-configuration,chlebta-pc,localhost,listener,host-name,variable-value,Windows,Oracle,Oracle11g,Command,Environment Variables,Orcl,Em Configuration,Chlebta Pc,Localhost,Listener,Host Name,Variable Value,我正在尝试安装Oracle 11gR2 Enterprise Edition,但在数据库创建过程中,出现以下错误: Environment Variable ORACLE_UNQNAME not defined 当我试着从cmd吃午餐“emctl.bat”时,我得到了这个: Please set ORACLE_UNQNAME to database unique name. 为了解决这个错误,我使用了以下命令: set ORACLE_UNQNAME=orcl 要定义Enivronment变
Environment Variable ORACLE_UNQNAME not defined
当我试着从cmd吃午餐“emctl.bat”时,我得到了这个:
Please set ORACLE_UNQNAME to database unique name.
为了解决这个错误,我使用了以下命令:
set ORACLE_UNQNAME=orcl
要定义Enivronment变量(orcl是数据库名称),我在“emctl”命令中遇到以下错误:
EM Configuration issue. D:\app\product\11.2.0\dbhome_1/Chlebta-PC_orcl not found
解决这个问题有什么帮助吗
:\> emctl status dbconsole
Environment variable ORACLE_UNQNAME not defined.
Please set ORACLE_UNQNAME to database unique name
下面是如何在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.
设置环境变量的最佳方式是图形方式:
control panel > system > advanced system settings > Environment variables
现在只需单击new并插入变量名:插入您的变量名,如
甲骨文名称
和int变量值:中间值,如
现在,对于错误:它看起来像您的主机名“which is computer name”是:not,请检查您的,并确保其中的以及的主机名。我应用此步骤,然后重新启动电脑。然后,此问题再次发生。我必须在启动电脑时设置此参数。