Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jacob Salomon's bug-fix copy of oninit died at startup claiming the log staging directory was not secure, though directory permissions looked right. Scot Jenkins suggested checking every directory in the path; Andreas Legner asked for a listing of the oninit binary. The binary was owned by informix:informix instead of root:informix; fixing ownership solved it.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Jacob Salomon — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi Y'all.
Interesting (i.e.. frustrating as all blazes) problem I have trying to start up on a bug-fix copy of oninit. I start up oninit and it dies right away with the error message:
Secondary Delay or Stop Apply: The log staging directory (/usr/informix/<
subdir
>log_staging_dir) is not secure.
Really? My directory listing says otherwise:
drwxrwx--- 5 informix informix 5 Oct 28 2021 /informix/IDS-14.10.FC8D3/<
subdir
>/log_staging_dir
Looks as secure as the same directory in for a previous release. And so do all if its subdirectories, none of which have been touched since 2021 or earlier.
Now I did google this problem and found
a solution that is meaningless in my context
. It suggests:
Manually altering the group on the log staging directory to the group that owns
$INFORMIXDIR/etc
and restarting the RSS server fixes the problem.
$INFORMIXDIR/etc also owned by [informix:informix] and, as you can see, gives no permission to anyone outside user and group informix. And there is no active RSS on this box.
Before I open a tedious ticket with HCL, has anyone see this and solved it? How?!
Thank much for help here.
-- Jacob S
------------------------------
Jacob Salomon
------------------------------
↪ replying to Jacob Salomon
Scot Jenkins — source: IBM Community (ConnectedCommunity.org) Informix forum
Jacob,
Check the permissions of _all_ directories in the path to the directory
that it is complaining about, starting from '/' (root directory) on down.
Maybe one of those is bad?
scot
↪ replying to Jacob Salomon
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
Can we see "ls -l $INFORMIXDIR/bin/oninit*" ?
Also: "which <name_of_your_oninit_binary>".
------------------------------
Andreas Legner
Informix Dev
HCL Software
------------------------------
↪ replying to Scot Jenkins
Jacob Salomon — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi Scott.
That was indeed the problem: the oninit binary was owned by informix:informix with correct permission settings: 6754. So I initially overlooked ownership.
Was supposed to root:informix. As soon as I noticed that & fixed it, it came up just fine.
Thanks for the alert on that one.
------------------------------
Jacob Salomon
---
Nobody goes there anymore, it's too crowded. --Attr: Yogi Berra
------------------------------
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.