分类: Oracle
2008-04-27 13:00:43
系统版本 |
SunOS sery 5.10 Generic_118855-33 i86pc i386 i86pc |
Oracle 版本 |
racle Database |
Oracle 安装路径 |
/opt/oracle/product/10.2/db_1 |
dbstart 路径 |
/opt/oracle/product/10.2/db_1/bin/dbstart |
-bash-3.00$ dbstart ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener Usage: /opt/oracle/product/10.2/db_1/bin/dbstart ORACLE_HOME |
-bash-3.00$ dbstart -bash-3.00$ ps -aef | grep ora | grep -v grep oracle 964 552 0 06:40:17 pts/1 0:00 ps -aef oracle 552 546 0 06:08:08 pts/1 0:00 -bash oracle 696 1 0 06:22:25 ? 0:00 /opt/oracle/product/10.2/ |
sery:/opt/oracle/product/10.2/db_1:N |
-bash-3.00$ dbstart Processing Database instance "sery": log file /opt/oracle/product/10.2/db_1/startup.log -bash-3.00$ ps -eaf | grep ora oracle 1175 1 0 06:54:35 ? 0:00 ora_j001_sery oracle 1173 1 1 06:54:35 ? 0:01 ora_j000_sery oracle 1179 1 0 06:54:35 ? 0:00 ora_j003_sery oracle 1177 1 0 06:54:35 ? 0:00 ora_j002_sery ……(省略若干输出) |
#!/bin/bash su - oracle -c /opt/oracle/product/10.2/db_1/bin/dbstart& |
#!/bin/bash su - oracle -c /opt/oracle/product/10.2/db_1/bin/dbshut & |
执行命令init 6重启solaris 10,看oracle实例及监听器是否在正常运行。当然,如果不用运行级别而用服务管理设施SMF来管理oracle服务的话,还有好多步骤修要完成,有兴趣的可以去试试。