Re: initialising informix
Posted in 1998
In article <6cvij3$14q$1@news.xmission.com>, Roberto Dircio Palacios
Macedo <is092756@mail.udlap.mx> writes
>
>I've got problems with oninit while trying to start IUS for the 1st
>time...
>
>- I've created a cooked chunk on INFORMIXDIR/data/chunk
>- Set these variables:
> setenv INFORMIXDIR /export/home/sw/informix
> setenv PATH ${INFORMIXDIR}/bin:${PATH}
> setenv ONCONFIG onconfig_roberto.std
> setenv INFORMIXTMP tmp/
> setenv INFORMIXSERVER /export/home/sw/informix>- configured my onconfig file with onmonitor
>- ran oninit, and had problems......
> oninit: Fatal error in shared memory creation
>
>
>ok, I did it all, ran ipcs and found a shared memory allocation...
>
>ict2% ipcs
>IPC status from <running system> as of Tue Feb 24 15:40:20 1998
>Message Queue facility not in system.
>Shared Memory:
>m 100 0x52564801 --rw-rw---- root informix
There should be 3 segments not one.
1 resident
1 message
1 virtual
>Semaphore facility not in system.
>
You also need semaphores available. Check your kernel parameters
against $INFORMIXDIR/release/,,,,/ONLINE*
>which belongs to root, so I removed it with ipcrm, then I tried again
>with oninit, and it re-created that shared memory segment, and it didn't
>succeed, check this:
>
>
>ict2% oninit -vi>
>This action will initialize INFORMIX-Universal Server;
>any existing INFORMIX-Universal Server databases will NOT be accessible -
>Do you wish to continue (y/n)? y
>Checking group membership to determine server run modesucceeded
>Reading configuration file
>'/export/home/sw/informix/etc/onconfig_roberto.std'...succeeded
>Creating /INFORMIXTMP/.infxdirs ... FAILED
>Creating infos file "/export/home/sw/informix/etc/.infos.ict2" ...
>"/export/home/sw/informix/etc/.conf.ict2" ... succeeded
>Writing to infos file ... succeeded
>Checking config parameters...succeeded
>Allocating and attaching to shared memory...FAILED
>oninit: Fatal error in shared memory creation
>
>
>what is happening here?
>
>
>thank you all!!!
>
>
>
>// This is a class to print out my signature
>class Signature {
> public static void main (String args[]) {
> for (;;) {
> System.out.print("Roberto Dircio Palacios Macedo");
> System.out.print("is092756@mail.pue.udlap.mx ");
> }
> }
>}
>
--
David Williams
Maintainer of the Informix FAQ
Primary site (Beta Version) http://www.smooth1.demon.co.uk
Official site http://www.iiug.org/techinfo/faq/faq_top.html
I see you standin', Standin' on your own, It's such a lonely place for you, For
you to be If you need a shoulder, Or if you need a friend, I'll be here
standing, Until the bitter end...
So don't chastise me Or think I, I mean you harm...
All I ever wanted Was for you To know that I care