Error in oninit -v
Posted in 2010
User couldn't start IDS 11.50 (Express Edition) on SuSE 10.2: oninit -v gave "Fatal error in shared memory initialization". Posters asked for the online.log, which showed the root chunk /opt/IBM/informix/dbspaces/rootdbs lacked proper ownership/permissions. Fix: chown informix:informix and chmod 660 on the chunk file, then retry. Also suggested: create online.con (or make the directory writable by informix) to stop the CONSOLE warning, and remove the unsupported DRLOSTFOUND/DRIDXAUTO parameters from onconfig.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: General Discussion
Dear All
When I issued the oninit -v command it shows following error:
*oninit: Fatal error in shared memory initialization
WARNING: server initialization failed, or possibly timed out (if -w was
used).
Check the message log, online.log, for errors.
informix@root:~>
*Platform Detail:
OS - SuSe 10.2
Informix 11.50
Regards-
Nierjesh
--00c09f8997e87a82bc048750f5d0
On 24 May 2010 07:14, nierjesh kumar <nierjeshkumar@gmail.com> wrote:
> Dear All
>
> When I issued the oninit -v command it shows following error:
>
> *oninit: Fatal error in shared memory initialization
>
> WARNING: server initialization failed, or possibly timed out (if -w was
> used).
> Check the message log, online.log, for errors.
> informix@root:~>
>
> *Platform Detail:
> OS - SuSe 10.2
> Informix 11.50
>
> Regards-
> Nierjesh
>
> --00c09f8997e87a82bc048750f5d0
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
So what does the message log say !!!
Here is the output of online.log
12:18:24 Loading Module <BUILTINNULL>
12:18:24 Warning: CONSOLE = /opt/IBM/informix/online.con open failed.
Redirecting output to '/dev/null'.
12:18:24 Affinitied VP 1 to phys proc 0
12:18:25 Affinitied VP 3 to phys proc 1
12:18:29 DR: Cannot set the value of the onconfig parameter DRLOSTFOUND to
/opt/IBM/informix/etc/dr.lostfound.
This configuration parameter is not supported
in IDS Express Edition.
12:18:29 DR: Cannot set the value of the onconfig parameter DRIDXAUTO to 0.
This configuration parameter is not supported
in IDS Express Edition.
12:18:29 Event notification facility epoll enabled.
12:18:29 IBM Informix Dynamic Server Version 11.50.UC4E Software Serial
Number AAA#B000000
12:18:30 The chunk '/opt/IBM/informix/dbspaces/rootdbs' must have
READ/WRITE permissions for owner and group (660).
12:18:30 oninit: Fatal error in shared memory initialization
12:18:30 IBM Informix Dynamic Server Stopped.
12:18:30 mt_shm_remove: WARNING: may not have removed all/correct segments
324827,1
B
________________________________________________________________________________
____________________________
Regards-
Nierjesh
On Mon, May 24, 2010 at 1:08 PM, Keith Simmons <smiley73@googlemail.com>wrote:
> On 24 May 2010 07:14, nierjesh kumar <nierjeshkumar@gmail.com> wrote:
> > Dear All
> >
> > When I issued the oninit -v command it shows following error:
> >
> > *oninit: Fatal error in shared memory initialization
> >
> > WARNING: server initialization failed, or possibly timed out (if -w was
> > used).
> > Check the message log, online.log, for errors.
> > informix@root:~>
> >
> > *Platform Detail:
> > OS - SuSe 10.2
> > Informix 11.50
> >
> > Regards-
> > Nierjesh
> >
> > --00c09f8997e87a82bc048750f5d0
> >
> >
> >
>
>
*******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> So what does the message log say !!!
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--001636426e356dd37504875280bc
check permissions on rootdbs:
12:18:30 The chunk '/opt/IBM/informix/dbspaces/rootdbs' must have
READ/WRITE permissions for owner and group (660).
mit freundlichen Grüßen
Jörg Volz
---------------------------------------------
________________________________
Von: ids-bounces@iiug.org im Auftrag von nierjesh kumar
Gesendet: Mo 24.05.2010 10:05
An: ids@iiug.org
Betreff: Re: Error in oninit -v [20213]
Here is the output of online.log
12:18:24 Loading Module <BUILTINNULL>
12:18:24 Warning: CONSOLE = /opt/IBM/informix/online.con open failed.
Redirecting output to '/dev/null'.
12:18:24 Affinitied VP 1 to phys proc 0
12:18:25 Affinitied VP 3 to phys proc 1
12:18:29 DR: Cannot set the value of the onconfig parameter DRLOSTFOUND to
/opt/IBM/informix/etc/dr.lostfound.
This configuration parameter is not supported
in IDS Express Edition.
12:18:29 DR: Cannot set the value of the onconfig parameter DRIDXAUTO to 0.
This configuration parameter is not supported
in IDS Express Edition.
12:18:29 Event notification facility epoll enabled.
12:18:29 IBM Informix Dynamic Server Version 11.50.UC4E Software Serial
Number AAA#B000000
12:18:30 The chunk '/opt/IBM/informix/dbspaces/rootdbs' must have
READ/WRITE permissions for owner and group (660).
12:18:30 oninit: Fatal error in shared memory initialization
12:18:30 IBM Informix Dynamic Server Stopped.
12:18:30 mt_shm_remove: WARNING: may not have removed all/correct segments
324827,1
B
________________________________________________________________________________
____________________________
Regards-
Nierjesh
On Mon, May 24, 2010 at 1:08 PM, Keith Simmons <smiley73@googlemail.com>wrote:
> On 24 May 2010 07:14, nierjesh kumar <nierjeshkumar@gmail.com> wrote:
> > Dear All
> >
> > When I issued the oninit -v command it shows following error:
> >
> > *oninit: Fatal error in shared memory initialization
> >
> > WARNING: server initialization failed, or possibly timed out (if -w was
> > used).
> > Check the message log, online.log, for errors.
> > informix@root:~>
> >
> > *Platform Detail:
> > OS - SuSe 10.2
> > Informix 11.50
> >
> > Regards-
> > Nierjesh
> >
> > --00c09f8997e87a82bc048750f5d0
> >
> >
> >
>
>
*******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> So what does the message log say !!!
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--001636426e356dd37504875280bc
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
IT Handel und Beratung Jörg Volz
Bernhard-Früh-Str. 7
77855 Achern
GERMANY
Tel: +49 (0)7841-681651
Fax: +49 (0)7841-681654
Mobil: +49 (0)170-2989757
VAT-ID: DE201383541
http://www.it-volz.de
Hi Nierjesh,
Execute the command "onstat -m "
It will show the 20 last lines of message log file
else execute command " onstat -c|grep MSGPATH" and open the file that
MSGPATH points to and check the contents and let us know.It will help us to
understand the problem better.
Thanks,
Radhika.
On Mon, May 24, 2010 at 11:44 AM, nierjesh kumar
<nierjeshkumar@gmail.com>wrote:
> Dear All
>
> When I issued the oninit -v command it shows following error:
>
> *oninit: Fatal error in shared memory initialization
>
> WARNING: server initialization failed, or possibly timed out (if -w was
> used).
> Check the message log, online.log, for errors.
> informix@root:~>
>
> *Platform Detail:
> OS - SuSe 10.2
> Informix 11.50
>
> Regards-
> Nierjesh
>
> --00c09f8997e87a82bc048750f5d0
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--0016e6407c64e13d2104875473ed
Hi Radhika
Plz check it:
12:18:24 Loading Module <BUILTINNULL>
12:18:24 Warning: CONSOLE = /opt/IBM/informix/online.con open failed.
Redirecting output to '/dev/null'.
12:18:24 Affinitied VP 1 to phys proc 0
12:18:25 Affinitied VP 3 to phys proc 1
12:18:29 DR: Cannot set the value of the onconfig parameter DRLOSTFOUND to
/opt/IBM/informix/etc/dr.
lostfound.
This configuration parameter is not supported
in IDS Express Edition.
12:18:29 DR: Cannot set the value of the onconfig parameter DRIDXAUTO to 0.
This configuration parameter is not supported
in IDS Express Edition.
12:18:29 Event notification facility epoll enabled.
12:18:29 IBM Informix Dynamic Server Version 11.50.UC4E Software Serial
Number AAA#B000000
12:18:30 The chunk '/opt/IBM/informix/dbspaces/rootdbs' must have
READ/WRITE permissions for owner and group (660).
12:18:30 oninit: Fatal error in shared memory initialization
12:18:30 IBM Informix Dynamic Server Stopped.
12:18:30 mt_shm_remove: WARNING: may not have removed all/correct segments
324827,1
B
Regards-
Nierjesh
On Mon, May 24, 2010 at 3:55 PM, Radhika Gadde <radhika.gadde1@gmail.com>wrote:
> Hi Nierjesh,
>
> Execute the command "onstat -m "
> It will show the 20 last lines of message log file
>
> else execute command " onstat -c|grep MSGPATH" and open the file that
> MSGPATH points to and check the contents and let us know.It will help us to
> understand the problem better.
>
> Thanks,
> Radhika.
>
> On Mon, May 24, 2010 at 11:44 AM, nierjesh kumar
> <nierjeshkumar@gmail.com>wrote:
>
> > Dear All
> >
> > When I issued the oninit -v command it shows following error:
> >
> > *oninit: Fatal error in shared memory initialization
> >
> > WARNING: server initialization failed, or possibly timed out (if -w was
> > used).
> > Check the message log, online.log, for errors.
> > informix@root:~>
> >
> > *Platform Detail:
> > OS - SuSe 10.2
> > Informix 11.50
> >
> > Regards-
> > Nierjesh
> >
> > --00c09f8997e87a82bc048750f5d0
> >
> >
> >
> >
>
>
*******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --0016e6407c64e13d2104875473ed
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--00c09fa21e6e844ba50487554102
On 24 May 2010 12:22, nierjesh kumar <nierjeshkumar@gmail.com> wrote:
> Hi Radhika
>
> Plz check it:
>
> 12:18:24 Loading Module <BUILTINNULL>
> 12:18:24 Warning: CONSOLE = /opt/IBM/informix/online.con open failed.
> Redirecting output to '/dev/null'.
> 12:18:24 Affinitied VP 1 to phys proc 0
> 12:18:25 Affinitied VP 3 to phys proc 1
> 12:18:29 DR: Cannot set the value of the onconfig parameter DRLOSTFOUND to
> /opt/IBM/informix/etc/dr.
> lostfound.
>
> This configuration parameter is not supported
>
> in IDS Express Edition.
> 12:18:29 DR: Cannot set the value of the onconfig parameter DRIDXAUTO to 0.
>
> This configuration parameter is not supported
>
> in IDS Express Edition.
> 12:18:29 Event notification facility epoll enabled.
> 12:18:29 IBM Informix Dynamic Server Version 11.50.UC4E Software Serial
> Number AAA#B000000
> 12:18:30 The chunk '/opt/IBM/informix/dbspaces/rootdbs' must have
> READ/WRITE permissions for owner and group (660).
>
> 12:18:30 oninit: Fatal error in shared memory initialization
>
> 12:18:30 IBM Informix Dynamic Server Stopped.
>
> 12:18:30 mt_shm_remove: WARNING: may not have removed all/correct segments
>
> 324827,1
> B
>
> Regards-
> Nierjesh
>
> On Mon, May 24, 2010 at 3:55 PM, Radhika Gadde
> <radhika.gadde1@gmail.com>wrote:
>
>> Hi Nierjesh,
>>
>> Execute the command "onstat -m "
>> It will show the 20 last lines of message log file
>>
>> else execute command " onstat -c|grep MSGPATH" and open the file that
>> MSGPATH points to and check the contents and let us know.It will help us to
>> understand the problem better.
>>
>> Thanks,
>> Radhika.
>>
>> On Mon, May 24, 2010 at 11:44 AM, nierjesh kumar
>> <nierjeshkumar@gmail.com>wrote:
>>
>> > Dear All
>> >
>> > When I issued the oninit -v command it shows following error:
>> >
>> > *oninit: Fatal error in shared memory initialization
>> >
>> > WARNING: server initialization failed, or possibly timed out (if -w was
>> > used).
>> > Check the message log, online.log, for errors.
>> > informix@root:~>
>> >
>> > *Platform Detail:
>> > OS - SuSe 10.2
>> > Informix 11.50
>> >
>> > Regards-
>> > Nierjesh
>> >
Nierjesh
It pretty obvious from the log then isn't it !!
chown informix:informix /opt/IBM/informix/dbspaces/rootdbs
chmod 660 /opt/IBM/informix/dbspaces/rootdbs
and try again, preferably after reading the first part of the admin
guide and/or reference :-))
ps. You might also want to touch /opt/IBM/informix/online.con as
informix, or make /opt/IBM/informix writable by informix
pps. you maight also want to remove the DR parameters from your
onconfig file, although this is less essential.
Keith