Informix Error -43039: The ON-Bar log file must be owned by user informix.
Cause and resolution
The ON-Bar log file must be owned by user informix.
The log file that ON-Bar is attempting to open is owned by a user other than user informix.
Change the ownership of the log file to user informix, or change the BAR_ACT_LOG and/or BAR_DEBUG_LOG values in the ONCONFIG file to point to different log files.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-43039 fires when the ON-Bar log file ON-Bar is trying to open is owned by a user other
than informix — per the official guidance.
- The configured
BAR_ACT_LOG/BAR_DEBUG_LOGfile not owned byinformix, per the official guidance — the direct, only cause.
Solutions / Resolution
- Change the log file's ownership to
informix, per the official guidance, or - Change
BAR_ACT_LOG/BAR_DEBUG_LOGinONCONFIGto point to a different log file, per the official guidance.
Examples
Fixing log-file ownership
$ chown informix:informix $INFORMIXDIR/bar_act.log
Diagnostic Checks
- Check the configured log file's ownership, and
chownit toinformixor repoint theONCONFIGparameter.
Related Errors / Related Topics
- -43038 — "The ON-Bar log file cannot be a symbolic link." A related ON-Bar log-file restriction, on symbolic-link status rather than ownership.
The ON-Bar log file isn't owned by informix — fix ownership or repoint the ONCONFIG
parameter.