Re: Fatal error in shared memory during system reboot
Posted in 2005
steven_nospam at Yahoo! Canada said:
>
> Scenario:
> =========
> During a system reboot, our startup routines are automated and try to
> bring up the Informix instances. These are standard commands that
> usually work without incident.
>
> The startup process (PID 1) runs a script in the inittab that sets the
> Informix environment and issues "oninit" followed by "onstat -" a few
> seconds later. These activities are logged so we can see what happens.
>
> Problem:
> ========
> Some of our systems are giving the following messages:
>
>>Starting up instance...Executing "oninit" for instance "data1"
>>oninit: Fatal error in shared memory creation
>>
>>Verifying instance "data1" status using "onstat -"...
>>IBM Informix Dynamic Server Version 9.40.FC3 -- On-Line -- Up>
> When we check the instance afterward, it has shut itself down. However,
> if we run the same script from a terminal after the system has been
> started, the instance starts up fine. To top it all off, we have
> another site using the same version and O/S level, same startup
> routine, and it starts fine on that one.
>
>>Starting up instance...Executing "oninit" for instance "data2"
>>
>>Verifying instance "data2" status using "onstat -"...
>>IBM Informix Dynamic Server Version 9.40.FC3 -- On-Line -- Up>
> Any ideas why during a system reboot the instance may not want to
> start, but will start okay afterward? Nothing should be in ipcs at that
> point to interfere, but the only error I get from "onstat -m" complains
> about a shared memory conflict:
>
>
> 09:55:43 IBM Informix Dynamic Server Started.
> 09:55:43 shmget: [EEXIST][17]: key 52584801: shared memory already> exists
> 09:55:43 mt_shm_init: can't create resident segment
And what does ipcs report?
> Environment:
> ============
> IBM RS/6000 Running AIX 5.2 (64-bit)
> Informix IDS 9.40 FC3
>
--
Bye now,
Obnoxio
"C'est pas parce qu'on n'a rien ` dire qu'il faut fermer sa gueule"
- Coluche
A smile is a gift that is free to the giver and precious to the recipient.
But giving someone the finger is free too, and I find it more personal and
sincere.
sending to informix-list