IBM Support

User gets error -951 when connecting to the database server on Linux, HP-UX or Solaris

Troubleshooting


Problem

All users get error "Get Shadow password for user [username]" when connecting to database server running on Linux, HP-UX or Solaris

Cause

Resolving The Problem


PROBLEM

When you try to connect to the database server you get error -951, and any user that tries to connect to the database server gets the same error as well.

  • If the instance is up and you are trying to connect you will see the following error message:
      Get Shadow Password for user [informix] failed!
      Check for password aging/account lock-out.
      listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on the database server.
  • If you are initializing for the first time you will also see the following message
      Error building sysmaster database
The instance is initialized but the sysmaster database creation fails.


CAUSE

$INFORMIXDIR/bin/oninit has wrong permissions and/or attributes


SOLUTION

Assign $INFORMIXDIR/bin/oninit to user root and group informix, permissions 6754 by executing the following command as user root or user with root privileges

    chown root:informix $INFORMIXDIR/bin/oninit

    chmod 6754 $INFORMIXDIR/bin/oninit

    [{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"10.0;11.1;11.5;11.7;12.1","Edition":"","Line of Business":{"code":"","label":""}}]

    Document Information

    Modified date:
    16 June 2018

    UID

    swg21218436