RE: Shared Memory not Initialized for INFORMIXSERVER on
Posted in 2005
-----Original Message-----
From: owner-informix-list@iiug.org
[mailto:owner-informix-list@iiug.org]On Behalf Of Massoroto
Sent: Tuesday, October 18, 2005 3:29 AM
To: informix-list@iiug.org
Subject: Shared Memory not Initialized for INFORMIXSERVER on Informix
IDS 7.31
Hi.
I hace a problem trying to initialize the rootdbs in the creation of a
new instance. I type:
informix@BO:/informix/sq/dev$ /informix/bin/onspaces -c -d rootdbs -p
s1_rootdbs -o 0 -s 2097151
And appears the error:
shared memory not initialized for INFORMIXSERVER 's1'
-Does anybody know which is the problem? Is it a problem of any
variable on the onconfig file? Y installed Informix on a new machine
and it is the first instance I try to create so it is possible that
there's something missing.
For more information the next step which would be oninit:
informix@BO:/informix/s1/dev$ oninit -ivy
Checking group membership to determine server run modesucceeded
Reading configuration file '/informix//etc/onconfig.s1'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/informix//etc/.infos.s1" ...
"/informix//etc/.conf.s1" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 29082 kbytes...succeeded
Creating buffer pool 40002 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...succeeded
Initializing Dictionary Cache and Stored Procedure Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 5 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
Initialzing DR structures...succeeded
oninit: Fatal error in initializing ASF with 'ASF_INIT_DATA' flags;
asfcode = '-25580'.
Thank you all.
Alan
I don't know which operating system but on Solaris, it is necessary to do oninit -i to initialize the new rootdbs. (I dont' believe onspaces will run while the instance is down.) The root path and offset are defined in the onconfig. Environment variables must be set correctly as well or you could initialize the wrong thing...
sending to informix-list