RE: oninit: Cannot open chunk '/usr/online_space001'. errno = 21
Posted in 2000
Chunk should be explicitly created. Creating a dbspace
will not create the chunk file. If your using Unix
run the command:
touch /local/informix/root
chmod 660 /local/informix/root
chown informix /local/informix/root
chgrp informix /local/informix/root
Don
-----Original Message-----
From: Marco Schmidt [mailto:schmidt@inf.ethz.ch]
Sent: Friday, October 13, 2000 9:05 AM
To: informix-list@iiug.org
Subject: Re: oninit: Cannot open chunk '/usr/online_space001'. errno =
21
Paul Watson <paulw@wfsoftware.com> wrote:
: error 21 is a 'file is a directory', is /usr/online_space001 a directory
: (bad) or a file (good)?
: optimiza@my-deja.com wrote:
:>
:> I get this error when I run oninit -iv:
:> oninit: Cannot open chunk '/usr/online_space001'. errno = 21
:>
I have nearly the same error:
oninit: Cannot open chunk '/local/informix/root'. errno = 2
This file does not exist, thats right, but I tried to create
a new database and it should create the file!
Any ideas?
--
Marco.Schmidt@inf.ethz.ch