Informix

Informix

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
  • 1.  Oninit engine won't start: log staging directory is not secure

    Posted 8 days ago

    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
    ------------------------------


  • 2.  RE: Oninit engine won't start: log staging directory is not secure

    Posted 8 days ago

    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




  • 3.  RE: Oninit engine won't start: log staging directory is not secure

    Posted 7 days ago

    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
    ------------------------------



  • 4.  RE: Oninit engine won't start: log staging directory is not secure

    Posted 8 days ago

    Can we see "ls -l $INFORMIXDIR/bin/oninit*" ?

    Also:  "which <name_of_your_oninit_binary>".



    ------------------------------
    Andreas Legner
    Informix Dev
    HCL Software
    ------------------------------