You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sysadmins@spamassassin.apache.org by Bill Cole <sa...@billmail.scconsult.com> on 2020/09/29 17:07:08 UTC

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

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