cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle problems

Alekseev Roman
Occasional Contributor

Oracle problems

Hello there.

After installing an oracle on HP-UX 11.00 platform running in a 64B mode, starting svrmgrl to create a db i am getting a such error:

$ svrmgrl

Oracle Server Manager Release 3.1.7.0.0 - Production

Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.

sh: /oracle/bin/oracle: Execute permission denied.
sh: /oracle/bin/oracle: Execute permission denied.
ORA-12547: TNS:lost contact
SVRMGR>

Trying to start oracle by hands, i am getting:

$ /oracle/bin/oracle
/oracle/bin/oracle: Exec format error. Binary file not executable.

while

> file /oracle/bin/oracle
/oracle/bin/oracle: ELF-64 executable object file - PA-RISC 2.0 (LP64)

and kernel is

> file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)

What is wrong and witch steps i have to do to start an oracle?
2 REPLIES
Steven Sim Kok Leong
Honored Contributor

Re: Oracle problems

Hi,

Did you relink Oracle by running root.sh at the end of the installation?

Hope this helps. Regards.

Steven Sim Kok Leong
Email: steven@beepz.com. Homepage: https://www.beepz.com
Helen French
Honored Contributor

Re: Oracle problems

Hi,

This error normally comes after fresh install due to lot of reasons. A possible try as described in the Oracle metalink support:


Install HP-UX linker tools cumulative patch PHSS_22514 or later.

After you install this patch, all of the Oracle executables need to be relinked:

For Oracle8i:

1) Change to the "bin" directory:

% cd $ORACLE_HOME/bin

2) Use the "relink" utility with the "all" argument:

% relink all

3) Use the "relink" utility with the "utilities" argument:

% relink utilities

4) Change to the "sqlplus/lib" directory:

% cd $ORACLE_HOME/sqlplus/lib

5) Use the "make" command to relink "sqlplus":

% make -f ins_sqlplus.mk install

For Oracle8:

1) Change to the "rdbms/lib" directory:

% cd $ORACLE_HOME/rdbms/lib

2) Use the "make" command to relink the RDBMS:

% make -f ins_rdbms.mk install

3) Change to the "sqlplus/lib" directory:

% cd $ORACLE_HOME/sqlplus/lib

4) Use the "make" command to relink sqlplus:

% make -f ins_sqlplus.mk install

5) Change to the "network/lib" directory:

% cd $ORACLE_HOME/network/lib

6) Use the "make" command to relink the Intelligent Agent:

% make -f ins_agent.mk install

7) Use the "make" command to relink Net8:

% make -f ins_network.mk install

HTH,
Shiju


Life is a promise, fulfill it!