Operating System - HP-UX
1752583 Members
5178 Online
108788 Solutions
New Discussion юеВ

Re: ORACLE 9i INSTALLATION

 

ORACLE 9i INSTALLATION

hai all
can any body guide me to the oracle database server installation procedure.
My server is hp-ux 11.11
oracle 9i enterprice server
My problem is while installing the oracle at the linlking stage it is giving the following errors
Error in Linking target relink os makefile
$ORACLE_HOME/precomp/lib/ins_precomp.mk
$ORACLE_HOME/lib/ins/sqlplus.mk

i able to ignore this and complite the installation , but then after the i can connect to the database server till i reboot the server , after i restarted the M/C it is not able to connect to the server ,it gives the error
Listener not found

sqlplus also giving the following error
$ sqlplus
/usr/lib/pa20_64/dld.sl: Unable to find library 'libwtc9.sl'.
Abort(coredump)

with thanks and regards
Anith Prabhakar.C

8 REPLIES 8

Re: ORACLE 9i INSTALLATION

there are few currections
hai all
can any body guide me to the oracle database server installation procedure.
My server is hp-ux 11.11
oracle 9i enterprice server
My problem is while installing the oracle at the linlking stage it is giving the following errors
Error in Linking target relink os makefile
$ORACLE_HOME/precomp/lib/ins_precomp.mk
$ORACLE_HOME/lib/ins_sqlplus.mk

i able to ignore this and complite the installation , but then after the i can connect to the database server till i reboot the server , after i restarted the M/C it is not able to connect to the server ,it gives the error
Listener not found

sqlplus also giving the following error
$ sqlplus
/usr/lib/pa20_64/dld.sl: Unable to find library 'libwtc9.sl'.
Abort(coredump)

with thanks and regards
Anith Prabhakar.C
Piergiacomo Perini
Trusted Contributor

Re: ORACLE 9i INSTALLATION

Hi Anith Prabhakar.C,
to check if system is configured correctly
maybe "InstallPrep.sh" from Oracle Metalink could help you.

regards

pg
Bill Thorsteinson
Honored Contributor

Re: ORACLE 9i INSTALLATION

You need to add a startup script to
start the listener during reboot.
I beleive there is a default one in one
of the installation directorires.

You can manually start the listener with
by running
lsnrctl start
as oracle after setting the environment
to one of your databases with the
oraenv script.

You will also have to restart the database.

Shutdown is reversed, shutdown databases,
then the listener.
Peter Godron
Honored Contributor

Re: ORACLE 9i INSTALLATION

Anith,
I would not ignore a make error. Have you set your LD_LIBRARY_PATH correctly,also check ORACLE_HOME.
If my memory serves me correctly, there was also something about having to comment out a genclntsh line in the make file, but don't quote me on this.
Faizer Jameel
Frequent Advisor

Re: ORACLE 9i INSTALLATION

As a practice we fist ensure the pre-requisities are all carried out successfully. The prerequisites are available in the installation and configuration guide for Oracle9i.
The pre-requisites would mention the OS patches that are rwquired, the kernel parameters that need to be changed, the version of Java, the Acc compiler etc.

the best is to check the pre-requisites are adhered to.
By this way we eliminate most of the initial issues that could crop up.
Hope this helps.
Faizer
Yogeeraj_1
Honored Contributor

Re: ORACLE 9i INSTALLATION

hi Anith,

Make sure you went through the pre-installation tasks as per the installation guide.

Also, it would really help if you run the install_prep.sh script (available from metalink) so as to identify any missing condition on your server prior to the installation.


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

Re: ORACLE 9i INSTALLATION

genclntshProblem.txt
--------------------

* "Error invoking target install of makefile /opt/oracle/product/9.0.1/plsql/lib/ins_plsql.mk"
"Error invoking target install of makefile /opt/oracle/product/9.0.1/precomp/lib/ins-precomp.mk"
"Error invoking target install of makefile /opt/oracle/product/9.0.1/precomp/lib/ins-net-client"

I saw this error only when I installed Oracle 9i (9.0.1). People
have sent me emails pointing out that the following solution also
works for Mandrake 8.1, Mandrake 8.2, and for SuSE 8.0.

Edit the file $ORACLE_HOME/bin/genclntsh and change the following line:

LD_SELF_CONTAINED="-z defs"

to read:

LD_SELF_CONTAINED=""

After that run the script $ORACLE_HOME/bin/genclntsh as the user
"oracle" and not as the user "root". Also make sure you have all
the Oracle environments set correctly!

$ su - oracle
$ $ORACLE_HOME/bin/genclntsh
Created /opt/oracle/product/9.0.1/lib/libclntst9.a
$

After that hit Retry in the error dialog window. This always worked for me.


http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html
To remove this errors on 9i R1 database products, modify the following files by removing "-z defs":
$ORACLE_HOME/bin/genclntsh
$ORACLE_HOME/ldap/lib/ins_ldap.mk
$ORACLE_HOME/ldap/lib/env_ldap.mk
$ORACLE_HOME/sqlplus/lib/env_sqlplus.mk
similarly from 9i iAS find out makefiles who are using "-z defs" options.
Remove "-z defs" option from all make files. Next time relink will not give any errors.

Steven E. Protter
Exalted Contributor

Re: ORACLE 9i INSTALLATION

Shalom,

Normally these problems come from the following sources:

1)Environment variables such as SHLIB_PATH not correct.
2)Not enough disk space in designated installation filesystem.
3)Not strictly following Oracle isntall guidelines for system preparation, patching and preinstallation of required software.

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