- 论坛徽章:
- 2
|
图形界面安装没有报错,安装完成后按照最后提示的https://T522002:1158/em这个地址进行连接,结果却提示无法连接
T522002% cat .profile
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
MAIL=/usr/mail/${LOGNAME}
ORACLE_BASE=/oracle/app/oracle
export ORACLE_BASE
ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbhome_1
export ORACLE_HOME
ORACLE_SID=t5220
export ORACLE_SID
PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin
export PATH
umask 022
以上是我的环境变量里面的设置;
bash-3.2$ sqlplus / as sysdba
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
我使用sqlplus / as sysdba命令就报这个错误,可是我这边不是已经设置过了吗?为什么还会报错,还是说我的设置本身就是错误的?
使用emctl命令就报如下错误:
bash-3.2$ emctl
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
我郁闷了。。。
因为是新手,所以不知道应该如何解决了,请各位大侠帮忙指证下!
ps: SUN t5220的机器 oracle11gr2
在solaris版块里面发这个不违规吧。。。 |
|