|
[root@dbserver02 rc.d]# cat rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/sbin/service crond start
su - oracle 'lsnrctl start'
su - oracle 'dbstart'
[root@dbserver02 rc.d]#
我想服務器重新啟動時候,lisnrctl 能自動啟動,但是我實驗
了一下,數據庫可以啟動.但lisnrctl 不能啟動,報錯誤是,找不到目錄
這是啥問題? |
|