Re: initialising informix
Posted in 1998
I've never used IUS, but in ODS the environment variable INFORMIXSERVER does not point to a
file or directory, as you have done. Instead, it is the name you give to the instance you
are trying to start. In ODS, that is DBSERVERNAME in your onconfig file. You also have to
have an entry in your sqlhosts file with the same name as INFORMIXSERVER, which describes
the host, connection method, and service name for that INFORMIXSERVER.
Mark Collins
mcollins@us.dhl.com
Dilbert is a documentary.
------------------------
From: Roberto Dircio Palacios Macedo <is092756@mail.udlap.mx>
Subject: initialising informix
Date: Tue, 24 Feb 1998 15:53:18 -0600 (CST)
To: informix list <informix-list@iiug.org>
Cc: Alfredo Sanchez <alfredo@mail.udlap.mx>
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
Semaphore facility not in system.
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 ");
}
}
}
---------------End of Original Message-----------------