-
How to i create dbspace with "onutil" in informix XPS 8.5
i am using informix XPS 8.5
after oninit -iy, i want to create a user dbspace.
The command i used as below:
# ./onutil
1> create dbspace dat
2> chunk "/database/ibmdat/xps85/user1.dat" size 256MBYTES;
but i got a error:
[001] The chunk '/database/ibmdat/xps85/user1.dat' must have owner-ID
and group-ID set to informix.
i am pretty sure that user1.dat has owner "informix" and group
"informix" as well.
please help me, thank you
-
RE: How to i create dbspace with "onutil" in informix XPS 8.5
> -----Original Message-----
> From: informix-list-bounces@iiug.org [mailto:informix-list-
> bounces@iiug.org] On Behalf Of jeffhan
> Sent: Friday, August 10, 2007 1:00 PM
> To: informix-list@iiug.org
> Subject: How to i create dbspace with "onutil" in informix XPS 8.5
>
> i am using informix XPS 8.5
> after oninit -iy, i want to create a user dbspace.
> The command i used as below:
>
> # ./onutil
> 1> create dbspace dat
> 2> chunk "/database/ibmdat/xps85/user1.dat" size 256MBYTES;
>
> but i got a error:
> [001] The chunk '/database/ibmdat/xps85/user1.dat' must have owner-ID
> and group-ID set to informix.
>
> i am pretty sure that user1.dat has owner "informix" and group
> "informix" as well.
>
> please help me, thank you
Type ls -l /database/ibmdat/xps85/user1.dat and find out for sure. Also
make sure that informix has write permission to the object. If
user1.dat is a link (much better if it is), make sure that the linked
object is owned and writable by informix.
--EEM
>
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
-
Re: How to i create dbspace with "onutil" in informix XPS 8.5
-rwxrwxrwx 1 informix informix 268435456 Apr 18 18:02 user1.dat
i just used an old dat file. do i need to touch a new empty dat file?
-
Re: How to i create dbspace with "onutil" in informix XPS 8.5
jeffhan wrote:
> -rwxrwxrwx 1 informix informix 268435456 Apr 18 18:02 user1.dat
>
> i just used an old dat file. do i need to touch a new empty dat file?
>
You also need a 'chmod 660 user1.dat'
-
Re: How to i create dbspace with "onutil" in informix XPS 8.5
On Aug 10, 6:39 pm, jeffhan wrote:
> -rwxrwxrwx 1 informix informix 268435456 Apr 18 18:02 user1.dat
>
> i just used an old dat file. do i need to touch a new empty dat file?
Privs have to be -rw-rw---- informix informix
Art S. Kagel