Unable to relink ORACLE_HOME mounted from a NetApp Filer [ID 313417.1] --------------------------------------------------------------------------------
Modified 07-MAY-2007 Type PROBLEM Status PUBLISHED The information in this document applies to: Install of the RDBMS, iAS, Portal or any Oracle software that uses the 'relink all' command to relink the software on a Unix/Linux platform. SymptomsYou have mounted a volume from a NetApp filer to the ORACLE_HOME on your Linux/Unix machine.The .snapshot directory is visible in the ORACLE_HOME that was created by the filer to manage snapshots for the volume on the filer.Any version of the Oracle software that uses the relink command, such as the RDBMS or iAS, has been installed.The 'relink all' command is issued and recieves the following errorsmake: Fatal error: Command failed for target `libsrvm.so' ld: fatal: file trcroute: open failed: Read-only file system make: Fatal error: Command failed for target `trcroute' ld: fatal: file dbsnmp: open failed: Read-only file system make: Fatal error: Command failed for target `dbsnmp' ld: fatal: file tnslsnr: open failed: Read-only file system make: Fatal error: Command failed for target `tnslsnr' make: Fatal error: Don't know how to make target `install' ld: fatal: file sqlplus: open failed: Read-only file system make: Fatal error: Command failed for target `sqlplus' or/usr/bin/ld: cannot open output file emtgtctl2: Permission denied collect2: ld returned 1 exit status make[1]: *** [emtgtctl2] Error 1 make[1]: Leaving directory `/u03/app/oracle/product/dave-test/.snapshot/dave-test/sysman/lib' make: *** [iemtgtctl] Error 2 ChangesThe presence of a .snapshot directory in the ORACLE_HOME causes 'relink all' to produce errors.CauseNote the presence of a .snapshot directory in the above error.The 'relink all' command performs a recursive find under the ORACLE_HOME for any make file. The relink is looking in the .snapshot directory and attempting relink the software in this directory which is a read-only file system.Solution There are two SolutionsA. Make the snapshot directory invisible so relink will not look in the directory.1. Unmount the volume associated with the ORACLE_HOME2. Start the FilerView tool on the NetApp Filer3. Select Volumes4. Select Snapshots5. Select Manage6. Select the Volume Name7. Uncheck the box Snapshot Directory Visible: Directory8. Mount the volume to the ORACLE_HOME B. Do not mount the volume to the ORACLE_HOME.1. Mounting the volume to another location other than the ORACLE_HOME will result in the creation of a .snapshot directory in another location and relink will not search the .snapshot directory.ReferenceTAR 4412810.992 RFA 234 Related-------------------------------------------------------------------------------- Products --------------------------------------------------------------------------------Enterprise Management > Legacy Enterprise Manager Products > Oracle Enterprise Manager 9i > Oracle Enterprise Manager Middleware > Application Servers > Oracle Application Server > Oracle Fusion Middleware Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition Keywords -------------------------------------------------------------------------------- APPLIANCE; NETAPP; NFS
Link of tnslsnr Fails during Install of 8.1 (64 bit) on Solaris [ID 144155.1] --------------------------------------------------------------------------------
Modified 05-MAR-2004 Type PROBLEM Status PUBLISHED fact: Solaris Operating System (SPARC) (64-bit) fact: Oracle Server - Enterprise Edition 8.1 symptom: Link of TNSLISTENER fails during Install symptom: Fatal error: command failed for target tnslsnr symptom: /opt/SUNWcluster/lib:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -QY -lc -laio symptom: ld:fatal:library -lclntsh:not found symptom: ld:fatal:library -lnsl:not found symptom: ld:fatal:library -lsocket:not found symptom: ld:fatal:library -lgen:not found symptom: ld:fatal:library -lposix4:not found symptom: ld:fatal:library -laio:not found symptom: ld:fatal:library -lm:not found symptom: ld:fatal:library -lc:not found symptom: ld:fatal: File processing errors. No output written to tnslsnr symptom: make: Fatal error: Command failed for target 'itnslsnr' symptom: ld:fatal:library -ldl:not found cause: Oracle 8.1 (64 bit) requires the 64 bit Operating System Package SUNWcslx.fix:Check the Operating System for the installation of the O/S package #pkginfo -i SUNWcslx.If the package is not installed this output will be seen:#ERROR: information for "SUNWcslx" was not foundConsult the O/S vendor for instructions on installing the package.Once the O/S package is installed, issue the following commands:#cd /ORACLE_HOME/bin #genclntsh -64 #relink all
楼上们,不好用阿,我这没有ERROR: information for "SUNWcslx" was not found 这个错误。 -------------- #cd /ORACLE_HOME/bin #genclntsh -64 #relink all ------------------ 执行后错误还是那个。 TO csucxcc,您的那个第一个回答的两个解决方案没看懂,不知道是什么意思
出错的前提: You have mounted a volume from a NetApp filer to the ORACLE_HOME on your Linux/Unix machine. 你挂载了一个volume ,从 netapp 文件夹到你unix 服务器的ORACLE_HOME下.出错的原因: The 'relink all' command performs a recursive find under the ORACLE_HOME for any make file. The relink is looking in the .snapshot directory and attempting relink the software in this directory which is a read-only file system. .snapshot 这个文件夹在 $ORACLE_HOME 下是只读的,但是relink all 需要更新它,所以失败了. 解决方案: 1\Make the .snapshot directory invisible so relink will not look in the directory. 让snapshot 文件夹对于 relink 操作是不可见的.2\ Do not mount the volume to the ORACLE_HOME 不把卷挂载到 ORACLE_HOME文件夹下来. 首先看下你的 $ORACLE_HOME 文件夹下有没有这个.snapshot 文件吧. cd $ORACLE_HOME ls -al .snapshot
Modified 07-MAY-2007 Type PROBLEM Status PUBLISHED
The information in this document applies to: Install of the RDBMS, iAS, Portal or any Oracle software that uses the 'relink all'
command to relink the software on a Unix/Linux platform.
SymptomsYou have mounted a volume from a NetApp filer to the ORACLE_HOME on your Linux/Unix machine.The .snapshot directory is visible in the ORACLE_HOME that was created by
the filer to manage snapshots for the volume on the filer.Any version of the Oracle software that uses the relink command, such as the RDBMS
or iAS, has been installed.The 'relink all' command is issued and recieves the following errorsmake: Fatal error: Command failed for target `libsrvm.so'
ld: fatal: file trcroute: open failed: Read-only file system
make: Fatal error: Command failed for target `trcroute'
ld: fatal: file dbsnmp: open failed: Read-only file system
make: Fatal error: Command failed for target `dbsnmp'
ld: fatal: file tnslsnr: open failed: Read-only file system
make: Fatal error: Command failed for target `tnslsnr'
make: Fatal error: Don't know how to make target `install'
ld: fatal: file sqlplus: open failed: Read-only file system
make: Fatal error: Command failed for target `sqlplus'
or/usr/bin/ld: cannot open output file emtgtctl2: Permission denied
collect2: ld returned 1 exit status
make[1]: *** [emtgtctl2] Error 1
make[1]: Leaving directory `/u03/app/oracle/product/dave-test/.snapshot/dave-test/sysman/lib'
make: *** [iemtgtctl] Error 2
ChangesThe presence of a .snapshot directory in the ORACLE_HOME causes 'relink all' to
produce errors.CauseNote the presence of a .snapshot directory in the above error.The 'relink all' command performs a recursive find under the ORACLE_HOME for any
make file. The relink is looking in the .snapshot directory and attempting relink
the software in this directory which is a read-only file system.Solution
There are two SolutionsA. Make the snapshot directory invisible so relink will not look in the directory.1. Unmount the volume associated with the ORACLE_HOME2. Start the FilerView tool on the NetApp Filer3. Select Volumes4. Select Snapshots5. Select Manage6. Select the Volume Name7. Uncheck the box Snapshot Directory Visible: Directory8. Mount the volume to the ORACLE_HOME
B. Do not mount the volume to the ORACLE_HOME.1. Mounting the volume to another location other than the ORACLE_HOME will
result in the creation of a .snapshot directory in another location and relink
will not search the .snapshot directory.ReferenceTAR 4412810.992
RFA 234 Related--------------------------------------------------------------------------------
Products
--------------------------------------------------------------------------------Enterprise Management > Legacy Enterprise Manager Products > Oracle Enterprise Manager 9i > Oracle Enterprise Manager
Middleware > Application Servers > Oracle Application Server > Oracle Fusion Middleware
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
Keywords
--------------------------------------------------------------------------------
APPLIANCE; NETAPP; NFS
Modified 05-MAR-2004 Type PROBLEM Status PUBLISHED fact: Solaris Operating System (SPARC) (64-bit)
fact: Oracle Server - Enterprise Edition 8.1
symptom: Link of TNSLISTENER fails during Install
symptom: Fatal error: command failed for target tnslsnr
symptom: /opt/SUNWcluster/lib:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -QY -lc
-laio
symptom: ld:fatal:library -lclntsh:not found
symptom: ld:fatal:library -lnsl:not found
symptom: ld:fatal:library -lsocket:not found
symptom: ld:fatal:library -lgen:not found
symptom: ld:fatal:library -lposix4:not found
symptom: ld:fatal:library -laio:not found
symptom: ld:fatal:library -lm:not found
symptom: ld:fatal:library -lc:not found
symptom: ld:fatal: File processing errors. No output written to tnslsnr
symptom: make: Fatal error: Command failed for target 'itnslsnr'
symptom: ld:fatal:library -ldl:not found
cause: Oracle 8.1 (64 bit) requires the 64 bit Operating System Package
SUNWcslx.fix:Check the Operating System for the installation of the O/S package
#pkginfo -i SUNWcslx.If the package is not installed this output will be seen:#ERROR: information for "SUNWcslx" was not foundConsult the O/S vendor for instructions on installing the package.Once the O/S package is installed, issue the following commands:#cd /ORACLE_HOME/bin
#genclntsh -64
#relink all
--------------
#cd /ORACLE_HOME/bin
#genclntsh -64
#relink all
------------------
执行后错误还是那个。
TO csucxcc,您的那个第一个回答的两个解决方案没看懂,不知道是什么意思
You have mounted a volume from a NetApp filer to the ORACLE_HOME on your Linux/Unix machine. 你挂载了一个volume ,从 netapp 文件夹到你unix 服务器的ORACLE_HOME下.出错的原因:
The 'relink all' command performs a recursive find under the ORACLE_HOME for any
make file. The relink is looking in the .snapshot directory and attempting relink
the software in this directory which is a read-only file system.
.snapshot 这个文件夹在 $ORACLE_HOME 下是只读的,但是relink all 需要更新它,所以失败了.
解决方案:
1\Make the .snapshot directory invisible so relink will not look in the directory.
让snapshot 文件夹对于 relink 操作是不可见的.2\ Do not mount the volume to the ORACLE_HOME
不把卷挂载到 ORACLE_HOME文件夹下来.
首先看下你的 $ORACLE_HOME 文件夹下有没有这个.snapshot 文件吧.
cd $ORACLE_HOME
ls -al .snapshot