Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    21

    Red face Unanswered: cant allocate memory: ASE 12.5.2 on Solaris 8

    hoping you can lend me a hand here. I can't for the life of me can't get Sybase ASE to install on soalris 8. Below are log excerpts. I've been getting this error everytime. i tried reinstalling about a billion times.

    my shared emmeory is set to 131072000
    total mem on machine is 1 GB
    I have done:

    -I installed just the ASE component. Did not configure it - chose the defaults.
    -I set all the required sybase env variables in .profile script

    [root@hostname /]$ uname -a
    SunOS hostname 5.9 Generic_118558-11 sun4u sparc SUNW,Ultra-80

    -----------------------------------------------------------------------------

    /opt/sybase/ASE-12_5/init/logs/

    00:00000:00000:2006/02/21 16:24:27.40 kernel Warning: A configuration file was not specified and the default file '/opt/sy
    base/HOSTNAME.cfg' does not exist. SQL Server creates the default file with the default configuration.
    00:00000:00000:2006/02/21 16:24:27.43 kernel Warning: Using default file '/opt/sybase/HOSTNAME.cfg' since a configuration
    file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
    00:00000:00000:2006/02/21 16:24:27.49 kernel os_create_region: can't allocate 49168384 bytes
    00:00000:00000:2006/02/21 16:24:27.49 kernel kbcreate: couldn't create kernel region.
    00:00000:00000:2006/02/21 16:24:27.49 kernel kistartup: could not create shared memory
    Tue Feb 21 16:24:27 2006: Buildmaster return code: 0.

    /opt/sybase/ASE-12_5/install/HOSTNAME.log

    00:00000:00000:2006/02/21 16:24:27.40 kernel Warning: A configuration file was not specified and the default file '/opt/sy
    base/HOSTNAME.cfg' does not exist. SQL Server creates the default file with the default configuration.
    00:00000:00000:2006/02/21 16:24:27.43 kernel Warning: Using default file '/opt/sybase/HOSTNAME.cfg' since a configuration
    file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
    00:00000:00000:2006/02/21 16:24:27.49 kernel os_create_region: can't allocate 49168384 bytes
    00:00000:00000:2006/02/21 16:24:27.49 kernel kbcreate: couldn't create kernel region.
    00:00000:00000:2006/02/21 16:24:27.49 kernel kistartup: could not create shared memory
    00:00000:00000:2006/02/21 16:24:27.62 kernel Checked out license ASE_DEV
    00:00000:00000:2006/02/21 16:24:27.62 kernel Adaptive Server Enterprise Developer Edition.
    00:00000:00000:2006/02/21 16:24:27.62 kernel The configuration area in device '/opt/sybase/data/master.dat' appears to be
    corrupt. The server needs this data to boot, and so cannot continue. The server will shut down.

    -----

    thanks for any help!!

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    dude,

    I would have asked others after the 2nd or third failure. You have a lot of patience to try it out a billion times

    There are 2 issues here;
    1. Check your SHM_MAX
    sysdef - i | grep SHM_MAX
    This should be set to > 1GB, if you want Sybase to take up 1GB.

    Also the SHMSEG shouldn't be too high. I think 6 is the default. Solaris intimate SHM doesn't behave nicely when you try to attach too many segments.

    2. The corrupt master config block. I hope this is some Sybase bug that puts in wrong message because of the Issue 1. I cannot imagine, how a brand new master.dat config block can get corrupt straight-away. What I think the ASE configuration never got a chance to complete due to Issue 1 and hence is reported corrupt.

  3. #3
    Join Date
    Feb 2006
    Posts
    21
    thx for reply!
    ---------------------------

    from /etc/system :
    set shmsys:shminfo_shmmax=131072000

    $ sysdef - i | grep SHM_MAX
    namelist error on <rlimits>

    ---------------------------

    chuck

  4. #4
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    Your SHMMAX is not even close to a GB.

    Before you bump it up, ensure that real mem from prtdiag or top shows that you have at least 1GB. If you don't, you need to create a swap file.

    Sybase ASE doesn't take too kind when it is swapping I/O from page file.

  5. #5
    Join Date
    Feb 2006
    Posts
    21
    ok, resolved..thx for replies

    i was installing sybase into a virtual OS - and my changes to /etc/system file were in the virtual OS filesystem, and not in that of the underlying OS

Posting Permissions

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