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 > Informix > heeeeeeeeeeeeeelp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-02, 10:10
astankov astankov is offline
Registered User
 
Join Date: Sep 2002
Posts: 6
Post heeeeeeeeeeeeeelp

i get a message The chunk '/usr/users/dbspaces/dsk51e' must have owner-ID "informix" and group-ID "informix", when i try to create a new chunk. please help me
Reply With Quote
  #2 (permalink)  
Old 09-16-02, 13:40
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
You need to first create the file that you will reference as the chunk. In Unix, use the touch command to create the file in the appropriate directory - next chmod the file with the appropriate read/write/execute. Last change the owner and group to be informix.
Reply With Quote
  #3 (permalink)  
Old 09-17-02, 02:46
astankov astankov is offline
Registered User
 
Join Date: Sep 2002
Posts: 6
Cool alreday have permisions for the file

first of all excuse me for my english....i hope you understand what i'm asking...
i already have permissions for this file. this file was used for another chunk, that i deleted. there was a chunk llinked with that file, i delete the chunk, and i want to create a new chunk in other dbspace, and i want this new chunk to be linked with the old file. the previously file is still here with the same permisions as before. i just want to relocate a chunk in another dbspace. so what's the problem?
Reply With Quote
  #4 (permalink)  
Old 09-17-02, 02:50
astankov astankov is offline
Registered User
 
Join Date: Sep 2002
Posts: 6
lrwxrwxrwx 1 informix informix 20 Apr 27 2001 dsk51e -> /dev/rvol/rawdg/raw9


this is the file with its permisions. as you see it has the right permissions.
Reply With Quote
  #5 (permalink)  
Old 09-17-02, 05:10
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Hi,
you checked the symbolic link's permissions.
You have to check the raw device /dev/rvol/rawdg/raw9
it should look like this

ls -l /dev/rvol/rawdg
...
crw-rw---- informix informix <date> raw9
...
__________________
rws
Reply With Quote
  #6 (permalink)  
Old 09-17-02, 09:02
astankov astankov is offline
Registered User
 
Join Date: Sep 2002
Posts: 6
i check raw device permissions but all of the devices in this directory has permision like this:

crw------- 1 root system 40, 14 Mar 15 2001 raw9

So. with this permissions there are already chunks created. and i want to create a chunk in raw9 device. do you think that changing permissions on raw9 file to informix, informix is a good idea ???
Reply With Quote
  #7 (permalink)  
Old 09-17-02, 09:40
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
I don't know how it worked with 600 permission; You will need 660 with informix informix own/grp.
Only informix wil access this raw device so why wouldn't it be a good idea.
You'll see, once you changed it, it will work!
__________________
rws
Reply With Quote
  #8 (permalink)  
Old 09-17-02, 10:12
astankov astankov is offline
Registered User
 
Join Date: Sep 2002
Posts: 6
THANKS A LOT! i changed permissions as ypu told me, and everything is OK. but i am still wandering how is it possible the other raw devices files to have permissions 600 to root?
Reply With Quote
  #9 (permalink)  
Old 09-18-02, 05:00
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Are these raw devices used by Informix?
If so, you could end up with some big problems where you 'd have to restore the database....
I would strongly suggest you to change the owner and group to informix for all raw devices used by Informix.
Check your message log for errors:
The message log resides in
grep MSG $INFORMIXDIR/etc/$ONCONFIG
__________________
rws
Reply With Quote
  #10 (permalink)  
Old 09-18-02, 05:09
astankov astankov is offline
Registered User
 
Join Date: Sep 2002
Posts: 6
i checked the online.log file. there are no errors. but this server woks fine almost a year with this chunks. thank's a lot again. but now i think that's everything is fine.
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