Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2008
    Posts
    3

    Unanswered: Shared Memory Initialization problem with informix dynamic server 10.0

    Hi,

    I have installed informix dynamic server 10.0 on SUSE Linux 9 and while trying shared memory initialization for IDS , Iam getting following message.
    /home/informix=>oninit -iyv
    Checking group membership to determine server run mode..
    Reading configuration file '/home/informix/etc/onconfig.
    Creating /INFORMIXTMP/.infxdirs...succeeded
    Creating infos file "/home/informix/etc/.infos.subbu"...
    Linking conf file "/home/informix/etc/.conf.subbu"...suc
    Writing to infos file...succeeded
    Checking config parameters...succeeded
    Allocating and attaching to shared memory...succeeded
    Creating resident pool 3392 kbytes...succeeded
    Allocating 20016 kbytes for buffer pool of 2K page size.
    Initializing rhead structure...succeeded
    Initializing ASF...succeeded
    Initializing Dictionary Cache and SPL Routine Cache...su
    Bringing up ADM VP...succeeded
    Creating VP classes...succeeded
    Onlining 3 additional cpu vps...succeeded
    Onlining 2 IO vps...succeeded
    Initialization of Encryption...succeeded
    Forking main_loop thread...succeeded
    Initializing DR structures...succeeded
    Forking 3 'ipcshm' listener threads...succeeded
    Forking 1 'soctcp' listener threads...succeeded
    Starting tracing...succeeded
    Initializing 1 flushers...succeeded
    Initializing log/checkpoint information... /home/informix=>

    and online.log file contains following information

    07:41:46 IBM Informix Dynamic Server Started.

    Tue Jul 8 07:41:46 2008

    07:41:46 Warning: ONCONFIG dump directory (DUMPDIR) '/tmp' has insecure permiss
    ions
    07:41:46 Error: Unable to reset open files limit, must run as super-user
    07:41:46 Event alarms enabled. ALARMPROG = '/home/informix/etc/alarmprogram.sh
    '
    07:41:46 Booting Language <c> from module <>
    07:41:46 Loading Module <CNULL>
    07:41:46 Booting Language <builtin> from module <>
    07:41:46 Loading Module <BUILTINNULL>
    07:41:51 Dynamically allocated new virtual shared memory segment (size 8192KB)
    07:41:51 Memory sizes:resident:23652 KB, virtual:16384 KB, no SHMTOTAL limit
    07:41:51 Dynamically allocated new message shared memory segment (size 3100KB)
    07:41:51 Memory sizes:resident:23652 KB, virtual:19484 KB, no SHMTOTAL limit
    07:41:52 Dynamically allocated new message shared memory segment (size 3100KB)
    07:41:52 Memory sizes:resident:23652 KB, virtual:22584 KB, no SHMTOTAL limit
    07:41:52 Dynamically allocated new message shared memory segment (size 3100KB)
    07:41:52 Memory sizes:resident:23652 KB, virtual:25684 KB, no SHMTOTAL limit
    07:41:52 IBM Informix Dynamic Server Version 10.00.UC6E Software Serial Number
    AAA#B000000
    07:42:36 listener-thread: err = -25572: oserr = 13: errstr = : Network driver
    cannot bind a name to the port.
    System error = 13.
    07:42:36 sql_listener: ASF_LISTEN failed

    07:42:36 Attempting to bring listener thread down.

    07:42:36 Server stopped.

    07:42:37 IBM Informix Dynamic Server Stopped.

    07:42:37 mt_shm_remove: WARNING: may not have removed all/correct segments

    and while trying to initialize shared memory through onmonitor

    I am getting error

    operating system error -9
    unable to write to $INFIRMIXDIR/etc

    I have given ROOTPATH as /ppc/rootdbs with user informix , group informix and permissions 660

    what might be the problem please help...

    Thank you in advance...

  2. #2
    Join Date
    Nov 2004
    Posts
    143
    Hello,

    Create a filesystem (call it IFXDUMP or anything you want) and the owner of this FS should be informix:informix. Modify your onconfig's DUMPDIR entry to point to this FS.

    Also modify the shared memory parameters, eg as below

    SHMVIRTSIZE 100000 # initial virtual shared memory segment size
    SHMADD 8192 # Size of new shared memory segments (Kbytes)
    SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited


    Try starting informix once again. If it failes, attach your onconfig file and also the informix message log file.

    Nitin

  3. #3
    Join Date
    Apr 2007
    Location
    Jundiai / SP - Brasil
    Posts
    311
    [07:42:36 listener-thread: err = -25572: oserr = 13: errstr = : Network driver
    cannot bind a name to the port.
    System error = 13.
    07:42:36 sql_listener: ASF_LISTEN failed
    Check your SQLHOSTS, probably the hostname what you specified don't exists on the /etc/hosts file or the port name don't exists on the /etc/services
    ________________________________________
    César Inacio Martins
    Jundiai / SP - Brasil
    http://www.imartins.com.br/informix - em Português
    http://www.imartins.com.br/informix - English (translated by Google).
    ________________________________________

  4. #4
    Join Date
    Aug 2008
    Posts
    1
    Estoy instalando informix 10 en linux centos 5.0 y cuando ejecuto el comando oninit -ivy para inicializar la base de datos me arroja el siguiente error:
    oninit: Fatal error in share mamory creation.
    Al revisar en el online.log encuentro lo siguiente:

    SHMGET:[EEXIST][17]:Key 525a4801: Share memory already exists
    mt_shm_init: can`t create resident segment

    quien me puede ayudar con esto?

  5. #5
    Join Date
    Apr 2007
    Location
    Jundiai / SP - Brasil
    Posts
    311
    before execute the oninit , execute a few times:
    "onmode -ky"
    if not work check if have any memory alocation with "ipcs".
    or just reset the machine.
    ________________________________________
    César Inacio Martins
    Jundiai / SP - Brasil
    http://www.imartins.com.br/informix - em Português
    http://www.imartins.com.br/informix - English (translated by Google).
    ________________________________________

Posting Permissions

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