Re: oninit error. Oline Workgroup Server for SCO Open Server 5.0.4
Posted in 1998
In article <35f6cb76.0@dial-in.encomix.es>, fjcerdan@alianzai.com
(Francisco Cerdan) wrote:
> Hello,
>
> I have problems with Informix Online Workgroup Server 7.22.UC5 for SCO
> Open
> Server 5.
>
> I do the following:
>
> login: root
> password: xxx
>
> # cd /u/informix
> # . ./ifmx.sh
> # oninit
> oninit: Cannot open chunk '/u/IFMXDATA/bdatos/ROOTDBS.000'. errno = 4> oninit: Fatal error in shared memory initialization
> #
> The online.log file:
>
> Wed Sep 9 20:04:41 1998
>
> 20:04:41 Event alarms enabled. ALARMPROG =
> '/u/informix/etc/log_full.sh'
> 20:04:45 DR: DRAUTO is 0 (Off)
> 20:04:46 chunk failed sanity check
>
> 20:04:48 I/O error, Primary Chunk '/u/IFMXDATA/bdatos/ROOTDBS.000' --
> Offline (sanity)
> 20:04:48 INFORMIX-OnLine Stopped.
> 20:04:48 mt_shm_remove: WARNING: may not have removed all/correct> segments
>
>
> Please, help me to cofigure correctly my server.
>
> Tank you very much.
>
> Regards, Francisco Cerd'n.
>
> My configuration files are:
>
> ifmx.sh
>
> INFORMIXDIR=/u/informix
> ONCONFIG=onconfig.ows
> INFORMIXSERVER=bdatos_shm
> INFORMIXSQLHOSTS=/u/informix/etc/sqlhosts
> INFORMIXTERM=terminfo> TERMINFO=/usr/share/lib/terminfo
> PATH=.:/u/informix/bin:/u/informix/bin:.:/usr/ccs/bin:/usr/ccs/lib:/bin:> /usr
> /bin:/usr/sbin:/usr/etc:/usr/ucb
[cutting]
Assuming the engine has started OK in the past - is the chunk still there?
and with the correct permissions? Has all the memory been released when
the restart failed?
As an aside I would set your nettypes fully and not rely on the defaults
as I've seen them not come through correctly under SCO
Paul Watson # I don't suffer from
WF Software Ltd. # stress, I'm just
Tel. (+44) 1436 674729 # a carrier
Fax. (+44) 1436 678693 #