clickbox

Unable to initialize informix instance

informix_1

 

Error: shared memory not initialized for INFORMIXSERVER ”

onconfig -m

Error: shared memory not initialized for INFORMIXSERVER ‘dbname’

Message Log File: /usr/informix/tmp/online.log and can be read using following command:

tail -20 /usr/informix/tmp/online.log

If you are using the correct SHMBASE value in your ONCONFIG file, then
consider this message informational only.
11:25:44 Contiguous shared memory segment allocation failed at 0xb7542000.
Allocation successful at 0xae877000.
Check SHMBASE is consistent with the value in $INFORMIXDIR/etc/onconfig.std.
If you are using the correct SHMBASE value in your ONCONFIG file, then
consider this message informational only.
11:25:44 OS couldn’t allocate first resident segment at SHMBASE (0x0).
12:15:01 IBM Informix Dynamic Server Started.
12:15:01 Contiguous shared memory segment allocation failed at 0x44000000.
Allocation successful at 0xb08e8000.
Check SHMBASE is consistent with the value in $INFORMIXDIR/etc/onconfig.std.
If you are using the correct SHMBASE value in your ONCONFIG file, then
consider this message informational only.
12:15:01 Contiguous shared memory segment allocation failed at 0xb75cf000.
Allocation successful at 0xae904000.
Check SHMBASE is consistent with the value in $INFORMIXDIR/etc/onconfig.std.
If you are using the correct SHMBASE value in your ONCONFIG file, then
consider this message informational only.
12:15:01 OS couldn’t allocate first resident segment at SHMBASE (0x0).

Solution:

Change SHMBASE to 0x10000000 in onconfig file.

And than try to initialize database.

oninit -ivy

Note: You can get help regarding this in informix MACHINE SPECIFIC NOTES file.

cd $INFORMIXDIR/release/en_us/0333
less ids_machine_notes_11.70.txt
“Depending on the location of the shared libraries, OS stack etc., a
suitable location of pload shared memory spaces needs to be determined.
Linux system administrator is the best person to find the correct values
for PLOAD_SHMBASE for his particular system. The suggestive values for
PLOAD_SHMBASE could be 0x10000000L, or 0x44000000L.”

Please follow and like us:
20

Written by 

Sachin Kumar is an IT professional, having a good experience of Linux, Windows, Oracle, Informix, Asterisk and VoIP. Email: clickboxsachinkumar@gmail.com

Enjoy this blog? Please spread the word :)