If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > regarding SQL0970N

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-07, 00:09
sree1030 sree1030 is offline
Registered User
 
Join Date: Jul 2007
Location: Bangalore
Posts: 18
regarding SQL0970N

Hello friends,

i installed ibm db2 udb v8.2 on a red hat enterprise linux v4.1, after this when i tryed to restore the db it showing that the file has only read permission..... but i given all permission to them with "" chmod "" command. the message is as follows;

""" MSG: SQL0970N The system attempted to write to a read-only file. SQLSTATE=55009 """

can any one plz post your view on this......
Reply With Quote
  #2 (permalink)  
Old 11-29-07, 04:53
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Typically, all the directories and sub-directories an instance should be owned by the instance owner (not just read/write authority).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 11-29-07, 05:12
sree1030 sree1030 is offline
Registered User
 
Join Date: Jul 2007
Location: Bangalore
Posts: 18
hello marcus,

you are wright, can plz..... some more explanation about this
Reply With Quote
  #4 (permalink)  
Old 11-29-07, 14:08
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
This usually happens when you copy the DB2 installation file with other user than root. With root id, you should run the following 2 commands


chown root filename.tar
chgrp root filename.tar


If you instal it from the CD with root id, you shouldn't have any problems.
Reply With Quote
  #5 (permalink)  
Old 11-30-07, 04:57
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Or combine this into a single command:
Code:
$ chown <user>.<group> <file>
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On