Topic
  • 4 replies
  • Latest Post - ‏2013-02-04T07:40:33Z by SystemAdmin
SystemAdmin
SystemAdmin
1143 Posts

Pinned topic OS couldn't allocate first resident segment at SHMBASE...

‏2012-12-09T13:27:51Z |
Hi all,

after installtion and configuration from IDS 11.70 (free version) on Fedora 17 (kernel 3.6.2-4.fc17.i686) I get following failure message: 'OS couldn't allocate first resident segment at SHMBASE (0x8947451)'. I also did change SHMBASE-variable to 0xb7600000 but doesn't help to solve the problem. I also read some articles (about managig from shared memory under REDHAT linux) from IBM-s support site but this don't help me.
Does anyone have a idea how to solve this problem.

File attached: output form 'oninit -vy' and 'onstat -m'

Thanks in advance
Updated on 2013-02-04T07:40:33Z at 2013-02-04T07:40:33Z by SystemAdmin
  • andreasl
    andreasl
    372 Posts

    Re: OS couldn't allocate first resident segment at SHMBASE...

    ‏2012-12-10T11:04:16Z  
    Hello,

    first of all: is this 32bit or 64bit IDS and OS? Please let us know 'oninit -V' output.

    Then I'd retry this starting with a really small shared memory configuration: small BUFFERPOOL + LOCKS (making up first "resident" segment essentially) and small SHMVIRTSIZE.
    Once this succeeds, try again with increased sizes.

    You might be running into some pre-loaded library collisions.
    To find out about this, you can start oninit under debugger (gdb) control, let it run until first (or second/third) shmget(), and then look at the processes memory map (in gdb: 'info shared', or 'cat /proc/<oninit_PID>/maps'.

    Cheers,
    Andreas
  • SystemAdmin
    SystemAdmin
    1143 Posts

    Re: OS couldn't allocate first resident segment at SHMBASE...

    ‏2012-12-10T20:48:27Z  
    • andreasl
    • ‏2012-12-10T11:04:16Z
    Hello,

    first of all: is this 32bit or 64bit IDS and OS? Please let us know 'oninit -V' output.

    Then I'd retry this starting with a really small shared memory configuration: small BUFFERPOOL + LOCKS (making up first "resident" segment essentially) and small SHMVIRTSIZE.
    Once this succeeds, try again with increased sizes.

    You might be running into some pre-loaded library collisions.
    To find out about this, you can start oninit under debugger (gdb) control, let it run until first (or second/third) shmget(), and then look at the processes memory map (in gdb: 'info shared', or 'cat /proc/<oninit_PID>/maps'.

    Cheers,
    Andreas
    Hi Andreas,

    thank you for fast answering.

    onint -v says :

    IBM Informix Dynamic Server Version 11.50.UC9DE Software Serial Number AAA#B000000
    Mon Jul 25 21:52:49 CDT 2011

    uname -m says :

    i686

    I'll give you feedback if it does work after changes on shared memeory.
  • SystemAdmin
    SystemAdmin
    1143 Posts

    Re: OS couldn't allocate first resident segment at SHMBASE...

    ‏2013-02-01T21:22:52Z  
    • andreasl
    • ‏2012-12-10T11:04:16Z
    Hello,

    first of all: is this 32bit or 64bit IDS and OS? Please let us know 'oninit -V' output.

    Then I'd retry this starting with a really small shared memory configuration: small BUFFERPOOL + LOCKS (making up first "resident" segment essentially) and small SHMVIRTSIZE.
    Once this succeeds, try again with increased sizes.

    You might be running into some pre-loaded library collisions.
    To find out about this, you can start oninit under debugger (gdb) control, let it run until first (or second/third) shmget(), and then look at the processes memory map (in gdb: 'info shared', or 'cat /proc/<oninit_PID>/maps'.

    Cheers,
    Andreas
    Hi Andreas,

    it seems to be no way to get it on running. What ever I do, I get the message : "Fatal error in shared memoryi initialization". Do you have any other idea how to fix it!?
    Thx in advance

    Mirsad
  • SystemAdmin
    SystemAdmin
    1143 Posts

    Re: OS couldn't allocate first resident segment at SHMBASE...

    ‏2013-02-04T07:40:33Z  
    Hi Andreas,

    it seems to be no way to get it on running. What ever I do, I get the message : "Fatal error in shared memoryi initialization". Do you have any other idea how to fix it!?
    Thx in advance

    Mirsad
    Pozdrav Mirsad :)
    Can you attach here this stuff:
    onconfig, sqlhosts, environment (variables), ls -l $INFORMIXDIR/bin, ipcs, /etc/sqlhosts
    Regards,
    Hrvoje