Re: [OT] cron.d entries for Amanda
2004-11-16 07:37:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, 16.11.2004 at 12:13 +0000, Gavin Henry wrote:
> Dear guys,
>
> THis simple error is doing my head in, so I'm going to ask and risk
> looking like a fool, but anyway...
>
> We normally install our Amanda crons in /etc/cron.d/suretec on client
> servers (we are using amanda and custom scripts to backup
> http://www.eems.co.uk - a very high profile 2 x SUSE Ent 8 servers).
>
> I keep getting e-mails from crond with errors, e.g.
>
>
> /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7 -exec
> rm{}\;:
> No such file or directory
>
> AND
>
> /bin/sh: line 1: /opt/suretec/sbin/amcheck -m learnit-dbserv-db-warm: No
> such file
> or directory
>
>
> My cron.d entries look like:
>
> 0 3 * * 1-5 amanda /opt/suretec/sbin/amcheck -m blah.blah
>
>
> I'm pretty so amcheck is in her path and anyway, I have defined the
> absolute path, also cron.d entries can take arguments.
>
>
> What stupid typo have I made.
>
> P.S> I know this makes me look quite unprofessional, but I'm sure we've
> all hit some kind of stupid brick wall. "Can't see for looking", as the
> saying goes here in Scotland.
Do you actually have 'find' where you say it is? (/usr/bin/find)
Dave.
- --
Dave Ewart
Dave.Ewart AT cancer.org DOT uk
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBmfOwbpQs/WlN43ARArLHAJ0YeVw0iT2IZ/l5MbmMn8IHwcG/UwCgkA++
13NEeJ9B/hWE4NPPZ0KiMQ0=
=uRnG
-----END PGP SIGNATURE-----
|
|
|