ONINIT -i initialises disk and shared memory, while oninit initialises
shared memory only. When you run oninit -i Informix recreatres logical
and physical logs, as specified in ONCONFIG file. If you run this
command, all your previous data will be lost. Also, this command
creates such structures as SYSUTILS and SYSMASTER databases. The oninit
command simply creates shared memory without any disk modifications.
ONINIT command is used to bring your system from off-line to online
mode.
--
With best regards, Yuri Dovgart.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
The best thing to do is RTFineM, but in short oninit -i wipes out the
whole instance, leaving you with blank dbspaces. What you want to use
is oninit without any arguments.
Andreas Lommel wrote:
> Here I have a Informix-DB on 7.30 on Solaris. Which is the difference
> between starting the database with ONINIT and ONINIT -i ?
A big difference, The -i initializes your database.
Spoilsport!
I had this whole story ready about how oninit -i prepares your database for
the internet! :-)
> -----Original Message-----
> From: him_l...@t-online.de (Andreas Lommel)
>[SMTP:him_l...@t-online.de]
> Posted At: Wednesday, June 02, 1999 9:20 AM
> Posted To: Informix
> Conversation: oninit / oninit -i
> Subject: oninit / oninit -i
>
> Here I have a Informix-DB on 7.30 on Solaris. Which is the
>difference
> between starting the database with ONINIT and ONINIT -i ?
>
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Well, just ONE blank dbspace actually. ;-)
It's a bit like the BOFH when he cleared someone's directory, "... don't
worry, you still have two files left...., dot and dot dot." :-)
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
|Mark D. Stock - Informix SA http://www.informix.com |//////// /|
|mailto:mds...@informix.com http://www.informix.com/idn |///// / //|
|http://www.iiug.org +-----------------------------------+//// / ///|
| Tel: +27 11 807 0313 |What year 2000 bug? year 2000 bug? |/// / ////|
| Fax: +27 838250 2325 |year 2000 bug? year 2000 bug? year |// / /////|
|Cell: +27 83 250 2325 |2000 bug? year 2000 bug? year 1900 |/ ////////|
+----------------------+-----------------------------------+-----------+
Don't forget to onmode -m to put th engine in multi-user mode.
Terry Hillick
CSCS, Inc.
Leroy Janda wrote:
> Andreas Lommel wrote:
>
> > Here I have a Informix-DB on 7.30 on Solaris. Which is the difference
> > between starting the database with ONINIT and ONINIT -i ?
>
He is indeed. But I never said my name *wasn't* Simon Travaglia... :-)
Isn't the '-i' required if you want the database to be interactive ? =
:-)))
Paul Watson
WF Software Ltd
Tel +44 1436 674729
Fax +44 1436 678729
www.wfsoftware.co.uk
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
Obnoxio The Clown wrote in message <7j3sg0$rlq$1...@news.xmission.com>...
>
>From: "Doug Agnew" <dag...@charlottepipe.com>
>>
>>Obnoxio The Clown wrote in message <7j3g77$msf$1...@news.xmission.com>...
>> >
>> >From: Scott Black <sbl...@elsouth.com>
>> >>
>> >>Believe me, if you do oninit -i, you'll only make that mistake once!
>> >>
>> >>The best thing to do is RTFineM, but in short oninit -i wipes out the
>> >>whole instance, leaving you with blank dbspaces. What you want to use
>> >>is oninit without any arguments.
>> >
>> >Spoilsport!
>> >
>> >I had this whole story ready about how oninit -i prepares your database