Patch installation
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Patch installation




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Patch installation  
tlswodus@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-07 12:17 AM

Hello, I'm new to Unix so this could be very basic thing.
I'm trying to install the DST patch to the server running Solaris 9.
I saved 113225-08 in /var/tmp and ran patchadd but I got a patchadd
failed message.
So I went to log file under /var/sadm/patch/113225-08 and the log was


"/usr file system is not writable. Patch 113225-08 can not be
installed until /usr is made writable."

Though usr directory has permission "rwxr-xr-x".
Is there something I have to check before?
Thanks.






[ Post a follow-up to this message ]



    Re: Patch installation  
Michael Tosch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-07 12:17 AM

tlswodus@gmail.com wrote:
> Hello, I'm new to Unix so this could be very basic thing.
> I'm trying to install the DST patch to the server running Solaris 9.
> I saved 113225-08 in /var/tmp and ran patchadd but I got a patchadd
> failed message.
> So I went to log file under /var/sadm/patch/113225-08 and the log was
>
>
> "/usr file system is not writable. Patch 113225-08 can not be
> installed until /usr is made writable."
>
> Though usr directory has permission "rwxr-xr-x".
> Is there something I have to check before?
> Thanks.
>

The entire /usr file system is not writable, i.e. mounted read-only.

You can see this with

/bin/test -w /usr || echo not-writable

Try
mount -o remount,rw /usr

or, if in single-user mode, exit to multi-user.


--
Michael Tosch @ hp : com





[ Post a follow-up to this message ]



    Re: Patch installation  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-07 06:19 AM

On 13 Mar 2007 14:46:09 -0700, tlswodus@gmail.com <tlswodus@gmail.com> wrote:
> Hello, I'm new to Unix so this could be very basic thing.
> I'm trying to install the DST patch to the server running Solaris 9.

Good timing ;)

> I saved 113225-08 in /var/tmp and ran patchadd but I got a patchadd
> failed message.

Which patchadd failed message?  Return code 8, 5, something else?

> So I went to log file under /var/sadm/patch/113225-08 and the log was

> "/usr file system is not writable. Patch 113225-08 can not be
> installed until /usr is made writable."

Sounds like /usr isn't mounted read-write.  Do that.

> Though usr directory has permission "rwxr-xr-x".
> Is there something I have to check before?

Ah.  You're confusing mount read/write with file read/write, which is
certainly understandable.  You'll want to re-mount /usr as a read-write
filesystem rather than readonly.






[ Post a follow-up to this message ]



    Re: Patch installation  
tlswodus@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-14-07 06:24 PM

Thanks!
I got the patch installed.
But how can I change /usr back to read only?
I used
#mount -o remount,ro /usr

then I got
/dev/dsk/c0t0d0s6 is not this fstype.

Thanks.






[ Post a follow-up to this message ]



    Re: Patch installation  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-07 12:20 AM

Michael Tosch <eed...@NO.eed.SPAM.ericsson.PLS.se> wrote:
> tlswo...@gmail.com wrote:
> 
>
> Why r/o? This is absolutely none-standard.

My half-joke half-serious claim is that /usr stands for "Unix
System Read-only".  It is the wrong history but files in it
should normally be considered read-only by anyone but
root applying patches and newly installed packages.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register