Informix

nested-group-icon.png

DB2

Expand all | Collapse all

Issue: shared memory not initialized for INFORMIXSERVER 'informix'

  • 1.  Issue: shared memory not initialized for INFORMIXSERVER 'informix'

    Posted 30 days ago
    This error occurs sporadically during Informix startup. I am using the current official docker image of Informix.
    ================================================================================IBM Informix.--------------------------------------------------------------------------------Docker create db_seeder_db (IBM Informix 14.10.FC3DE)445002a138052b2728d50042c4d4a92da1b458c87059d2fe3b1887aa3832f7cbDocker start db_seeder_db (IBM Informix 14.10.FC3DE)db_seeder_dbCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES445002a13805 ibmcom/informix-developer-database:14.10.FC3DE "/opt/ibm/scripts/di…" 1 second ago Up Less than a second (health: starting) 8080/tcp, 9089/tcp, 27017-27018/tcp, 27883/tcp, 0.0.0.0:9088->9088/tcp db_seeder_dbInitial State ...........................................................CLIENT_LOCALE=de_CH.utf8DB_LOCALE =de_CH.utf8GL_USEGLU =1SERVER_LOCALE=de_CH.utf8.........................................................................Stop Database ...........................................................Started onshutdown.sh********************************************************!!! WARNING !!!THE onshutdown SCRIPT WILL TRY TO SHUTDOWN AND TERMINATETHIS IDS INSTANCE informix UNCONDITIONALLY!********************************************************Hit Ctrl-C if you wish to abort this operation!Waiting for 10 seconds before continuing...Attempting to shutdown informix in 30 seconds...Finished executing /opt/ibm/informix/bin/onmode.Finished onshutdown.shDatabase is stopped .....................................................Start Database ..........................................................Reading configuration file '/opt/ibm/informix/etc/onconfig'...succeededCreating /INFORMIXTMP/.infxdirs...succeededAllocating and attaching to shared memory...succeededCreating resident pool 4502 kbytes...succeededCreating infos file "/opt/ibm/informix/etc/.infos.informix"...succeededLinking conf file "/opt/ibm/informix/etc/.conf.informix"...succeededInitializing rhead structure...rhlock_t 16384 (512K)... rlock_t (2656K)... bash: line 23: 593 Killed oninit -v -w 30 -yDatabase is started .....................................................shared memory not initialized for INFORMIXSERVER 'informix'

    ------------------------------
    Walter Weinmann
    ------------------------------


  • 2.  RE: Issue: shared memory not initialized for INFORMIXSERVER 'informix'

    Posted 30 days ago

    Throw an onclean –ky betwee the onmode –yuck (-ky or whatever you use) and on the onint –vw

     

    Cheers

    Paul

     






  • 3.  RE: Issue: shared memory not initialized for INFORMIXSERVER 'informix'

    Posted 27 days ago
    Good luck with the Docker adventure.

    We had a number of issues trying to get Docker to work with our particular database. In the end we just went with LXD, which so far seems to be a lot more accommodating.

    We did get docker to work in the end, using a Developer Edition license, and a dataset that complied with the license storage restrictions. But, the experience put us off using docker for any significantly sized datasets.

    If someone somewhere has been able to create an image that can successfully work with a production sized dataset, I'd be interested to know the details of how it works.


  • 4.  RE: Issue: shared memory not initialized for INFORMIXSERVER 'informix'

    Posted 27 days ago
    Hi Daniil,

    shouldn't this only be a matter of bringing the 'edition installer' for the desired (and acquired) edition onto the Docker instance and applying it there?
    I'd not see how Informix in the docker image should be different from (the very same) Informix installed 'on prem'.

    BR,
     Andreas

    ------------------------------
    Andreas Legner
    ------------------------------



  • 5.  RE: Issue: shared memory not initialized for INFORMIXSERVER 'informix'

    Posted 25 days ago
    Hi Andreas,

    From memory, some of the issues we had in Docker were around permissions, and some of the default restrictions. I have very limited Docker exposure, although, others working with me were much more experienced with it. So, I was under the arguably misguided impression that an on-prem environment would easily fit into a standard Docker container.
    We had better success with VirtualBox, although, VirtualBox is not a container. However, LXC/LXD (which is a container), appeared to work out-of-the-box with a lot less hassle than Docker.
    From my limited understanding, LXC/LXD does seem a better fit for containerizing Informix due to it's wider scope (as opposed to Docker's more app-focused approach). There could well be an Enterprise capable Docker image for Informix that's available for people to use (if you know of one, or have setup such an image yourself, I'm sure it would be greatly appreciated).

    Regards,
    Daniil