Edit the "/etc/oratab" file instance to 'Y'.
orcl:/u01/app/oracle/product/9.2.0:Y
Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
ORA_HOME=/u01/app/oracle/product/9.2.0
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/lsnrctl start"
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
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop" ;;
esac
chmod 750 /etc/init.d/dbora
chkconfig --level 345 dbora on
[root@localhost ~]# uname -r
2.6.9-5.EL
[root@localhost ~]# rpm -q kernel
kernel-2.6.9-5.EL
Download kernel
http://rpm.pbone.net/index.php3?stat=26&dist=0&size=10179509&name=kernel-2.6.9-22.EL.i686.rpm
rpm –Uvh kernel-2.6.9-22.EL.i686.rpm
init 6
uname –r
2.6.9-22.0.1.EL
Download Firewire Modules
http://oss.oracle.com/projects/firewire/dist/files/RedHat/RHEL4/i386/oracle-firewire-modules-2.6.9-22.EL-1286-1.i686.rpm (for single processor)
rpm –ivh oracle-firewire-modules-2.6.9-22.EL-1286-1.i686
Add the following entry in /etc/modprobe.conf file:
options sbp2 exclusive_login=0
modprobe -r sbp2
modprobe -r sd_mod
modprobe -r ohci1394
modprobe ohci1394
modprobe sd_mod
modprobe sbp2
/usr/sbin/kudzu
init 6
[root@linux1 ~]# lspci
00:00.0 Host bridge: Intel Corp.: Unknown device 2770 (rev 02)
00:02.0 VGA compatible controller: Intel Corp.: Unknown device 2772 (rev 02)
00:1b.0 Class 0403: Intel Corp.: Unknown device 27d8 (rev 01)
00:1c.0 PCI bridge: Intel Corp.: Unknown device 27d0 (rev 01)
00:1c.2 PCI bridge: Intel Corp.: Unknown device 27d4 (rev 01)
00:1c.3 PCI bridge: Intel Corp.: Unknown device 27d6 (rev 01)
00:1d.0 USB Controller: Intel Corp.: Unknown device 27c8 (rev 01)
00:1d.1 USB Controller: Intel Corp.: Unknown device 27c9 (rev 01)
00:1d.2 USB Controller: Intel Corp.: Unknown device 27ca (rev 01)
00:1d.3 USB Controller: Intel Corp.: Unknown device 27cb (rev 01)
00:1d.7 USB Controller: Intel Corp.: Unknown device 27cc (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 27b8 (rev 01)
00:1f.2 IDE interface: Intel Corp.: Unknown device 27c0 (rev 01)
00:1f.3 SMBus: Intel Corp.: Unknown device 27da (rev 01)
04:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
04:08.0 Ethernet controller: Intel Corp.: Unknown device 1094 (rev 01)
[root@linux1 ~]# lsmod egrep "ohci1394sbp2ieee1394sd_modscsi_mod"
sd_mod 17217 5
sbp2 23948 4
ohci1394 35784 0
ieee1394 298228 2 sbp2,ohci1394
scsi_mod 121293 4 usb_storage,sd_mod,sbp2,libata
[root@linux1 ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: Seagate Model: FreeAgentPro FW4 Rev: 120R
Type: Direct-Access ANSI SCSI revision: 06
[root@linux1 ~]# fdisk -l
Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 261 2096451 83 Linux
/dev/hdc2 262 6635 51199155 83 Linux
/dev/hdc3 6636 7081 3582495 82 Linux swap
/dev/hdc4 7082 19457 99410220 5 Extended
/dev/hdc5 7082 7212 1052226 83 Linux
/dev/hdc6 7213 19457 98357931 83 Linux
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System