RE: cpu patch

  • From: "Matthew Zito" <mzito@xxxxxxxxxxx>
  • To: <Brian.Zelli@xxxxxxxxxxxxxxx>, "Lyall Barbour" <lyallbarbour@xxxxxxxxxxxxxxx>, "Oracle L" <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 24 Aug 2009 12:47:56 -0400

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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] 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@xxxxxxxxxxxxxxx] 
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 @ 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.

Other related posts: