Re: Informix startup (oninit) problem
Posted in 1997
ptsui@aptnet.com wrote:
>
> I get the following errors when trying to do an "oninit -i" to
> bring up the informix instance for the first time.
> ----------------------------------------------------------------------
> oninit: Cannot open chunk ''. errno = 2
> oninit: Fatal error in shared memory initialization
> ----------------------------------------------------------------------
>
> My onconfig.std looks as follows:
>
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
>
> #**************************************************************************
> #
> # INFORMIX SOFTWARE, INC.
> #
> # Title: onconfig.std
> # Description: INFORMIX-OnLine Configuration Parameters
> #
> #**************************************************************************
>
> # Root Dbspace Configuration
>
> ROOTNAME rootdbs # Root dbspace name
> ROOTPATH /informix/devices # Path for> device containing root dbspace
> ROOTOFFSET 0 # Offset of root dbspace into device
> (Kbytes)
> ROOTSIZE 120000 # Size of root dbspace (Kbytes)>
Your INFORMIXDIR is set to /informix , and I am assuming you are using a
COOKED file
so, I can think of two things.
1) devices is another directory ? , if this is true, you must specify
here the file
under devices which you want to be the root dbspace.
2) devices is an empty file that you created with touch devices.
3) Verify the permissions on file, chmod 660 and owner and group
informix, also check
that your filesystem has enough space.
I think setp No. 1 will be your problem, and you must specify the file
name NOT the
PATH name.
PS. Why you have rootdbs so large?
Regards,
-------------------------------------
Mario Estrada | Sisteco,S.A.
Informix Support | Phone(502) 3340214
Department | Fax(502) 3348447
-------------------------------------