Mega Search
23.2 Million


Sign Up

Make a donation  
After shutdown "Error initializing shared memory"  
News Group: comp.databases.informix

New to informix. I have created a rootdbs. When I shut down the server I get a shared memory area running oninit -ivy unless I copy /dev/null to the rootdbs (wiping out everything) before running oninit. This is on AIX. Any clues what I could be doing wrong?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 7-Jan-2015, at 7:38 PM EST
From: m
 
Re: After shutdown "Error initializing shared memory"  
News Group: comp.databases.informix
On Thursday, January 8, 2015 at 4:54:38 PM UTC-7, mwins...@gmail.com wrote:
> On Wednesday, January 7, 2015 at 11:23:52 PM UTC-5, Mike Walker wrote:
> > Are you sure that you're running the right commands?
> > 
> > Shut down the engine with "onmode -ky", and then start it again with "oninit
> > -v".  You should only use the "oninit -ivy" if you're initializing the
> > engine for the first time, or want to start over.  The first time that you
> > initialize the engine, it will create the rootdbs for you - all you need is
> > an empty file there in the first place, and with the right ownership and
> > permissions (informix:informix & 660).
> > 
> > If you're doing that, then can you post the exact message that you're
> > getting?
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: informix-list-bounces@iiug.org [mailto:informix-list-bounces@iiug.org]
> > On Behalf Of mwinsor2001@gmail.com
> > Sent: Wednesday, January 07, 2015 8:38 PM
> > To: informix-list@iiug.org
> > Subject: After shutdown "Error initializing shared memory"
> > 
> > New to informix. I have created a rootdbs. When I shut down the server I get
> > a shared memory area running oninit -ivy unless I copy /dev/null to the
> > rootdbs (wiping out everything) before running oninit. This is on AIX. Any
> > clues what I could be doing wrong?
> > _______________________________________________
> > Informix-list mailing list
> > Informix-list@iiug.org
> > http://www.iiug.org/mailman/listinfo/informix-list
> 
> That was it. Like I said, I'm a newbie. I used standard engine 20 years ago but never IDS. The docs are a little sparse on the subjects. 
> 
> Thank you very much.

I concur with Mr. Walker.  

If you're new to IDS (from SE), you'll have more questions I'd imagine. We see this from new users and the "engine modes" can be confusing. This is a good forum for questions, or you can send them to me directly at mark@markscranton.com.

Mark Scranton
mark@markscranton.com
www.markscranton.com
The Mark Scranton Group
"All Informix ... all the time."

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 14-Jan-2015, at 8:17 AM EST
From: Mark Scranton
 
Re: After shutdown "Error initializing shared memory"  
News Group: comp.databases.informix
On Wednesday, January 7, 2015 at 11:23:52 PM UTC-5, Mike Walker wrote:
> Are you sure that you're running the right commands?
> 
> Shut down the engine with "onmode -ky", and then start it again with "oninit
> -v".  You should only use the "oninit -ivy" if you're initializing the
> engine for the first time, or want to start over.  The first time that you
> initialize the engine, it will create the rootdbs for you - all you need is
> an empty file there in the first place, and with the right ownership and
> permissions (informix:informix & 660).
> 
> If you're doing that, then can you post the exact message that you're
> getting?
> 
> 
> 
> 
> -----Original Message-----
> From: informix-list-bounces@iiug.org [mailto:informix-list-bounces@iiug.org]
> On Behalf Of mwinsor2001@gmail.com
> Sent: Wednesday, January 07, 2015 8:38 PM
> To: informix-list@iiug.org
> Subject: After shutdown "Error initializing shared memory"
> 
> New to informix. I have created a rootdbs. When I shut down the server I get
> a shared memory area running oninit -ivy unless I copy /dev/null to the
> rootdbs (wiping out everything) before running oninit. This is on AIX. Any
> clues what I could be doing wrong?
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list

That was it. Like I said, I'm a newbie. I used standard engine 20 years ago but never IDS. The docs are a little sparse on the subjects. 

Thank you very much.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 8-Jan-2015, at 3:54 PM EST
From: m
 
Re: After shutdown "Error initializing shared memory"  
News Group: comp.databases.informix
Are you sure that you're running the right commands?

Shut down the engine with "onmode -ky", and then start it again with "oninit
-v".  You should only use the "oninit -ivy" if you're initializing the
engine for the first time, or want to start over.  The first time that you
initialize the engine, it will create the rootdbs for you - all you need is
an empty file there in the first place, and with the right ownership and
permissions (informix:informix & 660).

If you're doing that, then can you post the exact message that you're
getting?




-----Original Message-----
From: informix-list-bounces@iiug.org [mailto:informix-list-bounces@iiug.org]
On Behalf Of mwinsor2001@gmail.com
Sent: Wednesday, January 07, 2015 8:38 PM
To: informix-list@iiug.org
Subject: After shutdown "Error initializing shared memory"

New to informix. I have created a rootdbs. When I shut down the server I get
a shared memory area running oninit -ivy unless I copy /dev/null to the
rootdbs (wiping out everything) before running oninit. This is on AIX. Any
clues what I could be doing wrong?
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list


Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 7-Jan-2015, at 9:24 PM EST
From: Mike Walker