$ lsnrctl start
$ dbstart
监听器启动出现问题:
ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener 使用oracle用户执行dbstart启动数据库提示如下:ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net ListenerUsage: /oracle/11g/bin/dbstart ORACLE_HOMEProcessing Database instance "orcl": log file /oracle/11g/startup.log修改dbstart以及dbshut两个文件
--------------------------把ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle注释掉然后修改/home/oracle/.bash_profile 添加export ORACLE_HOME_LISTNER=$ORACLE_HOME一句 生效变量: [root@oracle01 ~]# source /home/oracle/.bash_profile ---------------------------sqlplus /nolog
connect / as sysdbastartup报:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbs/initlocalhost.localdomain.ora'
解决办法:
export ORACLE_SID=你的数据库名(如:orcl)