Informix Error -369
-369 Invalid serial number. Consult your installation instructions.
Some error has been made in the installation of your IBM Informix products. Check the value in the SQLEXEC environment variable (for database server versions prior to 6.0) and INFORMIXDIR environment variable; then consult the person who installed the software, and review the installation instructions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-369 is a licensing/installation-level error rather than a query-writing mistake: it stems from
an installation issue with the Informix product itself, most commonly a misconfigured SQLEXEC
(on versions prior to 6.0) or INFORMIXDIR environment variable pointing at an installation with
an invalid or mismatched serial number.
INFORMIXDIRpointing to an installation whose serial number doesn't match what's expected for the running components.- On pre-6.0 versions,
SQLEXECpointing to a mismatched installation, similarly to-368's version-mismatch scenario but specifically tied to serial-number/licensing validation instead of library-version compatibility. - An incomplete or corrupted product installation, where licensing information wasn't properly registered during setup.
- Environment variables left over from a previous installation, pointing at stale or uninstalled software.
Solutions / Resolution
- Verify the
INFORMIXDIRenvironment variable points to the correct, currently-licensed installation, per the official guidance. - On versions prior to 6.0, also verify
SQLEXECpoints to a compatible installation. - Consult the software installer and installation documentation for the specific product version in use, per the official guidance, rather than attempting to work around this at the application level.
- If the installation is confirmed incomplete or corrupted, reinstall following the official installation instructions.
Examples
Checking environment variables before consulting installation docs
echo $INFORMIXDIR
echo $SQLEXEC
-- confirm both point to the correct, currently-licensed
-- installation for the version in use
Diagnostic Checks
- Check
INFORMIXDIRfor correctness. - On pre-6.0 versions, check
SQLEXECas well. - Consult the installation documentation and installer for the product version in use if the environment variables look correct but the error persists.
Related Errors / Related Topics
- -368 — "Incompatible sqlexec module." A related environment/installation-configuration error, about client/server version linkage rather than serial-number/licensing validation.
This is a licensing/installation-configuration issue, not a SQL problem — check environment variables first, then consult the installer and installation documentation for the specific product version.