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

Installing oracle client 9i on hpux 11i

SOLVED
Go to solution
Shivkumar
Super Advisor

Installing oracle client 9i on hpux 11i

Dear Sirs,

I got a request to create an oracle user for installing oracle client on hpux 11i per below mentioned command.

useradd -u 101 -g dba -c "Oracle Software Owner" -d /opt/oracle -s /bin/bash oracle

I believe hpux 11i does not have /bin/bash ( bash ) shell. Should i replace the oracle user's shell with "/usr/bin/ksh" ?

Thanks,
Shiv
7 REPLIES
Chan 007
Honored Contributor
Solution

Re: Installing oracle client 9i on hpux 11i

Shiv,

ensure that 101 is not used for something else.

Can you create any shell your org is standardised with. e.g check you nearest system for the shell.

Else install ksh.

Chan
Jeff_Traigle
Honored Contributor

Re: Installing oracle client 9i on hpux 11i

Looks like someone didn't cleanup the install doc for HP-UX they copied from Linux. :) Any of the *sh shells should work fine. The good old POSIX shell works fine as should Korn.
--
Jeff Traigle
Steven E. Protter
Exalted Contributor

Re: Installing oracle client 9i on hpux 11i

Shalom Shiv,

the bash shell for HP-UX will not intereact properly for Oracle. That is not a certified combination.

You should use ksh or posix, depending on what the oracle documentation says. I've pretty much done both.

There is hpux specific documentation at http://technet.oracle.com and http://metalink.oracle.com

Using a Linux setup manual for Oracle is a reciple for a non-working database.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Installing oracle client 9i on hpux 11i

Hi Shiv:

The 'bash' shell doesn't come with standard HP-UX. That aside, there is no reason not to use the standard Posix shell -- '/usr/bin/sh'. It gives you excellent support.

Remember, if you wish to use another shell for a particular script there is nothing to prevent you from doing so. Simply declare the approriate interpreter in the "she-bang" line -- #!

The Korn shell found in '/usr/bin/ksh' is a Korn88 version and doesn't differ substantially from the Posix shell. There is a Korn93 shell in '/usr/dt/bin/dtksh' which provides more modern features than the standard 'ksh', but, again, I setup the default shell to be the Posix one for conformity.

Regards!

...JRF...
Arunvijai_4
Honored Contributor

Re: Installing oracle client 9i on hpux 11i

Hi Shiv,

"BASH" doesnt come with HP-UX by default. It is part of TCOpensource component, which can be downloaded from,

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123

You can give as "useradd -u 101 -g dba -c "Oracle Software Owner" -d /opt/oracle -s /usr/bin/ksh oracle"

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor

Re: Installing oracle client 9i on hpux 11i

hi shiv,

since bash shell does not exist on hp-ux, you can use either of ksh, sh or csh

Anyway, all the oracle script have the appropriate instructions as to what script to use when executing. Nothing you have to worry about.

Just choose any shell that you are at ease with.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Simon Wickham_6
Regular Advisor

Re: Installing oracle client 9i on hpux 11i

Hi Shiv,

In order to access an Oracle database, a number of software components need to be installed on a client. Oracle 9i uses its networking component Net8 to provide client-server and server-server connectivity for many common protocols and platforms. Simply export your display and run the Oracle Installer selecting to install Oracle client 9.X.X.0.X.

Oracle Client installation you can specify the type of installation required for the client components depending upon the features that the client machine needs If you need to perform DBA tasks such as creating and backing-up databases, and stopping the server then choose the Administrator option. Install a layer of network software that allows you to communicate with Oracle.

Regards,
Simon