oninit:Fatal error in shared memory creation
Posted in 2008
Topics: Installation, Setup & Upgrades, Stored Procedures & SPL, Server Administration, Security, Permissions & Auditing, Versions, Editions & End-of-Life
Hi all,
I have installes IDS 9.3 on a suse 8 enterprise box. The database is not
starting and i am getting the following error message:
"oninit: Fatal error in shared memory creation. The oninit -ivy and the online
log are as follows;
oninit -ivy
------------login as: informix
informix@192.168.100.253's password:
Last login: Mon Sep 29 21:01:18 2008 from 192.168.100.123
informix@linux:~> $INFORMIXDIR/ISA/sbin/isactl start
/home/informix/ISA/sbin/isactl start: httpd started
informix@linux:~> oninit -ivy
Checking group membership to determine server run modesucceeded
Reading configuration file '/home/informix/etc/onconfig.chima'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/home/informix/etc/.infos.chima_shm" ...
"/home/informix/etc/.conf.chima_shm" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 1258 kbytes...succeeded
Creating buffer pool 10002 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
On monitor gives the following message when i try to start the database.
informix@linux:~> onmonitor
----------------------------
MODES: Startup On-Line Graceful-Shutdown Immediate-Shutdown ...
Bring Dynamic Server to quiescent mode from off-line.
-----------------------------Off-Line------- Press CTRL-W for Help. --------
Informix Dynamic Server is still in INIT or RECOVERY mode.
Please check the Informix Dynamic Server log file.
informix@linux:~> vi online.log
-------------------------------
19:53:40 mt_shm_init: can't create resident segment
19:56:50 Informix Dynamic Server Started.
Mon Sep 29 19:56:51 2008
19:56:51 Event alarms enabled. ALARMPROG = '/home/informix/etc/alarmprogram.sh'
19:56:51 Booting Language <c> from module <>
19:56:51 Loading Module <CNULL>
19:56:51 Booting Language <builtin> from module <>
19:56:51 Loading Module <BUILTINNULL>
20:10:29 Informix Dynamic Server Started.
20:10:29 shmget: [EEXIST][17]: key 52564801: shared memory already exists
20:10:29 mt_shm_init: can't create resident segment
20:11:06 Informix Dynamic Server Started.
20:11:06 shmget: [EEXIST][17]: key 52564801: shared memory already exists
20:11:06 mt_shm_init: can't create resident segment
20:53:43 Informix Dynamic Server Started.
20:53:43 Segment locked: addr=0x1000000, size=11882496
"online.log" 241L, 9460C 189,1 81%
Can anyone help me to resolve this problem.
Thanks.
ipcrm -m 52564801
to remove the existing shared memory segment, assuming there isn't another
IDS instance running on that machine already with the same SERVERNUM in it's
ONCONFIG file.
Art
On Mon, Sep 29, 2008 at 3:16 PM, MAFIOS BENJAMIN <
mbenjamin@alliedtimbers.co.zw> wrote:
> Hi all,
>
> I have installes IDS 9.3 on a suse 8 enterprise box. The database is not
> starting and i am getting the following error message:
> "oninit: Fatal error in shared memory creation. The oninit -ivy and the
> online
> log are as follows;
>
> oninit -ivy
> ------------> login as: informix
> informix@192.168.100.253's password:
> Last login: Mon Sep 29 21:01:18 2008 from 192.168.100.123
> informix@linux:~> $INFORMIXDIR/ISA/sbin/isactl start
> /home/informix/ISA/sbin/isactl start: httpd started
> informix@linux:~> oninit -ivy
> Checking group membership to determine server run modesucceeded
> Reading configuration file '/home/informix/etc/onconfig.chima'...succeeded
> Creating /INFORMIXTMP/.infxdirs ... succeeded
> Creating infos file "/home/informix/etc/.infos.chima_shm" ...
> "/home/informix/etc/.conf.chima_shm" ... succeeded
> Writing to infos file ... succeeded
> Checking config parameters...succeeded
> Allocating and attaching to shared memory...succeeded
> Creating resident pool 1258 kbytes...succeeded
> Creating buffer pool 10002 kbytes...succeeded
> Initializing rhead structure...succeeded
> Initializing ASF ...succeeded
> Initializing Dictionary Cache and SPL Routine Cache...succeeded
>
> On monitor gives the following message when i try to start the database.
>
> informix@linux:~> onmonitor
> ----------------------------
> MODES: Startup On-Line Graceful-Shutdown Immediate-Shutdown ...
> Bring Dynamic Server to quiescent mode from off-line.
>
> -----------------------------Off-Line------- Press CTRL-W for Help.
> --------
>
> Informix Dynamic Server is still in INIT or RECOVERY mode.
> Please check the Informix Dynamic Server log file.
>
> informix@linux:~> vi online.log
> -------------------------------
> 19:53:40 mt_shm_init: can't create resident segment
>
> 19:56:50 Informix Dynamic Server Started.
>
> Mon Sep 29 19:56:51 2008
>
> 19:56:51 Event alarms enabled. ALARMPROG =
> '/home/informix/etc/alarmprogram.sh'
> 19:56:51 Booting Language <c> from module <>
> 19:56:51 Loading Module <CNULL>
> 19:56:51 Booting Language <builtin> from module <>
> 19:56:51 Loading Module <BUILTINNULL>
> 20:10:29 Informix Dynamic Server Started.
> 20:10:29 shmget: [EEXIST][17]: key 52564801: shared memory already exists
> 20:10:29 mt_shm_init: can't create resident segment
>
> 20:11:06 Informix Dynamic Server Started.
> 20:11:06 shmget: [EEXIST][17]: key 52564801: shared memory already exists
> 20:11:06 mt_shm_init: can't create resident segment
>
> 20:53:43 Informix Dynamic Server Started.
> 20:53:43 Segment locked: addr=0x1000000, size=11882496
>
> "online.log" 241L, 9460C 189,1 81%
>
> Can anyone help me to resolve this problem.
>
> Thanks.
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.
Hi Mafios
You need clean up shared memory. Check the following links.
http://www.dbforums.com/showthread.php?t=704044
http://acvideo.haifa.ac.il/mbase/documentation/MBase_AG/MBase_AG-62.html
--- On Mon, 9/29/08, MAFIOS BENJAMIN <mbenjamin@alliedtimbers.co.zw> wrote:
> From: MAFIOS BENJAMIN <mbenjamin@alliedtimbers.co.zw>
> Subject: oninit:Fatal error in shared memory creation [13513]
> To: ids@iiug.org
> Date: Monday, September 29, 2008, 2:16 PM
> Hi all,
>
> I have installes IDS 9.3 on a suse 8 enterprise box. The
> database is not
> starting and i am getting the following error message:
> "oninit: Fatal error in shared memory creation. The
> oninit -ivy and the online> log are as follows;
>
> oninit -ivy
> ------------> login as: informix
> informix@192.168.100.253's password:
> Last login: Mon Sep 29 21:01:18 2008 from 192.168.100.123
> informix@linux:~> $INFORMIXDIR/ISA/sbin/isactl start
> /home/informix/ISA/sbin/isactl start: httpd started
> informix@linux:~> oninit -ivy
> Checking group membership to determine server run
> modesucceeded
> Reading configuration file
> '/home/informix/etc/onconfig.chima'...succeeded
> Creating /INFORMIXTMP/.infxdirs ... succeeded
> Creating infos file
> "/home/informix/etc/.infos.chima_shm" ...
> "/home/informix/etc/.conf.chima_shm" ...
> succeeded
> Writing to infos file ... succeeded
> Checking config parameters...succeeded
> Allocating and attaching to shared memory...succeeded
> Creating resident pool 1258 kbytes...succeeded
> Creating buffer pool 10002 kbytes...succeeded
> Initializing rhead structure...succeeded
> Initializing ASF ...succeeded
> Initializing Dictionary Cache and SPL Routine
> Cache...succeeded
>
> On monitor gives the following message when i try to start
> the database.
>
> informix@linux:~> onmonitor
> ----------------------------
> MODES: Startup On-Line Graceful-Shutdown Immediate-Shutdown
> ...
> Bring Dynamic Server to quiescent mode from off-line.
>
> -----------------------------Off-Line------- Press CTRL-W
> for Help. --------
>
> Informix Dynamic Server is still in INIT or RECOVERY mode.
> Please check the Informix Dynamic Server log file.
>
> informix@linux:~> vi online.log
> -------------------------------
> 19:53:40 mt_shm_init: can't create resident segment
>
> 19:56:50 Informix Dynamic Server Started.
>
> Mon Sep 29 19:56:51 2008
>
> 19:56:51 Event alarms enabled. ALARMPROG =
> '/home/informix/etc/alarmprogram.sh'
> 19:56:51 Booting Language <c> from module <>
> 19:56:51 Loading Module <CNULL>
> 19:56:51 Booting Language <builtin> from module
> <>
> 19:56:51 Loading Module <BUILTINNULL>
> 20:10:29 Informix Dynamic Server Started.
> 20:10:29 shmget: [EEXIST][17]: key 52564801: shared memory
> already exists
> 20:10:29 mt_shm_init: can't create resident segment
>
> 20:11:06 Informix Dynamic Server Started.
> 20:11:06 shmget: [EEXIST][17]: key 52564801: shared memory
> already exists
> 20:11:06 mt_shm_init: can't create resident segment
>
> 20:53:43 Informix Dynamic Server Started.
> 20:53:43 Segment locked: addr=0x1000000, size=11882496
>
> "online.log" 241L, 9460C 189,1 81%
>
> Can anyone help me to resolve this problem.
>
> Thanks.
>
>
>
*******************************************************************************
>
> Forum Note: Use "Reply" to post a response in
> the discussion forum.