RE: Restore Informix software & Database to another server
Posted in 2004
Did You re-install Informix executables ('installserver' script)
after transferring it to anather machine with Solaris utility?
If not, please, do that. Also, do nor forget about 'RUNASROOT' script.
------------------------------------------
Alexey Sonkin
Senior Database Administrator
> -----Original Message-----
> From: KW Foo [mailto:hovid@streamyx.com]
> Sent: Monday, January 19, 2004 5:38 AM
> To: informix-list@iiug.org
> Subject: Re: Restore Informix software & Database to another server
>
> What should I check in the /etc/system ?
>
> Regards,
> KW Foo
>
> --
> "Paul Watson" <paul@oninit.com> wrote in message
> news:400B9841.75DB2436@oninit.com...
> > Have you checked that the /etc/system on the second server is correct
> >
> > KW Foo wrote:
> > >
> > > We are trying to backup the server which includes the Informix 7.31
> > > application and the data and restore to another server.
> > >
> > > We are running the Informix in SUN Solaris 2.6, backup the server
> using
> > > "ufsdump" to the tape drive and restore using the "ufsrestore" to
> another
> > > server (with the same directory structure and hardware).
> > >
> > > We use "ufsdump" to backup the informix software and also all the
> Informix
> > > chunk directories after we shutdown the Informix using "onmode -ky".
> > >
> > > We also did an "ontape" level 0 backup to a tape.
> > >
> > > After we restore the application and the Informix chunk directory,
> when
> we
> > > try to start the Informix engine using "oninit", the server go into
> "FAST
> > > RECOVERY" mode, after few minutes, it display message "oninit: Fatal
> error
> > > in shared memory initialization".
> > >
> > > The following are the message recorded in the online.log:
> > >
> > > 13:41:32 Informix Dynamic Server Initialized -- Shared Memory> Initialized.
> > > 13:41:32 Physical Recovery Started.
> > > 13:45:16 Physical Recovery Complete: 84946 Pages Restored.
> > > 13:45:16 Logical Recovery Started.
> > > 13:45:16 shmget: [ENOMEM][12]: key 52564806: out of shared memory,> check
> > > system
> > > max shared memory segment size
> > > 13:45:16 out of virtual shared memory
> > >
> > > 13:45:16 Cannot Rollforward from Checkpoint.
> > > 13:45:17 Informix Dynamic Server Stopped.
> > > 13:45:18 mt_shm_remove: WARNING: may not have removed all/correct> segments
> > >
> > > After that, we check the "onstat -", and receive message "shared
> memory
> not
> > > initialized for INFORMIXSERVER 'informix'".
> > >
> > > Is this the way to do it and how can I get the Informix engine up to
> restore
> > > from the "ontape" backup ?
> > >
> > > Regards,
> > > KW Foo
> >
> > --
> > Paul Watson #
> > Oninit Ltd # Growing old is mandatory
> > Tel: +44 1436 672201 # Growing up is optional
> > Fax: +44 1436 678693 #
> > Mob: +44 7818 003457 #
> > www.oninit.com #
sending to informix-list