Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2004
    Posts
    4

    Unanswered: Fatal error in shared memory initialization

    Hello, I try to up my informix server and I have this error

    oninit: Cannot open chunk ''. errno = 2

    oninit: Fatal error in shared memory initialization

    I don't konw what to do. may you help me?

  2. #2
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    183
    Oops, it seems one of your chunks/disks is being offline. There should be more info in your logfile (See MSGPATH parameter in your onconfig file).

    If it wasn't your rootdbs there a big chance IDS has marked it down, only way to recovery in that case is a restore.

    If you want more advice, please post the last 100 lines or so from you log file and the output of oncheck -pr (this still works even if the engine is down, it will be only very very slow (could take several minutes)).

    If your rootdbs was unavailable then you could be lucky....

    Hope this helps,

    Rob Prop

  3. #3
    Join Date
    Apr 2004
    Posts
    4
    This is the whole error.

    6:58:46 IBM Informix Dynamic Server Started.
    16:58:46 Requested shared memory segment size rounded from 1KB to 4KB
    16:58:46 Dynamically allocated new virtual shared memory segment (size 8192KB)

    Mon Apr 12 16:58:46 2004

    16:58:46 Event alarms enabled. ALARMPROG = '/home/informix/etc/no_log.sh'
    16:58:46 Booting Language <c> from module <>
    16:58:46 Loading Module <CNULL>
    16:58:46 Booting Language <builtin> from module <>
    16:58:46 Loading Module <BUILTINNULL>
    16:58:51 Dynamically allocated new message shared memory segment (size 648KB)
    16:58:51 IBM Informix Dynamic Server Version 9.40.UC2 Software Serial Number AAA#B000000
    16:58:51 Cannot Open Primary Chunk '', errno = 2
    oninit: Cannot open chunk ''. errno = 2
    oninit: Fatal error in shared memory initialization
    16:58:51 IBM Informix Dynamic Server Stopped.

    16:58:51 mt_shm_remove: WARNING: may not have removed all/correct segments

    Where is the file ONCONFIG?

  4. #4
    Join Date
    Mar 2004
    Posts
    1
    Please check if you have correct value
    for ROOTPATH variable in onconfig file.
    This error is reported when oninit process fails to open
    a file(root chunk) mentioned in ROOTPATH.
    onconfig file is generally located in $INFORMIXDIR/etc/$ONCONFIG, where INFORMIXDIR and ONCONFIG are environment variables.
    hope this helps.

  5. #5
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    183
    Also check if the variable ONCONFIG is set at all. If not IDS is using only the onconfig.std file, and the ROOTPATH in their will probably be empty.

    Have you already found the solution??

  6. #6
    Join Date
    Apr 2004
    Posts
    4

    Thanks

    Thanks ROOTPATH was wrong, I got it, but now we have another problem, the application server doesn't run because it doesn't find the database server. Where do I join the application with de database server?

    java.sql.SQLException: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_gandalf) failed.


    Thank for all.

  7. #7
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    183
    This is the sqlhosts file. This file should have an entry on the application server which point to the db server.

    Hope this helps,

    Rob Prop

  8. #8
    Join Date
    Jun 2012
    Posts
    1
    Earlier in 2004 the domain name www. AnixHost .com was registered by someone who unfortunately had bad reviews in providing web hosting services to his clients, later by 2006 the hosting
    company stopped providing any type of services. By 2009 the domain name expired totally. Starting 2010 AnixHost .com as a domain name and AnixHost as a brand name specialized in delivering
    high-end web solution services to its clients became an official member of Web Services Solutions Group and managed by ZDC Corporation.

    AnixHost is officially a member of Web Services Solutions Group provided different web services with affordable prices and 24/7/265 Technical Support. We are comitted to provide top services
    and support aiming for our customer satisfaction which is our number one goal always and realy profit seeking for.

    AnixHost services include:
    Web Hosting
    Reseller Hosting
    Linux VPS
    Windows VPS
    Cloud Servers
    Dedicated Servers
    100TB Servers
    Enterprise Servers
    SSL Certificates
    Domain Name Registration

    AnixHost is committed to provide high level of web services to its clients with number one goal is customer satisfaction working together to ensure AnixHost continues to grow and
    progress.

    Fore more information visit our website www. AnixHost .com
    via email at sales@anixhost.com
    our Live Chat Support are always online to help you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •