Discussion:
After shutdown "Error initializing shared memory"
(too old to reply)
m***@gmail.com
2015-01-08 03:38:04 UTC
Permalink
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?
Mike Walker
2015-01-08 04:24:25 UTC
Permalink
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-***@iiug.org [mailto:informix-list-***@iiug.org]
On Behalf Of ***@gmail.com
Sent: Wednesday, January 07, 2015 8:38 PM
To: informix-***@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?
m***@gmail.com
2015-01-08 23:54:36 UTC
Permalink
Post by Mike Walker
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-----
Sent: Wednesday, January 07, 2015 8:38 PM
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
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.
Mark Scranton
2015-01-14 16:17:18 UTC
Permalink
Post by m***@gmail.com
Post by Mike Walker
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-----
Sent: Wednesday, January 07, 2015 8:38 PM
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
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 ***@markscranton.com.

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

Loading...