Thread View: news.software.nntp
4 messages
4 total messages
Started by John F. Morse
Thu, 07 Jun 2012 17:17
Cron, Perl and Pullnews
Author: John F. Morse
Date: Thu, 07 Jun 2012 17:17
Date: Thu, 07 Jun 2012 17:17
126 lines
6141 bytes
6141 bytes
Received five Cron e-mail messages this morning concerning Pullnews. All have the following Subject: Cron <news@n102> pullnews -c ~/.pullnews -p 119 -Q1 -O -M 600 -S 1200 -l /var/log/news/pullnews.log The text of the first two e-mail messages (at 07:17 and 07:48) is: Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 674. Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 657. Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 674. Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 657. Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 674. Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 657. Use of uninitialized value $code in substr at /usr/share/perl/5.10/Net/Cmd.pm line 366. Argument "" isn't numeric in numeric eq (==) at /usr/share/perl/5.10/Net/NNTP.pm line 672. The next two e-mail messages (at 08:14 and 08:52) contained the last five line pairs, and the final e-mail (at 09:17) had only the last line pair above. These started at 07:17 and the last message was at 09:17. Nothing else seems odd (articles were fetched and posted without problems). This is the first time I've seen these failures, and nothing has changed on this server in over a week. The logs show no clues, but here is all that might be apropos: The news.notice log: Jun 7 07:10:01 n102 innd: localhost connected 187 Jun 7 07:10:01 n102 innd: localhost:187 checkpoint seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0 rejected size 0 Jun 7 07:10:01 n102 innd: localhost:187 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0 rejected size 0 Jun 7 07:10:01 n102 innd: localhost connected 187 streaming allowed ... Jun 7 07:17:52 n102 innd: localhost:187 checkpoint seconds 471 accepted 1 refused 0 rejected 0 duplicate 0 accepted size 186842 duplicate size 0 rejected size 0 Jun 7 07:17:52 n102 innd: localhost:187 closed seconds 471 accepted 1 refused 0 rejected 0 duplicate 0 accepted size 186842 duplicate size 0 rejected size 0 ... Jun 7 09:17:19 n102 innd: localhost:76 checkpoint seconds 438 accepted 1 refused 0 rejected 0 duplicate 0 accepted size 313786 duplicate size 0 rejected size 0 Jun 7 09:17:19 n102 innd: localhost:76 closed seconds 438 accepted 1 refused 0 rejected 0 duplicate 0 accepted size 313786 duplicate size 0 rejected size 0 The news log: Jun 7 07:11:44.522 + localhost <4b51t7hm4n5rarjakb9rru7f3nlc4a6bat@4ax.com> 186842 optima5 inpaths! Jun 7 07:48:59.518 + localhost <eg51t7h288cppo9jlgub5s1lrecc1aplq6@4ax.com> 204963 optima5 inpaths! Jun 7 08:52:04.582 + localhost <ef51t75ibmslt9hj7glje8l889agg4j1kg@4ax.com> 201898 optima5 inpaths! Jun 7 09:10:51.893 + localhost <qc51t7plsir56t76s1gb4k70opg3kr0tfv@4ax.com> 313786 optima5 inpaths! The syslog: Jun 7 07:17:01 n102 /USR/SBIN/CRON[4591]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 7 08:17:01 n102 /USR/SBIN/CRON[5542]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 7 09:17:01 n102 /USR/SBIN/CRON[6470]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 7 10:17:01 n102 /USR/SBIN/CRON[7417]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 7 11:17:01 n102 /USR/SBIN/CRON[8416]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) The /etc/cron.d/inn2 file: 10,40 * * * * news pullnews -c ~/.pullnews -p 119 -Q1 -O -M 600 -S 1200 -l /var/log/news/pullnews.log Guessing from the logged times, the failures are not happening at the cron.d time when Pullnews is run, which would seem to take suspicion away from Pullnews. However, the times of the second and fourth e-mail message are the same as the third and fourth times in the news log (07:48 and 08:52). Pullnews: # RCSId: $Id: pullnews.in 8960 2010-02-08 20:54:10Z iulius $ Perl: *** 5.10.1-17squeeze3 0 Debian version: 6.0.4 "Squeeze" Linux n102 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux INN: INN 2.5.2 Compiled (not an APT package): Not a known ongoing problem, but interesting. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Cron, Perl and Pullnews
Author: Julien ÉLIE
Date: Thu, 07 Jun 2012 21:48
Date: Thu, 07 Jun 2012 21:48
25 lines
2220 bytes
2220 bytes
Hi John,
> Use of uninitialized value $code in substr at
> /usr/share/perl/5.10/Net/Cmd.pm line 366.
> Argument "" isn't numeric in numeric eq (==) at
> /usr/share/perl/5.10/Net/NNTP.pm line 674.
>
> Pullnews: # RCSId: $Id: pullnews.in 8960 2010-02-08 20:54:10Z iulius $
> Perl: *** 5.10.1-17squeeze3 0
> Debian version: 6.0.4 "Squeeze"
> Linux n102 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686
> GNU/Linux
> INN: INN 2.5.2 Compiled (not an APT package):
>
> Not a known ongoing problem, but interesting.
It seems to be a known issue in the perl-modules package:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310417
--
Julien ÉLIE
« Quoi qu'elle fasse, la femme doit le faire deux fois mieux que
l'homme pour qu'on en pense autant de bien. Heureusement, ce n'est pas
difficile. » (Charlotte Whitton)
Re: Cron, Perl and Pullnews
Author: John F. Morse
Date: Fri, 08 Jun 2012 04:12
Date: Fri, 08 Jun 2012 04:12
31 lines
2198 bytes
2198 bytes
Julien ÉLIE wrote: > Hi John, > >> Use of uninitialized value $code in substr at >> /usr/share/perl/5.10/Net/Cmd.pm line 366. >> Argument "" isn't numeric in numeric eq (==) at >> /usr/share/perl/5.10/Net/NNTP.pm line 674. >> >> Pullnews: # RCSId: $Id: pullnews.in 8960 2010-02-08 20:54:10Z iulius $ >> Perl: *** 5.10.1-17squeeze3 0 >> Debian version: 6.0.4 "Squeeze" >> Linux n102 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 >> GNU/Linux >> INN: INN 2.5.2 Compiled (not an APT package): >> >> Not a known ongoing problem, but interesting. > > It seems to be a known issue in the perl-modules package: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310417 > Seven years (of bad luck). Thanks, Julien. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Cron, Perl and Pullnews
Author: Paul Tomblin
Date: Fri, 08 Jun 2012 13:46
Date: Fri, 08 Jun 2012 13:46
19 lines
1989 bytes
1989 bytes
In a previous article, dont.bother said: >Julien ÉLIE wrote: >> It seems to be a known issue in the perl-modules package: >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310417 >> > >Seven years (of bad luck). "Given enough eyeballs, all bugs are shallow" - Linus' Law "Given a choice between fixing a small bug that affects something deep down in the guts, or making some flashy ui change that nobody wants, most bug fixers will choose the flash" - Tomblin's Law. -- Paul Tomblin <ptomblin@xcski.com> http://blog.xcski.com/ I'm a person who can't understand why everyone in the entire nation doesn't look up, realise that George W Bush is their president, and not immediately throw up in their mouths. Shows what I know. - Harry Teasley
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads