guo851214 发表于 2014-04-03 10:33

solaris10重启后无法启动oracle

本帖最后由 guo851214 于 2014-04-03 10:34 编辑

在solaris10下安装了oracle11g,重启机器后无法启动oracle。
输入sqlplus /nolog提示命令没有找到,请大家看看我是不是哪里参数设置的不对
.profile的参数
ORACLE_BASE=/export/home/oracle/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_HOME
ORACLE_SID=orcl11g
export ORACLE_SID
PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin
export PATH

oracle.cshrc的参数
umask 022
setenv ORACLE_BASE /export/home/oracle/app/oracle
setenv ORACLE_HOME /export/home/oracle/app/oracle/product/11.2.0/db_home1
setenv ORACLE_SID orcl11g
setenv ORACLE_UN system
setenv NLS_LANG "simplified chinese_china.ZHS16GBK"

set path=(/bin /usr/bin /usr/ucb /etc .)
if ( $?prompt ) then
        set history=32
endif

oracle安装路径与上述相同,安装完后使用正常,重启后就无法登录了,第一次用solaris10,请大家帮帮忙

jackson198574 发表于 2014-04-03 11:06

ORACLE_HOME写的有问题,.profile的参数的为:dbhome_1,oracle.cshrc的参数的为:db_home1。

guo851214 发表于 2014-04-03 12:10

回复 2# jackson198574
改正过来执行了也不好使,还有别的方法吗?

   

tomshenhao 发表于 2014-04-03 12:14

没用过solaris10, 不过楼主可以根据sid看看参数文件,控制文件,数据文件是否都在. 另外alert日志是否有报错.

Hugo801122 发表于 2014-04-03 16:00

参数设置问题吧。如果软件安装没问题的话。
页: [1]
查看完整版本: solaris10重启后无法启动oracle