Amanda-Users

Re: [OT] cron.d entries for Amanda

2004-11-16 08:41:57
Subject: Re: [OT] cron.d entries for Amanda
From: "Gavin Henry" <ghenry AT suretecsystems DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 16 Nov 2004 12:48:41 -0000 (GMT)
Dave Ewart said:
> -----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)

I'm sure I checked that. Back on site tonight, so will check again.

Gavin.


>
> 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-----
>


<Prev in Thread] Current Thread [Next in Thread>