Shared Memory not Initialized for INFORMIXSERVER on Informix IDS 7.31
Posted in 2005
Topics: Installation, Setup & Upgrades, Storage & Space Management, Stored Procedures & SPL, Server Administration, Versions, Editions & End-of-Life
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
For more informatio in my Log file appears:
09:23:21 (3) failure, system out of semaphores
09:23:21 Dynamically allocated new message shared memory segment (size
352KB)
09:23:21 Requested shared memory segment size rounded from 344KB to
352KB
09:23:21 Requested shared memory segment size rounded from 344KB to
352KB
09:23:21 DR: DRAUTO is 0 (Off)
09:23:16 Event alarms enabled. ALARMPROG = '/informix/etc/no_log.sh'
Which variable I have to modify on the onconfig file? Is it a kernel
parameter?
My Shared memory variables are:
SHMBASE 0xa000000 # Shared memory base address
SHMVIRTSIZE 65536 # initial virtual shared memory segment size
SHMADD 16384 # Size of new shared memory segments (Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>u
looks like you need to increase the Semaphores available. YOU included
the shared memeory parameters below but you probably need to look at
the SEMXXX kernal parameters
> 09:23:21 (3) failure, system out of semaphores
might be interesting to see the whole of the online log file from when
you started tryingt to bring the engine up, not just the last few lines
Massoroto wrote:
> For more informatio in my Log file appears:
>
> 09:23:21 (3) failure, system out of semaphores
> 09:23:21 Dynamically allocated new message shared memory segment (size
> 352KB)
> 09:23:21 Requested shared memory segment size rounded from 344KB to
> 352KB
> 09:23:21 Requested shared memory segment size rounded from 344KB to
> 352KB
> 09:23:21 DR: DRAUTO is 0 (Off)
> 09:23:16 Event alarms enabled. ALARMPROG = '/informix/etc/no_log.sh'
>
>
> Which variable I have to modify on the onconfig file? Is it a kernel
> parameter?
> My Shared memory variables are:
>
>
> SHMBASE 0xa000000 # Shared memory base address
> SHMVIRTSIZE 65536 # initial virtual shared memory segment size
> SHMADD 16384 # Size of new shared memory segments (Kbytes)
> SHMTOTAL 0 # Total shared memory (Kbytes). 0=>u