Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Knowledge Articles
    4. KEY: errno 22 Reattaching shared memory

    KEY: errno 22 Reattaching shared memory

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Voyager
    • Product Version: 7.0.2

    Description:
    Bug Report Form for Issue 16384-8609
    Module(s): keysvr
    Server platform(s) affected: Solaris
    PC OS (if applicable): N/A
    Browser & version (if applicable): N/A

    Release(s) replicated in: 7.1.0
    Last version without bug (if applicable): N/A

    Expected results:
    Keysvr should not fail to reattach to an already allocated shared memory segment

    Actual results:
    Keysvr logs the following error in log.voyager:
    keysvr[23752] - ERROR - Tue Sep 29 03:00:07 2009
    - sharedmemory::ReAttach - sharedmemory.cpp[220]
    shmmat failure for shid = 67108897 - dir "/m1/voyager/unadb/data" code = 0 errno = 22

    Notes:
    Errno 22 == EINVAL. One of the conditions that causes this is attempting to do a shmat() to a shared memory segment that was attached using SHM_SHARE_MMU, without specifying the same flag in the subsequent call. The code in question appears to behave this way on Solaris, as the initial attach is conditionally compiled to use this flag under Solaris, however the reattachment code does not specify this flag. The code is broken by inspection.

    Workflow implications: Causes customers to worry because of the error.

    Replication steps: Unknown, but can see evidence of this having occurred multiple times on customer as well as internal servers

    Resolution:


    • Article last edited: 3/24/2015
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Jobs in GDC queue never start
      • KEYSVR:not retrieving all results in large data sets
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Voyager
    2. Tags
      1. 7.0.2
      2. contype:kba
      3. Prod:Voyager
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved