Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle 8.1.7 Installation issue - Unable to change CD's umount error

curtisk_1
Advisor

Oracle 8.1.7 Installation issue - Unable to change CD's umount error

I am currently experiencing a problem when I try to install oracle 8.1.7 onto a HP-UX server.

I run the below procedure to start the installation

Open Excursion

Connect to server

# mount -F cdfs -o cdcase /dev/dsk/c0t0d0 /cdrom
# cd /cdrom
# su - oracle

oracle@brahms:/ops/sysadmin/oracle: cd /cdrom
oracle@brahms:/cdrom: ./runInstaller

This then initiates the installation process.

The installation works fine up until I need to insert the second CD.

When this occurs I try to unmount the cd by get the below error

root@brahms:/: umount /cdrom
umount: cannot unmount /cdrom : Device busy
umount: return error 1.

I have removed all logins from the /cdrom dir and run fuser see below

root@brahms:/: fuser -c /cdrom
/cdrom: 14522o

root@brahms:/: ps -ef | grep 14522
oracle 14522 1 0 13:40:50 pts/0 4:41 /tmp/OraInstall0/jre/bin/../bin/PA_RISC/native_threads/jre -nojit -Doracle.installer.library_loc=/tmp/OraInstall0/oui/bin/hpuni


The only process is the actuall java app that runs to install the product.

I have even tried to run the ./runInstaller command from a seperate oracle installation rather than the CD but i dont have any joy.

Do you know how I can move forward on this so that I can chaneg the cd to progress the install.

Many Thanks
11 REPLIES
Pete Randall
Outstanding Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Try to cd out of the /cdrom directory prior to your umount.


Pete

Pete
curtisk_1
Advisor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Hi Pete,

Unfortunately I have already tried that but I still get the error message.

If I kill the process then that simply kills off the installation.

regards

Kevin
Peter Godron
Honored Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Hi,
aren't you supposed to use pfs_mount for oracle ? Been a while for 8.1.7.

Similar problem at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=207601
curtisk_1
Advisor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Hi Peter,

I've not tried pfs_mount as I am sure I have used the belwo previously and this has worked fine which is why im a little confused.

mount -F cdfs -o rr /dev/dsk/c0t0d0 /cdrom
mount -F cdfs -o cdcase /dev/dsk/c0t0d0 /cdrom

Regards
Volker Borowski
Honored Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Hi,

your problem is the root-shell that you switch to /cdrom before the "su"

# cd /cdrom # This is the prob
# su - oracle

Try instead

# cd /tmp
# su - oracle
cd /tmp
/cdrom/runInstaller

Volker
curtisk_1
Advisor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Hi Volker,

I have tried running the installation as per your commands but this still causes the same error.

cd /tmp
su - oracle
cd /tmp
/cdrom/runInstaller


When it asks for the 2nd disk


root@brahms:/: umount /cdrom
umount: cannot unmount /cdrom : Device busy
umount: return error 1.

root@brahms:/: fuser -c /cdrom
/cdrom: 11774o

root@brahms:/: ps -ef | grep 11774
oracle 11774 1 0 08:11:00 pts/0 4:00 /tmp/OraInstall0/jre/bin/../bin/PA_RISC/native_threads/jre -nojit -Doracle.installer.library_loc=/tmp/OraInstall0/oui/bin/hpuni

Yogeeraj_1
Honored Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

hi,

I prefer using the pfsmount command to mount the cdroms.

attached the script that is used for both mounting and unmount the cdrom.


Also, as mentioned try to launch the installation using the full path instead of the relative path.

As a last resort and quick solution, you may wish to copy the content of the cdroms to a local file system and run the installation from there.

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

script attached.
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
curtisk_1
Advisor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

I tried to launch the installation using the full path instead of the relative path but this did not work either.

I have copied the contents of the cd to the filesystem and run the installation from there which has worked ok. although this has not resolved the problem the work around works
Bill Hassell
Honored Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

The Oracle installer is defective. It will never work because the installer has /cdrom open. PFS is a very painful solution (uses NFS) and except for HP-UX 10.20 and earlier, it is never recommended (ignore the obsolete Oracle comments about PFS) since patches exist for 11.00 and higher to enable the -orr option.


Bill Hassell, sysadmin
Eric Antunes
Honored Contributor

Re: Oracle 8.1.7 Installation issue - Unable to change CD's umount error

Hi curtisk,

You MUST stage (copy the cd's contents to disk) all installation cd's except 1 (you can stage them all) to install Oracle 8i.

Best Regards,

Eric Antunes

Each and every day is a good day to learn.