Oracle CP: cannot stat '/discard/': no such file or directory description

Source: Internet
Author: User



When the database of Oracle 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 an RPM package. So I checked the RPM package this time, no missing package.


Description of relink binary options for a single oracle instance



The log is as follows:

[Root @ Rac1 install] # tail make. Log


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...


CP: cannot stat '/discard/': no such fileor directory

AR: Creating/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.




Oracle Server-Enterprise Edition-version: to 10.2 to 10.2 information in thisdocument applies to any platform.



Upgrading CRS from to


During execution of the 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



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.

-- This warning can be ignored when the libcltst10.a relink is successful.



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.





Bytes -------------------------------------------------------------------------------------------------------

All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!

Skype: tianlesoftware










------- Add a group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, reject the application ----

Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)

Super DBA group: 63306533 (full); dba4 group: 83829929 dba5 group: 142216823

Dba6 group: 158654907 dba7 group: 172855474 DBA group: 104207940


Related Article

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: 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.