open the oracle 10g on linux
first: you must edit the file named /$oracle_home/bin/dbstart
edit the $oracle_home_listenr=$oracle_home
second: you must edit the file named /$orale_home/bin/dbshut
with the same
third:edit the file called /etc/oratab
old:
new:
four:create the file /etc/init.d/oracledb
# !/bin/bash
# whoami
# root
# chkconfig: 345 51 49
# description: starts the oracle dabase deamons
#
ORACLE_HOME=/oracle/product/9idb
ORACLE_OWNER=oracle
case "$1" in
start)
echo -n "Starting oracle10g: "
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart" &
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/lsnrctl start"
#su - $ORACLE_OWNER -c "$ORACLE_HOME/export ORACLE_SID=CCEN"
touch /var/lock/subsys/oracle10g
echo
;;
stop)
echo -n "shutting down oracle10g: "
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbshut" &
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/lsnrctl stop"
rm -f /var/lock/subsys/oracle10g
echo
;;
'restart')
echo -n "restarting oracle10g: "
$0 stop
$0 start
echo
;;
*)
echo "usage: oracle10g "
exit 1
esac
exit 0
last:chkconfig --add oracledb
ok restart the system and the oracle services would started while the system starting@
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9879835/viewspace-996986/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 基本完成open suse linux 下的oracle 10g安裝LinuxOracle 10g
- 關於oracle 10G for suse 9 的rman: can't open targetOracle 10g
- Oracle Linux 5.5 安裝Oracle 10gLinuxOracle 10g
- oracle 10g rac install for linuxOracle 10gLinux
- ORACLE 10G Client For Linux RedHat 6.2Oracle 10gclientLinuxRedhat
- ORACLE 10G RAC for Linux AS4Oracle 10gLinux
- Linux 下Oracle 10G RAC 管理LinuxOracle 10g
- linux下安裝oracle 10gLinuxOracle 10g
- IBM open power 720 +suse 9+oracle 10g 安裝手記IBMOracle 10g
- Linux & Oracle 10g RAC --- .bash_profileLinuxOracle 10g
- Oracle:open_cursorsOracle
- RH5 安裝ORACLE 10G 出錯 1,libXp.so.6: cannot open 2,libXt.so.6: cannot openH5Oracle 10g
- 32位Linux下安裝Oracle 10gLinuxOracle 10g
- VMWARE+linux+oracle 10g RAC 之四LinuxOracle 10g
- VMWARE+linux+oracle 10g RAC 之三LinuxOracle 10g
- VMWARE+linux+oracle 10g RAC 之二LinuxOracle 10g
- VMWARE+linux+oracle 10g RAC 之一LinuxOracle 10g
- RMAN can not open in LinuxLinux
- Oracle 10g RAC for linux 的完全解除安裝Oracle 10gLinux
- Linux下建立Oracle 10g DG和Broker配置LinuxOracle 10g
- 在Linux下安裝Oracle 10g的方法LinuxOracle 10g
- Linux 下建立Oracle 10g DG和Broker配置LinuxOracle 10g
- Oracle 10g RAC CRS-0184 linuxOracle 10gLinux
- linux_ulimit_open filerLinuxMIT
- How to find Current open Cursors in OracleOracle
- oracle startup(nomount mount open restrict)OracleREST
- LINUX下解除安裝ORACLE 10g資料庫LinuxOracle 10g資料庫
- Linux RHEL 5 安裝ORACLE 10g資料庫LinuxOracle 10g資料庫
- 【Open-Falcon】Linux下安裝Open-FalconLinux
- ORACLE 10g下載|ORACLE 10g下載地址|ORACLE 10g官網下載地址Oracle 10g
- Oracle RAC 10g Installation on Oracle Enterprise Linux Using VMware ServerOracleLinuxServer
- 使用 VMware 在 Oracle Enterprise Linux 上安裝 Oracle RAC 10gOracleLinux
- oracle 10g patchOracle 10g
- ORACLE 10G AUTOTRACEOracle 10g
- oracle asm 10gOracleASM
- recyclebin for oracle 10gOracle 10g
- Oracle 10g flashbackOracle 10g
- Glossary Oracle 10gOracle 10g