You need to adjust your kernel parameters (/etc/system)
according to the informix releasenotes.
In order to start your databaseserver without adjusting
these kernel parameters you might consider decreasing
your BUFFERS onconfig parameter to 2000 and your
SHMVIRTSIZE onconfig parameter to 8192.
After that you have to check if any SHM resources are
still allocated by informix:
ipcs -mopb | grep informix
If you don't have a second informix instance running on
this machine, you could remove these segments
with the ipcrm command.
Then try re-initializing your databaseserver again with
"oninit -ivy".
If this works now, change your kernel parameters according
to the IFMX release notes, reset your BUFFERS and
SHMVIRTSIZE onconfig parameters, re-boot your machine
and try to start the informix databaseserver using
"oninit" (not "oninit -i" because you have already successfully
inititalized the instance).
Quote:
Originally posted by nfigueroa
We are installing informix on a solaris box for the first time so I'm new in this thing.
I'm getting these error messages when trying to start Informix for the first time....
$ oninit -iv
This action will initialize Informix Dynamic Server;
any existing Informix Dynamic 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 '/mnt/informix/etc/onconfig.infx'...succeeded
Creating /INFORMIXTMP/.infxdirs ... FAILED
Creating infos file "/mnt/informix/etc/.infos.infxsrv01" ... "/mnt/informix/etc/
.conf.infxsrv01" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation
Also this appear in my online.log
14:38:10 shmat: [EMFILE][24]: out of shared memory segments, check system SHMSE
G
14:38:10 mt_shm_init: can't create virtual segment
14:39:12 shmget: [EEXIST][17]: key 52574801: shared memory already exists
14:39:12 mt_shm_init: can't create resident segment
15:07:00 shmat: [EMFILE][24]: out of shared memory segments, check system SHMSE
G
15:07:00 mt_shm_init: can't create virtual segment
15:12:34 shmget: [EEXIST][17]: key 52574801: shared memory already exists
15:12:34 mt_shm_init: can't create resident segment
15:22:02 shmget: [EEXIST][17]: key 52574801: shared memory already exists
15:22:02 mt_shm_init: can't create resident segment
15:35:45 shmget: [EEXIST][17]: key 52574801: shared memory already exists
15:35:45 mt_shm_init: can't create resident segment
15:56:06 shmget: [EEXIST][17]: key 52574801: shared memory already exists
15:56:06 mt_shm_init: can't create resident segment
"online.log" [Read only] 23 lines, 917 characters
Any help would really be appreciated it!!!
|