Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

oninit / oninit -i

14 views
Skip to first unread message

Andreas Lommel

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to
Here I have a Informix-DB on 7.30 on Solaris. Which is the difference
between starting the database with ONINIT and ONINIT -i ?


Yuri Dovgart

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to
In article <37552d44...@news.btx.dtag.de>,

him_l...@t-online.de (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 ?
>
>

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.

Scott Black

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

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.

Leroy Janda

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

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.


Obnoxio The Clown

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

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 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

Mark D. Stock

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

Scott Black wrote:
>
> 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.

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 |/ ////////|
+----------------------+-----------------------------------+-----------+

thillick

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to
Try oninit -svy, the output might interest you. It displays what the
engine is doing as
it is coming up. It's also good as a diagnostic tool.

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 ?
>

Doug Agnew

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

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 for
>the internet! :-)
>
Obnoxio is obviously the type of systems person (being PC here, of course)
that would enjoy www.networkweek.com/bofh


Obnoxio The Clown

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

From: "Doug Agnew" <dag...@charlottepipe.com>

He is indeed. But I never said my name *wasn't* Simon Travaglia... :-)

Paul watson

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to

>>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 =
for=20
>the internet! :-)

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
**********************************************************************

David Grove

unread,
Jun 7, 1999, 3:00:00 AM6/7/99
to

Nor did he say his name wasn't Billy Wheeler.


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

0 new messages