Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    AIK: error creating Oracle user: "awk: insufficient memory for string storage"

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    The AIK is reporting errors when I try to create the Oracle User and DBA Group in the AIK, step 2-4. I have tried to do this using usernames oracle11 and oracle1, without success. Here is the error reported:

    Create oracle user and dba group as root user

    awk: insufficient memory for string storage Context is:
    >>> <<<
    awk: insufficient memory for string storage Context is:
    >>> <<<

    The group dba already exist.

    The user oracle already exist.
    awk: insufficient memory for string storage Context is:
    >>> <<<
    awk: insufficient memory for string storage Context is:
    >>> <<<
    Insert the alternative name instead oracle user (must be up to 8 characters alphanumerics lowercase) :oracle11

    The user oracle11 will be created with same uid as user
    add_user.sh: line 51: [: : integer expression expected
    add_user.sh: line 60: [: : integer expression expected
    Creating the oracle11 user : UX: /usr/sbin/useradd: ERROR: -o is not a valid user id. Choose another.

    Info:Failed to create oracle11 user
    Error: failed to create oracle user and dba group as root user

    Resolution:
    There were two versions of awk on this server, and the one that was being invoked by the script was the problem.

    I removed the PATH statement from the ikit_2_4 script:

    PATH=/usr/xpg4/bin:$PATH

    Site confirms that the other version worked correctly.


    • Article last edited: 10/8/2013