oninit: Fatal error in shared memory creation
Posted in 2003
Topics: Storage & Space Management, Transactions, Locking & Isolation, Logging & Checkpoints, Platform-Specific Issues
What is the problem when your shared memory is not allocating and
attatching?
This is what I get
##############################################
$ oninit -iyvChecking group membership to determine server run modesucceeded
Reading configuration file '/sw/informix/etc/tbcedn.prod'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/sw/informix/etc/.infos.edenoa" ...
"/sw/informix/etc/.conf
.edenoa" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation
##############################################
I am using informix 9.3 on AIX 4.3.3
and my shared memory settings are:
##############################################
SHARED MEMORY: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level help.
SHARED MEMORY PARAMETERS
Server Number [ 2] Server Name [edenoa ]
Server Aliases [ ]
Dbspace Temp [ ]
Deadlock Timeout [ 60] Secs Dbspace Down Option [2]
Forced Residency [N] Number of Page Cleaners [ 3]
Non Res. SegSize (K) [ 1] Stack Size (K) [ 32]
Heterogeneous Commit [N] Optical Cache Size (K) [ 128]
Physical Log Buffer Size [ 256] K Transaction Timeout [ 300]
Logical Log Buffer Size [ 64] K Index Page Fill Factor [ 90]
Max # of Locks [ 1500000] Add SegSize (K) [ 8192]
Max # of Buffers [ 3600] Total Memory (K) [ 0]
Resident Shared Memory size [ 140728] Kbytes Page Size [ 4] Kbytes
Joseph
First place I would go would be the operating system. Have you made any
kernel configuration changes as recommended in the IDS.DOC file? Assuming
you are starting the engine as informix does it have permissions to create
shared memory segments? Is this a second (or third or forth) instance on a
single box? If so have you used a different server number? The shared memory
identification and addressing is taken from the server number.
Do you have sufficient memory to created the segments of the requested size?
Keith
-> -----Original Message-----
-> From: JOSEPH DIXON [mailto:jdixon@servnu.com]
-> Sent: Tuesday, June 10, 2003 12:26 AM
-> To: ids@iiug.org
-> Subject: oninit: Fatal error in shared memory creation [1307]
->
->
-> What is the problem when your shared memory is not
-> allocating and attatching?
->
-> This is what I get
-> ##############################################
-> $ oninit -iyv
->
-> Checking group membership to determine server run
-> modesucceeded
-> Reading configuration file
-> '/sw/informix/etc/tbcedn.prod'...succeeded
-> Creating /INFORMIXTMP/.infxdirs ... succeeded
->
-> Creating infos file "/sw/informix/etc/.infos.edenoa" ...
-> "/sw/informix/etc/.conf
-> .edenoa" ... succeeded
->
-> Writing to infos file ... succeeded
->
-> Checking config parameters...succeeded
->
-> Allocating and attaching to shared memory...FAILED
->
-> oninit: Fatal error in shared memory creation
-> ##############################################
->
-> I am using informix 9.3 on AIX 4.3.3
-> and my shared memory settings are:
->
-> ##############################################
-> SHARED MEMORY: Make desired changes and press ESC to record
-> changes.
-> Press Interrupt to abort changes. Press F2 or CTRL-F for
-> field-level help.
-> SHARED MEMORY PARAMETERS
->
-> Server Number [ 2] Server Name
-> [edenoa ]
-> Server Aliases [
-> ]
-> Dbspace Temp [
-> ]
-> Deadlock Timeout [ 60] Secs Dbspace Down
-> Option [2]
-> Forced Residency [N] Number of Page
-> Cleaners [ 3]
-> Non Res. SegSize (K) [ 1] Stack Size (K)
-> [ 32]
-> Heterogeneous Commit [N] Optical Cache
-> Size (K) [ 128]
-> Physical Log Buffer Size [ 256] K Transaction
-> Timeout [ 300]
-> Logical Log Buffer Size [ 64] K Index Page Fill
-> Factor [ 90]
-> Max # of Locks [ 1500000] Add SegSize (K)
-> [ 8192]
-> Max # of Buffers [ 3600] Total Memory
-> (K) [ 0]
->
->
-> Resident Shared Memory size [ 140728] Kbytes Page
-> Size [ 4] Kbytes
->
********************************************************************************
**
This message is sent in strict confidence for the addressee only. It may
contain legally privileged information. The contents are not to be disclosed
to anyone other than the addressee. Unauthorised recipients are requested
to preserve this confidentiality and to advise the sender immediately of any
error in transmission.
This footnote also confirms that this email message has been swept for the
presence of computer viruses, however we cannot guarantee that this message
is free from such problems.
********************************************************************************
**
What
messages do you get in the online log?
Regards
Colin Dawson
>What is the problem when your shared memory is not allocating and
attatching?
>
>This is what I get
>##############################################
>$ oninit -iyv
>Checking group membership to determine server run modesucceeded
>Reading configuration file '/sw/informix/etc/tbcedn.prod'...succeeded
>Creating /INFORMIXTMP/.infxdirs ... succeeded
>Creating infos file "/sw/informix/etc/.infos.edenoa" ...
"/sw/informix/etc/.conf
>.edenoa" ... succeeded
>Writing to infos file ... succeeded
>Checking config parameters...succeeded
>Allocating and attaching to shared memory...FAILED
>oninit: Fatal error in shared memory creation
>##############################################
>
>I am using informix 9.3 on AIX 4.3.3
>and my shared memory settings are:
>
>##############################################
>SHARED MEMORY: Make desired changes and press ESC to record changes.
> Press Interrupt to abort changes. Press F2 or CTRL-F for field-level
help.
> SHARED MEMORY PARAMETERS
>Server Number [ 2] Server Name [edenoa
]
>Server Aliases [
]
>Dbspace Temp [
]
>Deadlock Timeout [ 60] Secs Dbspace Down Option
[2]
>Forced Residency [N] Number of Page Cleaners [
3]
>Non Res. SegSize (K) [ 1] Stack Size (K) [
32]
>Heterogeneous Commit [N] Optical Cache Size (K) [
128]
>Physical Log Buffer Size [ 256] K Transaction Timeout [
300]
>Logical Log Buffer Size [ 64] K Index Page Fill Factor [
90]
>Max # of Locks [ 1500000] Add SegSize (K) [
8192]
>Max # of Buffers [ 3600] Total Memory (K) [
0]
>
>Resident Shared Memory size [ 140728] Kbytes Page Size [ 4]
Kbytes
>
>
--=_11836ca83fe77172533733237c987815--
Joe;
The most frequent cause of this error is when the shared memory segments
you are trying to create when starting the engine already exist.
Look in the online log for an error 17 - that means the segments already
exists.
That means either the engine is already running (run 'ps -ef' and look for
any oninit processes running), or shared memory segments have been left
orphaned by the operating system even if the oninits aren't running.
Run an 'ipcs -m' and look for a segment with a key starting with 5258.
Specifically, 52584801.
If that exists, you'll have to remove it (them) before you start your
engine (see your System Admin for that).
HTH...
Mike
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Mike Lowe
Certified Consulting Education Specialist
Data Management Solutions
IBM Software Group
Tel: 303-773-5216 Tie Line: 565-5216
e-Fax: 413-674-2415
mlowe0@us.ibm.com
WWW: ibm.com/software/data
What is the problem when your shared memory is not allocating and
attatching?
This is what I get
##############################################
$ oninit -iyvChecking group membership to determine server run modesucceeded
Reading configuration file '/sw/informix/etc/tbcedn.prod'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/sw/informix/etc/.infos.edenoa" ...
"/sw/informix/etc/.conf
.edenoa" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation
##############################################
I am using informix 9.3 on AIX 4.3.3
and my shared memory settings are:
##############################################
SHARED MEMORY: Make desired changes and press ESC to record changes.
Press Interrupt to abort changes. Press F2 or CTRL-F for field-level
help.
SHARED MEMORY PARAMETERS
Server Number [ 2] Server Name [edenoa
]
Server Aliases [
]
Dbspace Temp [
]
Deadlock Timeout [ 60] Secs Dbspace Down Option
[2]
Forced Residency [N] Number of Page Cleaners [
3]
Non Res. SegSize (K) [ 1] Stack Size (K) [
32]
Heterogeneous Commit [N] Optical Cache Size (K) [
128]
Physical Log Buffer Size [ 256] K Transaction Timeout [
300]
Logical Log Buffer Size [ 64] K Index Page Fill Factor [
90]
Max # of Locks [ 1500000] Add SegSize (K) [
8192]
Max # of Buffers [ 3600] Total Memory (K) [
0]
Resident Shared Memory size [ 140728] Kbytes Page Size [ 4]
Kbytes