>> Delete No. 16793 article
No. 쉘스크립트아시는분 부탁드려요.

등록 2001-01-07 11:15:00 By localhost     조회 1
이름 오승영    

		안녕하세요,           
다음은 오라클 8.1.7 db자동실행스크립트입니다.                   
설치문서에 있는것 그대로입니다. 실행은 되는데 에러가 있네요.                      
    [!명령을 못찾겠다나?!               
어느 부분이 오타죠?                     
정말 무식한게 죄네요.                     
 #!/bin/sh
# Set ORA_HOME to be equivalent to the ORACLE_HOME
# from which you wish to execute dbstart and
# dbshut
# set ORA_OWNER to the user id of the owner of the
# Oracle database in ORA_HOME
ORA_HOME=/home/u01/oracle/8.1.7
ORA_OWNER=oracle
if [! -f $ORA_HOME/bin/dbstart]
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
'start')
 # Start the Oracle databases:
# The following command assumes that the oracle login will not prompt the
# user for any values
 su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
;;
'stop')
 # Stop the Oracle databases:
# The following command assumes that the oracle login will not prompt the
# user for any values
 su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
;;
esac--ICQ#: 103231199
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved