Informix

 View Only
  • 1.  shared memory not initialized for INFORMIXSERVER but Server is online!!

    Posted Wed July 31, 2024 02:54 PM

    Hi all, I inherited the management of a windows server 2019 with informix server 10.

    Informix server is active and correctly configured and working but from the instance.cmd prompt with any user (even informix) the onstat, oninit etc commands all respond "shared memory not initialized for INFORMIXSERVER 'ixserver' ". INFORMIXSERVER and INFORMIXDIR are correctly valued. What am I doing wrong?



    ------------------------------
    Cristiano Bregola
    ------------------------------


  • 2.  RE: shared memory not initialized for INFORMIXSERVER but Server is online!!

    IBM Champion
    Posted Wed July 31, 2024 03:03 PM

    That sounds like the environment variables are not set, or not set correctly - INFORMIXSERVER, ONCONFIG, INFORMIXDIR

    Does "onstat -g dis" show your running instance?



    ------------------------------
    Mike Walker
    xDB Systems, Inc
    www.xdbsystems.com
    ------------------------------



  • 3.  RE: shared memory not initialized for INFORMIXSERVER but Server is online!!

    Posted Thu August 01, 2024 06:58 AM

    Yes, my instance is runnig but output of onstat -g dis is not complete. Some info are "Unknown". Solved with onmode -R !



    ------------------------------
    Cristiano Bregola
    ------------------------------



  • 4.  RE: shared memory not initialized for INFORMIXSERVER but Server is online!!

    Posted Thu August 01, 2024 07:00 AM
    Edited by Cristiano Bregola Thu August 01, 2024 07:01 AM

    duplicated



  • 5.  RE: shared memory not initialized for INFORMIXSERVER but Server is online!!

    IBM Champion
    Posted Wed July 31, 2024 05:25 PM

    HI,

    Try onmode -R to recreate the infos file - https://www.ibm.com/docs/en/informix-servers/14.10?topic=utility-onmode-r-regenerate-infosdbservername-file

    Otherwise open a support case.

    Regards,

    David.



    ------------------------------
    David Williams
    ------------------------------



  • 6.  RE: shared memory not initialized for INFORMIXSERVER but Server is online!!

    Posted Thu August 01, 2024 07:04 AM
    Edited by Cristiano Bregola Thu August 01, 2024 07:04 AM

    Hi David. Solved with onmode -R. Thank you very much!



    ------------------------------
    Cristiano Bregola
    ------------------------------