RE: cpu patch

From: Matthew Zito <mzito_at_gridapp.com>
Date: Mon, 24 Aug 2009 12:47:56 -0400
Message-ID: <C0A5E31718FC064A91E9FD7BE2F081B102380686_at_exchange.gridapp.com>



That's definitely it "text file busy" happens when you attempt to overwrite a running/locked binary/library with a new version.  

For the nerd explanation, the OS doesn't want to have to worry about swapping out the areas of memory that represent the binary sections of a running process (after all, the binary itself shouldn't change, just the heap, stack, shared memory, etc.). So the OS will make the on-disk binary read-only, and any attempt to overwrite it will give the semi-inscrutable "text file busy" error.  

A fun workaround is if you do a rename on the binary, such that the directory entry to the file changes, but the file itself remains the same (i.e. you can't do this across partitions), you can have something like binary.old, and make a new binary, which won't kick in until the process is restarted.  

Matt  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Zelli, Brian Sent: Monday, August 24, 2009 10:57 AM
To: 'Lyall Barbour'; Oracle L
Subject: RE: cpu patch  

Could it possibly be from my listener? I think when I ran the patch I forgot to shut it down.  

ciao,

Brian  


From: Lyall Barbour [mailto:lyallbarbour_at_sanfranmail.com] Sent: Monday, August 24, 2009 10:54 AM
To: Zelli, Brian; Oracle L
Subject: RE: cpu patch

is your LIB32_PATH and LD_LIBRARY_PATH set up correctly. I had this problem awhile ago and that's the thing that sticks out in my mind immediately without going to look at my notes...  

Lyall

  • Original Message ----- From: "Zelli, Brian" To: "Oracle L" Subject: RE: cpu patch Date: Mon, 24 Aug 2009 10:24:28 -0400

        Ok, thanks to Kumar I was able to find the log. And what I found was this:                   

        INFO:4) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_net_client.mk

        client_sharedlib ORACLE_HOME=/u01/oracle"....'rm:
/u01/oracle/lib/libclntsh.so.1

        0.1 not removed. Text file busy

        genclntsh: Failed to remove /u01/oracle/lib/libclntsh.so.10.1

        Stop.

        INFO:5) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk clien

        t_sharedlib ORACLE_HOME=/u01/oracle"....'rm:
/u01/oracle/lib/libclntsh.so.10.1 n

        ot removed. Text file busy

        genclntsh: Failed to remove /u01/oracle/lib/libclntsh.so.10.1

        Stop.

        INFO:6) OUI-67124:Re-link fails on target "client_sharedlib".

        Re-link fails on target "client_sharedlib".

        I ran this patch on my text box and dev box with no problems. Is there a way to fix just these?          

        ciao,

        Brian                                      

        This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.

-- 

Be Yourself _at_ mail.com 
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!


This email message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee
or agent responsible for the delivery of this message to the intended
recipient(s), you are hereby notified that any disclosure, copying,
distribution, or use of this email message is prohibited. If you have
received this message in error, please notify the sender immediately by
e-mail and delete this email message from your computer. Thank you.

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Aug 24 2009 - 11:47:56 CDT

Original text of this message