Informix Error -32166: RSAM could not be found or executed by the current user.
Cause and resolution
RSAM could not be found or executed by the current user.
Check $INFORMIXDIR, $SQLEXEC settings. Ensure that you are in the group ix_users, ix_dbsa, or ix_dbsso. Check that the ISAM executable in $INFORMIXDIR/lib is executable by your session.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32166 fires when the current user can't find or execute RSAM (the ISAM component) — per the official guidance.
$INFORMIXDIR/$SQLEXECmisconfigured, per the official guidance — the first named case.- The current user isn't in the
ix_users,ix_dbsa, orix_dbssogroup, per the official guidance — the second named case. - The ISAM executable in
$INFORMIXDIR/libisn't executable by the current session, per the official guidance — the third named case.
Solutions / Resolution
- Check
$INFORMIXDIR/$SQLEXECsettings, per the official guidance. - Ensure the current user is a member of
ix_users,ix_dbsa, orix_dbsso, per the official guidance. - Check that the ISAM executable in
$INFORMIXDIR/libis executable by the session, per the official guidance.
Examples
Checking the ISAM executable's permissions
$ ls -l $INFORMIXDIR/lib/*isam*
$ groups
Diagnostic Checks
- Check
$INFORMIXDIR/$SQLEXEC, group membership, and the ISAM executable's permission bits.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -32166 in this set yet.
RSAM couldn't be found or executed — check $INFORMIXDIR/$SQLEXEC, group membership,
and the ISAM executable's permissions.