'shrept.lst'에 해당되는 글 1건

  1. 2007.12.12 genclntsh: Could not locate $ORACLE_HOME/network/admin/shrept.lst

Symptoms

Installation of an Oracle9i/10g patchset may fail with the following error:

e.g
/usr/ccs/bin/make -f ins_net_client.mk mkldflags client_sharedlib install
ORACLE_HOME=/u01/app/oracle/product/9.2.0 /u01/app/oracle/product/9.2.0/bin/genclntsh
genclntsh: Could not locate /u01/app/oracle/product/9.2.0/network/admin/shrept.lst
genclntsh: exiting ...
make: Fatal error:
or
INFO: genclntsh: genclntsh: Could not locate  
/app/oracle/product/10.2.0/network/admin/shrept.lst
INFO: *** Error exit code 1

INFO: ld: Can't find library or mismatched ABI for -lclntsh
Fatal error.

INFO: ld: I/O error, file "/app/oracle/product/10.2.0/lib/libclntsh.so":
Invalid argument
Fatal error.

Changes

Installing an Oracle9i/10g patchset

Cause

Either the $ORACLE_HOME/network/admin/shrept.lst is missing or it has the wrong file permissions

Solution

Please ensure the $ORACLE_HOME is set:

    env | grep ORACLE_HOME

If it is not set, set it and then follow one of the following options:

Option 1:
======
If the file is missing, create $ORACLE_HOME/network/admin/shrept.lst with a text editor and put the following lines into it.


network : snaumihi_inithostinfo
network : snaumbg_gmt
network : naedpwd_encrypt
network : naumbsb_bld_singlebyte
network : ztapis

Using the 'ls -al' command, check that the file has 644 permissions:

-rw-r--r-- $ORACLE_HOME/network/admin/shrept.lst

If necessary, change the permissions using the command:

chmod 644 $ORACLE_HOME/network/admin/shrept.lst

Now manually relink using the command 'relink all'

Option 2:
======
If the file is missing, for Oracle9i extract it from the first 9.2.0.1.0 CD as follows:

cd $ORACLE_HOME/network/admin
jar xvf /cdrom/cdrom0/stage/Components/oracle.rsf.net_rsf/9.2.0.1.0/1/DataFiles/admin.1.1.jar shrept.lst

For Oracle10g extract the missing file from the first 10.2.0.1.0 CD as follows:

cd $ORACLE_HOME/network/admin
jar xvf <10.2.0.1staging_area>/stage/Components/oracle.network.rsf/10.2.0.1.
0/1/DataFiles/filegroup8.jar


Using the 'ls -al' command, check that the file has 644 permissions:

-rw-r--r-- $ORACLE_HOME/network/admin/shrept.lst

If necessary, change the permissions using the command:

chmod 644 $ORACLE_HOME/network/admin/shrept.lst

Now manually relink using the command 'relink all'

Option 3:
======
Manually copy the file from another Oracle9i/10g installation

Using the 'ls -al' command, check that the file has 644 permissions:

-rw-r--r-- $ORACLE_HOME/network/admin/shrept.lst

If necessary, change the permissions using the command:

chmod 644 $ORACLE_HOME/network/admin/shrept.lst

Now manually relink using the command 'relink all'

Posted by pat98
이전버튼 1 이전버튼

05-09 04:31
Flag Counter
Yesterday
Today
Total

글 보관함

최근에 올라온 글

달력

 « |  » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

최근에 달린 댓글