Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] watcher_log_archive_cleanup in PS 3.4

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] watcher_log_archive_cleanup in PS 3.4


Chronological Thread 
  • From: Andreas Haupt <>
  • To: "" <>
  • Subject: [perfsonar-user] watcher_log_archive_cleanup in PS 3.4
  • Date: Tue, 18 Nov 2014 08:31:41 +0100
  • Organization: DESY

Dear all,

with PS 3.4 a cron job (cron-service_watcher) has been installed that
runs /opt/perfsonar_ps/toolkit/scripts/watcher_log_archive_cleanup every
night a 1:30. However this script tries to clean up a non-existent
directory:

---snip---
#!/bin/bash

STORE_LOCATION=/mnt/store/NPTools/debug
MAXIMUM_AGE=20

find $STORE_LOCATION -type f -mtime +$MAXIMUM_AGE -exec rm -f {} \;
---snap---

Does this $STORE_LOCATION exist on some installations? At least in our
setup ("yum install" from internet2 repos) it just produces a nightly
error mail from cron ...

"find: `/mnt/store/NPTools/debug': No such file or directory"

Cheers,
Andreas
--
| Andreas Haupt | E-Mail:

| DESY Zeuthen | WWW: http://www-zeuthen.desy.de/~ahaupt
| Platanenallee 6 | Phone: +49/33762/7-7359
| D-15738 Zeuthen | Fax: +49/33762/7-7216





Archive powered by MHonArc 2.6.16.

Top of Page