OES2018: File or directory not found

Hi,

in /var/log/messages I get an error:
logrotate is missing the file
/var/log/novell-oes-cred-store/novell-oes-cred-store.log

My system does not contain this file. Is this an misconfiguration in
logrotate or in oescredstore?

Bernd
Parents
  • On 28/08/18 07:43, nntp-user wrote:

    > in /var/log/messages I get an error:
    > logrotate is missing the file
    > /var/log/novell-oes-cred-store/novell-oes-cred-store.log


    This will be due to the presence of
    /etc/logrotate.d/novell-oes-cred-store which is installed by the
    novell-oes-cred-store package.

    > My system does not contain this file. Is this an misconfiguration in
    > logrotate or in oescredstore?


    By default this file doesn't exist and OES Credential Store (OCS) is
    configured to only log errors - see
    /etc/opt/novell/oescredstore/oescredstore.conf.

    What you could (and perhaps Micro Focus should) do is add "missingok"
    for /var/log/novell-oes-cred-store/novell-oes-cred-store.log to
    /etc/logrotate.d/novell-oes-cred-store so it stops complaining.

    HTH.
    --
    Simon
    Micro Focus Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------
Reply
  • On 28/08/18 07:43, nntp-user wrote:

    > in /var/log/messages I get an error:
    > logrotate is missing the file
    > /var/log/novell-oes-cred-store/novell-oes-cred-store.log


    This will be due to the presence of
    /etc/logrotate.d/novell-oes-cred-store which is installed by the
    novell-oes-cred-store package.

    > My system does not contain this file. Is this an misconfiguration in
    > logrotate or in oescredstore?


    By default this file doesn't exist and OES Credential Store (OCS) is
    configured to only log errors - see
    /etc/opt/novell/oescredstore/oescredstore.conf.

    What you could (and perhaps Micro Focus should) do is add "missingok"
    for /var/log/novell-oes-cred-store/novell-oes-cred-store.log to
    /etc/logrotate.d/novell-oes-cred-store so it stops complaining.

    HTH.
    --
    Simon
    Micro Focus Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------
Children
  • Am 28.08.2018 um 13:18 schrieb Simon Flood:
    > What you could (and perhaps Micro Focus should) do is add "missingok"
    > for /var/log/novell-oes-cred-store/novell-oes-cred-store.log to
    > /etc/logrotate.d/novell-oes-cred-store so it stops complaining.


    Thx, done
  • What you could (and perhaps Micro Focus should) do is add "missingok"
    for /var/log/novell-oes-cred-store/novell-oes-cred-store.log to
    /etc/logrotate.d/novell-oes-cred-store so it stops complaining.

    interesting that all of the OES2018.1 boxes I've checked have that missingok in that logrotate file.  So perhaps that has been patched along the way since you posted this.

    But it is missing from the /etc/logrotate.d/novell-nit causing similar errors on the systems that don't have nss volumes (i.e. without novell-nit installed/running)   Added 'missingok' in those cases I've found so far.