Results 1 to 3 of 3

Thread: Cleanup of temp directories failed

  1. #1

    Default Cleanup of temp directories failed

    opensuse 42.1

    While reviewing the system logs, I saw the entries below. The failure point is the missing </usr/lib/tmpfiles.d/nrpe.conf> file. It was an application I reviewed then removed. Apparently the app has left behind an entry somewhere else that cleanup is using.

    Does anyone know where the tmpfile cleanup list is?

    Code:
    2016-11-08T09:50:03.393487-07:00 sma-server3 systemd[1]: Starting Cleanup of Temporary Directories...
    2016-11-08T09:50:03.504426-07:00 sma-server3 systemd-tmpfiles[7927]: [/usr/lib/tmpfiles.d/nrpe.conf:2] Unknown user 'nagios'.
    2016-11-08T09:50:03.630759-07:00 sma-server3 systemd[1]: systemd-tmpfiles-clean.service: main process exited, code=exited, status=1/FAILURE
    2016-11-08T09:50:03.631496-07:00 sma-server3 systemd[1]: Failed to start Cleanup of Temporary Directories.
    2016-11-08T09:50:03.632034-07:00 sma-server3 systemd[1]: Unit systemd-tmpfiles-clean.service entered failed state.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,806
    Blog Entries
    1

    Default Re: Cleanup of temp directories failed

    Am guessing that the permissions set on the problem file specify only the user "nagios" has permissions to remove.

    Recommend...
    - Verify the file "/usr/lib/tmpfiles.d/nrpe.conf" exists.
    - If the file exists, then remove it from within a root console
    Code:
    rm /usr/lib/tmpfiles.d/nrpe.conf
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: Cleanup of temp directories failed

    Am guessing that the permissions set on the problem file specify only the user "nagios" has permissions to remove.
    Argh. I was searching the directory on the wrong host. When getting the directory listing for the host that actually generated the error, there was the <nrpe.conf> file. Removing it cleared the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •