This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Robert, "I get errors (shown below) when I run scour manually." Do you get these errors when it is run from LDM's cron? How about when you do: ldmadmin scour Are any of the files or dirs not owned by LDM? Thank you, -Jeff ____________________________ _____________________ Jeff Weber address@hidden Unidata Support PH:303-497-8676 COMET Case Study Library FX:303-497-8690 University Corp for Atmospheric Research 3300 Mitchell Ln http://www.unidata.ucar.edu/staff/jweber Boulder,Co 80307-3000 ________________________________________ ______________________ On Mon, 13 Jan 2003, Unidata Support wrote: > > ------- Forwarded Message > > >To: <address@hidden> > >From: "Robert J. Ballentine" <address@hidden> > >Subject: Can't get scour to work > >Organization: UCAR/Unidata > >Keywords: 200301122055.h0CKtWx13572 > > I recently installed LDM Version 5.2 on a Pentium 4 running > Red Hat Linux 7.3. I notice that the scour command is not > doing anything. I get errors (shown below) when I run scour > manually. > Can you help me get it to work? > Thanks, > Bob Ballentine > ******************************Script to Run scour*********************** > Script started on Sun Jan 12 15:45:35 2003 > met-62.oswego.edu: 1 % cat scour.conf > # > # Configuration file for "scour" utility, to delete all files older than a > # specified number of days from specified directories and all their > # subdirectories. Scour should be invoked periodically by cron(8). > # > # Each line consists of a directory, a retention time (in days), and > # (optionally) a shell filename pattern for files to be deleted. If no > # filename pattern is specified, "*" representing all files not beginning > # with "." is assumed. > > # Directory Days-old Optional-filename-pattern > > ~ldm/data/gempak/model 7 > ~ldm/data/gempak/nwx 2 > ~ldm/data/gempak/upperair 7 > ~ldm/data/gempak/surface 7 > ~ldm/data/gempak/ship 7 > ~ldm/data/gempak/scd 2 > ~ldm/data/gempak/mos 2 > ~ldm/data/gempak/profiler 2 > ~ldm/data/gempak/nexrad 2 > ~ldm/data/gempak/nldn 1 > ~ldm/data/gempak/syn 1 > met-62.oswego.edu: 2 % cd ~/bin > met-62.oswego.edu: 3 % scour -v > Starting Up > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/model/* ( > 7 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/nwx/* ( > 2 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/upperair/* ( > 7 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/surface/* ( > 7 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/ship/* ( > 7 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/scd/* ( > 2 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/mos/* ( > 2 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/profiler/* ( > 2 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/nexrad/* ( > 2 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/nldn/* ( > 1 days old) > /home/ldm/bin/scour: dc: command not found > find: invalid argument `+' to `-mtime' > /home/ldm/bin/scour: bc: command not found > blocks from /var/data/ldm/gempak/syn/* ( > 1 days old) > exiting ... > met-62.oswego.edu: 4 % exit > > Script done on Sun Jan 12 15:46:04 2003 > > > ------- End of Forwarded Message > >