You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Chris Lambertus <cm...@apache.org> on 2020/09/29 15:31:01 UTC

Fwd: Cron test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

cron error from sa-vm1


> Begin forwarded message:
> 
> From: root@sa-vm1.apache.org (Cron Daemon)
> Subject: Cron <ro...@sa-vm1> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
> Date: September 28, 2020 at 11:25:26 PM PDT
> To: root@sa-vm1.apache.org
> 
> /etc/cron.daily/checkDNShosting:
> Usage: dns_compare [options]
> 
> dns_compare: error: -s option requires an argument
> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> cat: '/tmp/;': No such file or directory
> cat: '(2': No such file or directory
> cat: servers: No such file or directory
> cat: 'found).out': No such file or directory
> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> cat: '/tmp/;;': No such file or directory
> cat: connection: No such file or directory
> cat: timed: No such file or directory
> cat: 'out;': No such file or directory
> cat: no: No such file or directory
> cat: servers: No such file or directory
> cat: could: No such file or directory
> cat: be: No such file or directory
> cat: reached.out: No such file or directory
> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> cat: '/tmp/;': No such file or directory
> cat: '<<>>': No such file or directory
> cat: dig: No such file or directory
> cat: 9.10.3-p4-ubuntu: No such file or directory
> cat: '<<>>': No such file or directory
> cat: @localhost: No such file or directory
> cat: spamassassin.org: No such file or directory
> cat: ns: No such file or directory
> cat: +short.out: No such file or directory
> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> cat: '/tmp/;;': No such file or directory
> cat: global: No such file or directory
> cat: 'options:': No such file or directory
> cat: +cmd.out: No such file or directory


Re: Cron test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

Posted by "Kevin A. McGrail" <km...@apache.org>.
David Jones is the most familiar with it.
--
Kevin A. McGrail
Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171


On Tue, Sep 29, 2020 at 1:07 PM Bill Cole <
sa-bugz-20080315@billmail.scconsult.com> wrote:

> This looks like the checkDNShosting script merging stdout and stdin
> somewhere and/or misparsing 'dig' output.
>
> Who is most familiar with that script?
>
>
> Forwarded message:
>
> > From: Chris Lambertus <cm...@apache.org>
> > To: dev@spamassassin.apache.org
> > Cc: Apache root@ <ro...@apache.org>
> > Subject: Fwd: Cron <ro...@sa-vm1> test -x /usr/sbin/anacron || ( cd /
> > && run-parts --report /etc/cron.daily )
> > Date: Tue, 29 Sep 2020 08:31:01 -0700
> >
> > cron error from sa-vm1
> >
> >
> >> Begin forwarded message:
> >>
> >> From: root@sa-vm1.apache.org (Cron Daemon)
> >> Subject: Cron <ro...@sa-vm1> test -x /usr/sbin/anacron || ( cd / &&
> >> run-parts --report /etc/cron.daily )
> >> Date: September 28, 2020 at 11:25:26 PM PDT
> >> To: root@sa-vm1.apache.org
> >>
> >> /etc/cron.daily/checkDNShosting:
> >> Usage: dns_compare [options]
> >>
> >> dns_compare: error: -s option requires an argument
> >> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> >> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> >> cat: '/tmp/;': No such file or directory
> >> cat: '(2': No such file or directory
> >> cat: servers: No such file or directory
> >> cat: 'found).out': No such file or directory
> >> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> >> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> >> cat: '/tmp/;;': No such file or directory
> >> cat: connection: No such file or directory
> >> cat: timed: No such file or directory
> >> cat: 'out;': No such file or directory
> >> cat: no: No such file or directory
> >> cat: servers: No such file or directory
> >> cat: could: No such file or directory
> >> cat: be: No such file or directory
> >> cat: reached.out: No such file or directory
> >> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> >> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> >> cat: '/tmp/;': No such file or directory
> >> cat: '<<>>': No such file or directory
> >> cat: dig: No such file or directory
> >> cat: 9.10.3-p4-ubuntu: No such file or directory
> >> cat: '<<>>': No such file or directory
> >> cat: @localhost: No such file or directory
> >> cat: spamassassin.org: No such file or directory
> >> cat: ns: No such file or directory
> >> cat: +short.out: No such file or directory
> >> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
> >> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
> >> cat: '/tmp/;;': No such file or directory
> >> cat: global: No such file or directory
> >> cat: 'options:': No such file or directory
> >> cat: +cmd.out: No such file or directory
>

Fwd: Cron test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

Posted by Bill Cole <sa...@billmail.scconsult.com>.
This looks like the checkDNShosting script merging stdout and stdin 
somewhere and/or misparsing 'dig' output.

Who is most familiar with that script?


Forwarded message:

> From: Chris Lambertus <cm...@apache.org>
> To: dev@spamassassin.apache.org
> Cc: Apache root@ <ro...@apache.org>
> Subject: Fwd: Cron <ro...@sa-vm1> test -x /usr/sbin/anacron || ( cd / 
> && run-parts --report /etc/cron.daily )
> Date: Tue, 29 Sep 2020 08:31:01 -0700
>
> cron error from sa-vm1
>
>
>> Begin forwarded message:
>>
>> From: root@sa-vm1.apache.org (Cron Daemon)
>> Subject: Cron <ro...@sa-vm1> test -x /usr/sbin/anacron || ( cd / && 
>> run-parts --report /etc/cron.daily )
>> Date: September 28, 2020 at 11:25:26 PM PDT
>> To: root@sa-vm1.apache.org
>>
>> /etc/cron.daily/checkDNShosting:
>> Usage: dns_compare [options]
>>
>> dns_compare: error: -s option requires an argument
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;': No such file or directory
>> cat: '(2': No such file or directory
>> cat: servers: No such file or directory
>> cat: 'found).out': No such file or directory
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;;': No such file or directory
>> cat: connection: No such file or directory
>> cat: timed: No such file or directory
>> cat: 'out;': No such file or directory
>> cat: no: No such file or directory
>> cat: servers: No such file or directory
>> cat: could: No such file or directory
>> cat: be: No such file or directory
>> cat: reached.out: No such file or directory
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;': No such file or directory
>> cat: '<<>>': No such file or directory
>> cat: dig: No such file or directory
>> cat: 9.10.3-p4-ubuntu: No such file or directory
>> cat: '<<>>': No such file or directory
>> cat: @localhost: No such file or directory
>> cat: spamassassin.org: No such file or directory
>> cat: ns: No such file or directory
>> cat: +short.out: No such file or directory
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;;': No such file or directory
>> cat: global: No such file or directory
>> cat: 'options:': No such file or directory
>> cat: +cmd.out: No such file or directory

Re: Fwd: Cron test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

Posted by "Kevin A. McGrail" <km...@apache.org>.
Thanks Chris.  I think this was an old box Henrik was working to
deprecate.  I thought it was turned off.

Henrik, do you remember?

On 9/29/2020 11:31 AM, Chris Lambertus wrote:
> cron error from sa-vm1
>
>
>> Begin forwarded message:
>>
>> *From: *root@sa-vm1.apache.org <ma...@sa-vm1.apache.org> (Cron
>> Daemon)
>> *Subject: **Cron <ro...@sa-vm1> test -x /usr/sbin/anacron || ( cd / &&
>> run-parts --report /etc/cron.daily )*
>> *Date: *September 28, 2020 at 11:25:26 PM PDT
>> *To: *root@sa-vm1.apache.org <ma...@sa-vm1.apache.org>
>>
>> /etc/cron.daily/checkDNShosting:
>> Usage: dns_compare [options]
>>
>> dns_compare: error: -s option requires an argument
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;': No such file or directory
>> cat: '(2': No such file or directory
>> cat: servers: No such file or directory
>> cat: 'found).out': No such file or directory
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;;': No such file or directory
>> cat: connection: No such file or directory
>> cat: timed: No such file or directory
>> cat: 'out;': No such file or directory
>> cat: no: No such file or directory
>> cat: servers: No such file or directory
>> cat: could: No such file or directory
>> cat: be: No such file or directory
>> cat: reached.out: No such file or directory
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;': No such file or directory
>> cat: '<<>>': No such file or directory
>> cat: dig: No such file or directory
>> cat: 9.10.3-p4-ubuntu: No such file or directory
>> cat: '<<>>': No such file or directory
>> cat: @localhost: No such file or directory
>> cat: spamassassin.org <http://spamassassin.org>: No such file or
>> directory
>> cat: ns: No such file or directory
>> cat: +short.out: No such file or directory
>> /etc/cron.daily/checkDNShosting: line 25: $XFR: ambiguous redirect
>> /etc/cron.daily/checkDNShosting: line 26: $OUT: ambiguous redirect
>> cat: '/tmp/;;': No such file or directory
>> cat: global: No such file or directory
>> cat: 'options:': No such file or directory
>> cat: +cmd.out: No such file or directory
>
-- 
Kevin A. McGrail
KMcGrail@Apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171