Oraclecp: cannotstat '/DISCARD/': Nosuchfileordirector

Source: Internet
Author: User
When the Database of Oracle10.2.0.1 is installed on Redhat5.4, The result remains stuck at 51%, and the Log is always stopped at: cp: cannotstat 'discard

Install the Database of Oracle 10.2.0.1 on Redhat 5.4, and the result is stuck at 51%. Check that the Log is always stopped at: cp: cannot stat '/DISCARD/

When the Database of Oracle 10.2.0.1 is installed on RedHat 5.4, the result remains stuck at 51%:

Cp: cannot stat '/DISCARD/': No such fileor directory

However, it will be skipped after a period of time. In short, the Link process was very long. During this period, I also watched a movie. Before that, I encountered the link failure problem due to the lack of the RPM package. So I checked the RPM package this time ,, no missing package.

Description of Relink Binary Options for a single Oracle instance

LogThe log is as follows:

[Root @ rac1 install] # tail make. log

Mv/u01/app/oracle/product/10.2.0/db_1/sysman/lib/nmb/u01/app/oracle/product/10.2.0/db_1/bin/

Make [1]: Leaving directory '/u01/app/oracle/product/10.2.0/db_1/sysman/lib'

/Usr/bin/make-f restart ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1/rm-f ldapaddldapbind ldapcompare ldapdelete ldapmodify ldapsearch ldapmoddn restart dsml2ldif

Building client shared library libclntsh. so...

Call script/u01/app/oracle/product/10.2.0/db_1/bin/genclntsh...

/U01/app/oracle/product/10.2.0/db_1/bin/genclntsh

Cp: cannot stat '/DISCARD/': No such fileor directory

Ar: creating/u01/app/oracle/product/10.2.0/db_1/lib/libclntst10.a

Created/u01/app/oracle/product/10.2.0/db_1/lib/libclntst10.a

Cp: cannot stat '/DISCARD/': No such fileor directory

It took a few hours to install Oracle software. During this period, No error was reported, but it took a long time to wait for cp: cannot stat '/DISCARD/': No such file or directory.

Google posted an article on the Internet. The content is similar and should also be from MOS, but I can't see this article on MOS.

Applies:

Oracle Server-Enterprise Edition-Version: 10.2.0.1 to 10.2.0.4-Release: 10.2 to 10.2 Information in thisdocument applies to any platform.

Symptoms

Upgrading CRS from 10.2.0.1 to 10.2.0.2

During execution of the root102.sh script, the following messages appear

Cp: cannot stat '/DISCARD/': No such file or directory
Ar: creating/u00/crs/oracle/product/10/crs/lib/libclntst10.a
Cp: cannot stat '/DISCARD/': No such file or directory
Ar: creating/u00/crs/oracle/product/10/crs/lib32/libclntst10.a

Cause

The entry of directory/DISCARD/is presentin the linker map file clntsh. map which is generated by genclntsh. clntsh. map is used by genclntst to scan for list of objects to be deleted dedin static libraray for relinking libclntst10.a.

The stat warning regarding/DISCARD/can also be ignored as libcltst10.a is gettingrelinked successfully.

Solution

These messages can be safely ignored

According to the instructions, this warning can be ignored when the Relink is successful. But the waiting process is too long.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.