Thread View: news.software.nntp
10 messages
10 total messages
Started by John F. Morse
Wed, 22 Apr 2009 05:46
New Server Won't Peer nor Log news.daily
Author: John F. Morse
Date: Wed, 22 Apr 2009 05:46
Date: Wed, 22 Apr 2009 05:46
369 lines
13838 bytes
13838 bytes
I have a new install of INN that will not peer. Nor will an existing
server peer when the new server is added to newsfeeds.
news@optima5:~$ rc.news start
Starting innd.
Scheduled start of /usr/lib/news/bin/innwatch.
news@optima5:~$ ctlinnd mode
ctlinnd: no innd.pid file; did server die?
ctlinnd: cannot send "mode" command (sendto failure): No such file or
directory
Then from:
news@optima5:/var/log$ tail -F -n 1000 syslog
Apr 21 22:38:54 optima5 innd: SERVER descriptors 1024
Apr 21 22:38:54 optima5 innd: SERVER outgoing 1011
Apr 21 22:38:54 optima5 innd: SERVER ccsetup control:14
Apr 21 22:38:54 optima5 innd: SERVER lcsetup localconn:16
Apr 21 22:38:54 optima5 innd: SERVER rcsetup remconn:3
Apr 21 22:38:54 optima5 innd: SERVER rcsetup remconn:4
Apr 21 22:38:54 optima5 innd: controlchan! spawned controlchan!:19:proc:7533
Apr 21 22:38:54 optima5 innd: innfeed! spawned innfeed!:20:proc:7534
Apr 21 22:38:54 optima5 innd: optima7 funnel_bad
Apr 21 22:38:54 optima5 innd: controlchan! closed
Apr 21 22:38:54 optima5 innd: innfeed! closed
Apr 21 22:38:54 optima5 innd: control:14 closed
Apr 21 22:38:54 optima5 innd: localconn:16 closed
Apr 21 22:38:54 optima5 innd: remconn:3 closed
Apr 21 22:38:54 optima5 innd: remconn:4 closed
Apr 21 22:38:54 optima5 kernel: [649698.237444] innd[7529]: segfault at
000003dc eip b7d3736a esp bf98c470 error 4
Apr 21 22:38:55 optima5 innfeed[7534]: ME starting innfeed 2.4.4
(20070806 snapshot) at Tue Apr 21 22:38:55 2009
Apr 21 22:38:55 optima5 innfeed[7534]: loading /etc/news/innfeed.conf
Apr 21 22:38:55 optima5 controlchan[7533]: starting
Apr 21 22:38:57 optima5 innfeed[7534]: ME source lost . Exiting
Apr 21 22:38:57 optima5 innfeed[7534]: ME global seconds 2 offered 0
accepted 0 refused 0 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0
unspooled 0
Apr 21 22:38:57 optima5 innfeed[7534]: ME finishing at Tue Apr 21
22:38:57 2009
What could be the kernel segfault error, and what is causing the
funnel_bad entry?
news@optima5:~$ ctlinnd checkfile
Ok
Now, it does run if I comment out the following entry in newsfeeds
(kernel must be good):
#optima7/optima7.test.net\
# :*,!local.*,!junk,!control*,!ARRL.*,!Comp.Tech.*,!Ham.*,!MARS.*\
# :Tm:innfeed!
It also fails if I don't use the exclude subfield and instead use:
optima7.test.net\
:*,!local.*,!junk,!control*,!ARRL.*,!Comp.Tech.*,!Ham.*,!MARS.*\
:Tm:innfeed!
news@optima5:~$ rc.news start
Starting innd.
Scheduled start of /usr/lib/news/bin/innwatch.
news@optima5:~$ ctlinnd mode
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers follow enabled
Perl filtering enabled
Apr 21 22:46:35 optima5 innd: SERVER descriptors 1024
Apr 21 22:46:35 optima5 innd: SERVER outgoing 1011
Apr 21 22:46:35 optima5 innd: SERVER ccsetup control:14
Apr 21 22:46:35 optima5 innd: SERVER lcsetup localconn:16
Apr 21 22:46:35 optima5 innd: SERVER rcsetup remconn:3
Apr 21 22:46:35 optima5 innd: SERVER rcsetup remconn:4
Apr 21 22:46:35 optima5 innd: controlchan! spawned controlchan!:19:proc:7599
Apr 21 22:46:35 optima5 innd: innfeed! spawned innfeed!:20:proc:7600
Apr 21 22:46:35 optima5 innd: SERVER perl filtering enabled
Apr 21 22:46:35 optima5 innd: SERVER starting
Apr 21 22:46:35 optima5 innfeed[7600]: ME starting innfeed 2.4.4
(20070806 snapshot) at Tue Apr 21 22:46:35 2009
Apr 21 22:46:35 optima5 innfeed[7600]: loading /etc/news/innfeed.conf
Apr 21 22:46:35 optima5 controlchan[7599]: starting
Apr 21 22:46:37 optima5 innfeed[7600]: optima7:0 connected
Apr 21 22:46:37 optima5 innfeed[7600]: optima7 remote MODE STREAM failed
Apr 21 22:46:58 optima5 innd: s
Apr 21 22:47:36 optima5 innd: s
Apr 21 22:48:33 optima5 innd: s
I can access this optima5 server with a newsreader, using
authentication, and post a message to the local xanadu.test group (of
course it can't peer to optima7 though):
Apr 21 22:49:55 optima5 nnrpd[7863]: n100.test.net (192.168.89.210) connect
Apr 21 22:49:55 optima5 nnrpd[7863]: Reading access from
/etc/news/readers.conf
Apr 21 22:49:55 optima5 nnrpd[7863]: Auth strategy 'localhost' does not
match client. Removing.
Apr 21 22:49:55 optima5 nnrpd[7863]: n100.test.net res <anonymous>
Apr 21 22:49:55 optima5 nnrpd[7863]: n100.test.net match_user
<anonymous> <anonymous>
Apr 21 22:49:55 optima5 nnrpd[7863]: n100.test.net no_post public
Apr 21 22:49:56 optima5 innd: s
Apr 21 22:50:05 optima5 nnrpd[7863]: n100.test.net timeout short
Apr 21 22:50:05 optima5 nnrpd[7863]: n100.test.net times user 0.012
system 0.028 idle 0.000 elapsed 10.020
Apr 21 22:50:09 optima5 nnrpd[7859]: SERVER perl filtering enabled
Apr 21 22:50:09 optima5 innd: localhost connected 18
Apr 21 22:50:09 optima5 innd: localhost:18 closed seconds 0 accepted 1
refused 0 rejected 0 duplicate 0 accepted size 979 duplicate size 0
Apr 21 22:50:09 optima5 nnrpd[7859]: n100.test.net post ok
<gsm45h$7lj$1@optima5.test.net>
Apr 21 22:50:16 optima5 nnrpd[7859]: n100.test.net group xanadu.test 0
Apr 21 22:50:16 optima5 nnrpd[7859]: n100.test.net group xanadu.test 0
Apr 21 22:50:16 optima5 nnrpd[7859]: n100.test.net group local.test 0
Apr 21 22:50:18 optima5 nnrpd[7859]: n100.test.net group local.general 0
Apr 21 22:52:04 optima5 innd: s
Apr 21 22:53:29 optima5 innd: s
Apr 21 22:54:05 optima5 innd: s
innfeed.conf has the following:
peer optima7 {
ip-name: optima7.test.net
port-number: 119
max-connections: 10
}
The port-number is there because I originally attempted to use port 433
(also configured in inn.conf), but changed it when I started getting the
funnel_bad errors.
This new optima5 server is configured exactly like optima7, with the
exception the active file only contains the default installed groups
plus xanadu.test. The incoming.conf, innfeed.conf, and newsfeeds files
have similar configuration for the peers, with the exception the server
names/FQDNs are simply reversed.
The optima7 server also fails in a similar manner when "ctlinnd reload
all newstuff" is issued, and a "ctlinnd xexec innd" is issued. I had to
comment out the newsfeeds entry to keep optima7 running (it runs without
any problems with several other peers). I didn't tail syslog to see if
it gave a kernel segfault because that server has been running for four
years.
I see from the above syslog tail (at 22:46:35 optima5 innfeed[7600])
that innfeed is version 2.4.4 (20070806 snapshot) which evidentially is
what is installed by Ubuntu 8.04 LTS Server Edition on optima5. However
the installed package appears to be inn2 2.4.3:
news@optima5:~$ apt-cache policy inn2
inn2:
Installed: 2.4.3+20070806-1
Candidate: 2.4.3+20070806-1
Version table:
*** 2.4.3+20070806-1 0
500 http://us.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status
Perhaps Canonical mixed up the versions? I wouldn't think it would
matter because optima7 also fails when optima5 is added as a peer. Here
is optima7's inn2 version info:
news@optima7:~$ apt-cache policy inn2
inn2:
Installed: 2.4.2-3
Candidate: 2.4.3-1
Version Table:
2.4.3-1 0
500 ftp://debian.mirrors.tds.net stable/main Packages
*** 2.4.2-3 0
100 /var/lib/dpkg/status
This optima7 server is running Debian Sarge, which is very old (it's
been plugging away since 2005). I used optima7, optima5 and optima2 in
the past to peer news amongst themselves and Usenet. They all had Debian
Sarge at the time.
These twelve old Optima computers use AMD-K6 CPUs, and Debian Lenny will
not install because it is looking for a cmov instruction (details here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523137 ). Therefore I
had to switch to Ubuntu 8.04 LTS Server Edition, which runs fine.
Since I also have a problem with adding optima5 to optima7 for peering,
I'm suspecting I'm going blind and have used a period where a comma
should be used, or some other stupid mistake.
Ideas?
Additionally, optima5 will not log anything to news.notice, but it will
log to news.
news@optima5:/var/log/news$ tail -F -n 1000 news
Apr 20 22:25:22.935 + not-for-mail <gsjeb2$f83$1@optima5.test.net> 980
tail: `news' has been replaced; following end of new file
Apr 21 21:12:00.931 + not-for-mail <gsludg$5l9$1@optima5.test.net> 979
Apr 21 22:50:09.754 + not-for-mail <gsm45h$7lj$1@optima5.test.net> 979
The /etc/syslog.conf file (identical to optima7), has:
# Logging for INN news system
#
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice -/var/log/news/news.notice
and
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages
and
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
I did make the following edit to the above to add what optima7 had.
daemon.*;mail.*;\
news.crit;news.err;news.notice;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
The daily report is mostly empty:
Server status:
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Disk usage:
/etc/news 29570360 Kbytes available (92.3%)
/var/lib/news 29570360 Kbytes available (92.3%)
/var/log/news 29570360 Kbytes available (92.3%)
/var/spool/news/articles 29570360 Kbytes available (92.3%)
/var/spool/news/incoming 29570360 Kbytes available (92.3%)
/var/spool/news/outgoing 29570360 Kbytes available (92.3%)
/var/spool/news/overview 29570360 Kbytes available (92.3%)
Batch file sizes:
Log file sizes:
0 errlog 0 innfeed.log 0 news.crit 0 news.notice
4 expire.log 4 news 0 news.err 0 unwanted.log
Lock files:
LOCK.innwatch
Server connections:
TOTAL: 0 0
Daily Usenet report from Apr 21 21:12:00 to Apr 21 22:50:09
Log entries by program:
Program name Lines %Lines Size %Size
inn 2 100.0% 0.2 KB 100.0%
TOTAL: 1 2 100.0% 0.2 KB 100.0%
Incoming articles:
Date Articles %Arts Art/sec Size %Size KB/sec
Apr 21 21:12:00 - 21:59:59 1 50.0% 0.00 1.0 KB 50.0% 0.00
Apr 21 22:00:00 - 22:50:09 1 50.0% 0.00 1.0 KB 50.0% 0.00
TOTAL: 01:38:09 2 100.0% 0.00 1.9 KB 100.0% 0.00
---------
Expire messages:
expireover start Wed Apr 22 00:00:07 CDT 2009: ( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
Article lines processed 3
Articles dropped 0
Overview index dropped 0
expireover end Wed Apr 22 00:00:07 CDT 2009
lowmarkrenumber begin Wed Apr 22 00:00:07 CDT 2009: (/var/log/news/expire.lowmark)
lowmarkrenumber end Wed Apr 22 00:00:07 CDT 2009
expire begin Wed Apr 22 00:00:38 CDT 2009: (-v1)
Article lines processed 3
Articles retained 3
Entries expired 0
expire end Wed Apr 22 00:00:38 CDT 2009
all done Wed Apr 22 00:00:38 CDT 2009
---------
Post expiration status:
Server status:
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Disk usage:
/etc/news 29570352 Kbytes available (92.3%)
/var/lib/news 29570352 Kbytes available (92.3%)
/var/log/news 29570352 Kbytes available (92.3%)
/var/spool/news/articles 29570352 Kbytes available (92.3%)
/var/spool/news/incoming 29570352 Kbytes available (92.3%)
/var/spool/news/outgoing 29570352 Kbytes available (92.3%)
/var/spool/news/overview 29570352 Kbytes available (92.3%)
Batch file sizes:
Log file sizes:
0 errlog 0 innfeed.log 0 news.crit 0 news.notice
4 expire.log 0 news 0 news.err 0 unwanted.log
Lock files:
LOCK.innwatch
Server connections:
TOTAL: 0 0
--
John
Re: New Server Won't Peer nor Log news.daily
Author: John F. Morse
Date: Wed, 22 Apr 2009 18:38
Date: Wed, 22 Apr 2009 18:38
24 lines
1712 bytes
1712 bytes
John F. Morse wrote: > I have a new install of INN that will not peer. Nor will an existing > server peer when the new server is added to newsfeeds. > <snip> Figured out the problem -- invisible "ends with whitespace"! <grrr> Used inncheck to find the errors. Now both servers streaming just fine. However, I still am not getting anything logged to /var/log/news/news.notice for some odd reason. I do get /var/log/news/news logging fine. Ideas? -- John
Re: New Server Won't Peer nor Log news.daily
Author: Julien ÉLIE
Date: Wed, 22 Apr 2009 20:55
Date: Wed, 22 Apr 2009 20:55
80 lines
5080 bytes
5080 bytes
Hi John,
> Apr 21 22:38:54 optima5 innd: SERVER descriptors 1024
> Apr 21 22:38:54 optima5 innd: SERVER outgoing 1011
> Apr 21 22:38:54 optima5 innd: SERVER ccsetup control:14
> Apr 21 22:38:54 optima5 innd: SERVER lcsetup localconn:16
> Apr 21 22:38:54 optima5 innd: SERVER rcsetup remconn:3
> Apr 21 22:38:54 optima5 innd: SERVER rcsetup remconn:4
> Apr 21 22:38:54 optima5 innd: controlchan! spawned controlchan!:19:proc:7533
> Apr 21 22:38:54 optima5 innd: innfeed! spawned innfeed!:20:proc:7534
> Apr 21 22:38:54 optima5 innd: optima7 funnel_bad
> Apr 21 22:38:54 optima5 innd: controlchan! closed
> Apr 21 22:38:54 optima5 innd: innfeed! closed
> Apr 21 22:38:54 optima5 innd: control:14 closed
> Apr 21 22:38:54 optima5 innd: localconn:16 closed
> Apr 21 22:38:54 optima5 innd: remconn:3 closed
> Apr 21 22:38:54 optima5 innd: remconn:4 closed
> Apr 21 22:38:54 optima5 kernel: [649698.237444] innd[7529]: segfault at
> 000003dc eip b7d3736a esp bf98c470 error 4
> Apr 21 22:38:55 optima5 innfeed[7534]: ME starting innfeed 2.4.4
> (20070806 snapshot) at Tue Apr 21 22:38:55 2009
> Apr 21 22:38:55 optima5 innfeed[7534]: loading /etc/news/innfeed.conf
> Apr 21 22:38:55 optima5 controlchan[7533]: starting
> Apr 21 22:38:57 optima5 innfeed[7534]: ME source lost . Exiting
If I reproduce the problem, I for one read in my logs:
Apr 22 22:47:01 news innd: SERVER descriptors 5000
Apr 22 22:47:01 news innd: SERVER outgoing 4987
Apr 22 22:47:01 news innd: SERVER ccsetup control:12
Apr 22 22:47:01 news innd: SERVER lcsetup localconn:14
Apr 22 22:47:01 news innd: SERVER rcsetup remconn:15
Apr 22 22:47:01 news innd: SERVER rcsetup remconn:17
Apr 22 22:47:02 news innd: news.ecp.fr bad_newsfeeds missing field 3
Apr 22 22:47:02 news innd: bad_newsfeeds missing field 4
Apr 22 22:47:02 news innd: controlchan! spawned controlchan!:21:proc:16481
Apr 22 22:47:02 news innd: innfeed! spawned innfeed!:22:proc:16482
Apr 22 22:47:02 news innd: news.litech.org opened news.litech.org:20:file
Apr 22 22:47:02 news innfeed[16482]: ME starting at Wed Apr 22 22:47:02 2009 (INN 2.5.0 (20090412 prerelease))
Apr 22 22:47:02 news innfeed[16482]: loading /home/news/etc/innfeed.conf
Apr 22 22:47:02 news innd: inpaths! spawned inpaths!:24:proc:16483
Apr 22 22:47:02 news innd: source-archive! spawned source-archive!:25:proc:16484
Apr 22 22:47:03 news innd: nocem! spawned nocem!:26:proc:16485
Apr 22 22:47:03 news innd: SERVER syntax_error /home/news/etc/newsfeeds
Apr 22 22:47:03 news innd: controlchan! closed
Apr 22 22:47:03 news innd: innfeed! closed
Apr 22 22:47:03 news innd: news.litech.org closed
Apr 22 22:47:03 news innd: inpaths! closed
Apr 22 22:47:03 news innd: source-archive! closed
Apr 22 22:47:03 news innd: nocem! closed
Apr 22 22:47:03 news innd: control:12 closed
Apr 22 22:47:03 news innd: localconn:14 closed
Apr 22 22:47:03 news innd: remconn:15 closed
Apr 22 22:47:03 news innd: remconn:17 closed
Apr 22 22:47:03 news nocem: starting up
Apr 22 22:47:04 news controlchan[16481]: starting
Apr 22 22:47:05 news innfeed[16482]: ME time 662 idle 0(1) blstats 0(1) stsfile 2(1)
Apr 22 22:47:05 news innfeed[16482]: ME source lost . Exiting
The error is more explicit :)
By the way, I think the segfault is caused by Perl. I made a patch for it:
http://inn.eyrie.org/trac/changeset/8421/trunk/lib/perl.c
> The daily report is mostly empty:
> Log file sizes:
> 0 errlog 0 innfeed.log 0 news.crit 0 news.notice
> 4 expire.log 4 news 0 news.err 0 unwanted.log
Your log files are empty too so innreport will not find information.
--
Julien ÉLIE
« Pas besoin d'un grand dessin pour comprendre que les recettes
du druide sont mal digérées par les Romains ! » (Astérix)
Re: New Server Won't Peer nor Log news.daily
Author: John F. Morse
Date: Wed, 22 Apr 2009 22:49
Date: Wed, 22 Apr 2009 22:49
176 lines
8020 bytes
8020 bytes
Good evening, Julien.
Julien ÉLIE wrote:
> Hi John,
>
> By the way, I think the segfault is caused by Perl. I made a patch
> for it:
>
> http://inn.eyrie.org/trac/changeset/8421/trunk/lib/perl.c
I don't think Pety's problem was the same as mine.
In my problem I found "hidden" whitespace in the the newsfeeds config
file. When I removed it and reloaded, it is working fine.
Perhaps some consideration might be given to requiring a printing
character to terminate each line in newsfeeds? The \ works for those
lines that are "wrapped" due to length, but the final lines have no
printable ("seeable") ending.
I somehow suspected it would turn out to be something involved with my
old eyeballs. ;-)
>> The daily report is mostly empty:
>> Log file sizes:
>> 0 errlog 0 innfeed.log 0 news.crit 0 news.notice
>> 4 expire.log 4 news 0 news.err 0 unwanted.log
>
> Your log files are empty too so innreport will not find information.
Yes, I know! ;-)
But why is nothing being written to news.notice???
I just ran "news.daily norotate" and see that I am getting 132kB of info
from the news log, but news.notice is empty:
Server status:
Server running
Allowing remote connections
Parameters c 10 i 50 (1) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Disk usage:
/etc/news 29569940 Kbytes available (92.3%)
/var/lib/news 29569940 Kbytes available (92.3%)
/var/log/news 29569940 Kbytes available (92.3%)
/var/spool/news/articles 29569940 Kbytes available (92.3%)
/var/spool/news/incoming 29569940 Kbytes available (92.3%)
/var/spool/news/outgoing 29569940 Kbytes available (92.3%)
/var/spool/news/overview 29569940 Kbytes available (92.3%)
Batch file sizes:
Log file sizes:
0 errlog 0 innfeed.log 0 news.crit 0 news.notice
4 expire.log 132 news 0 news.err 4 unwanted.log
Lock files:
LOCK.innwatch
Server connections:
optima7.test.net 1 (18)
TOTAL: 1 1
Daily Usenet report from Apr 22 13:12:44 to Apr 22 17:37:20
Log entries by program:
Program name Lines %Lines Size %Size
inn 907 100.0% 126.4 KB 100.0%
TOTAL: 1 907 100.0% 126.4 KB 100.0%
Incoming articles:
Date Articles %Arts Art/sec Size %Size KB/sec
Apr 22 13:12:44 - 17:37:20 3 100.0% 0.00 4.5 KB 100.0% 0.00
TOTAL: 01:24:36 3 100.0% 0.00 4.5 KB 100.0% 0.00
Sites sending bad articles:
Server Total Group Dist Duplic Unapp TooOld Site Line Other
optima7.test.net 904 904 0 0 0 0 0 0 0
TOTAL: 1 904 904 0 0 0 0 0 0 0
Unwanted newsgroups [Top 20]:
Newsgroup Count
news.admin.net-abuse.sightings 180
news.lists.filters 95
comp.sys.mac.advocacy 78
comp.os.linux.advocacy 62
comp.lang.ruby 41
comp.lang.lisp 36
comp.lang.c 35
alt.os.linux.ubuntu 30
comp.lang.python 30
comp.sys.mac.apps 22
linux.debian.user 16
comp.lang.c++ 16
comp.os.linux.misc 15
news.software.nntp 15
comp.sys.mac.system 14
rec.radio.amateur.antenna 13
comp.lang.perl.misc 12
rec.radio.shortwave 11
comp.unix.solaris 11
sci.astro.amateur 10
TOTAL: 72 904
---------
Renumbering active file.
Expire messages:
expireover start Wed Apr 22 17:37:57 CDT 2009: ( -z/var/log/news/expire.rm)
Article lines processed 6
Articles dropped 0
Overview index dropped 0
expireover end Wed Apr 22 17:37:57 CDT 2009
expire begin Wed Apr 22 17:38:27 CDT 2009: (-v1)
Article lines processed 6
Articles retained 6
Entries expired 0
expire end Wed Apr 22 17:38:27 CDT 2009
all done Wed Apr 22 17:38:27 CDT 2009
---------
Post expiration status:
Server status:
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Disk usage:
/etc/news 29569936 Kbytes available (92.3%)
/var/lib/news 29569936 Kbytes available (92.3%)
/var/log/news 29569936 Kbytes available (92.3%)
/var/spool/news/articles 29569936 Kbytes available (92.3%)
/var/spool/news/incoming 29569936 Kbytes available (92.3%)
/var/spool/news/outgoing 29569936 Kbytes available (92.3%)
/var/spool/news/overview 29569936 Kbytes available (92.3%)
Batch file sizes:
Log file sizes:
0 errlog 0 innfeed.log 0 news.crit 0 news.notice
4 expire.log 132 news 0 news.err 4 unwanted.log
Lock files:
LOCK.innwatch
Server connections:
TOTAL: 0 0
--
John
No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: New Server Won't Peer nor Log news.daily
Author: Julien ÉLIE
Date: Thu, 23 Apr 2009 06:15
Date: Thu, 23 Apr 2009 06:15
23 lines
1956 bytes
1956 bytes
Hi John, >> By the way, I think the segfault is caused by Perl. I made a patch >> for it: >> >> http://inn.eyrie.org/trac/changeset/8421/trunk/lib/perl.c > > I don't think Pety's problem was the same as mine. Not the same problem but the same consequence: innd fails to initialize (because it does not manage to parse the newsfeeds file) and Perl core dumps at exit. > But why is nothing being written to news.notice??? A syslog misconfiguration for the "notice" level. -- Julien ÉLIE « On dirait que Bonemine lui a tapé dans l'œil. » (Astérix)
Re: New Server Won't Peer nor Log news.daily
Author: John F. Morse
Date: Thu, 23 Apr 2009 17:43
Date: Thu, 23 Apr 2009 17:43
55 lines
2810 bytes
2810 bytes
Julien ÉLIE wrote: > Hi John, > >>> By the way, I think the segfault is caused by Perl. I made a patch >>> for it: >>> >>> http://inn.eyrie.org/trac/changeset/8421/trunk/lib/perl.c >> >> I don't think Pety's problem was the same as mine. > > Not the same problem but the same consequence: innd fails to initialize > (because it does not manage to parse the newsfeeds file) and Perl > core dumps at exit. In my case, it is now working -- and I didn't apply the Perl patch. The new optima5 server was broken because of whitespace in newsfeeds. Perhaps your Perl patch would eliminate any unwanted whitespace from causing the error? >> But why is nothing being written to news.notice??? > > A syslog misconfiguration for the "notice" level. The optima7 server is logging fine, but the optima5 server is not. Here is the syslog.conf diff -u for both: diff -u '/home/john/Desktop/syslog.conf-optima5' '/home/john/Desktop/syslog.conf-optima7' > ~/Desktop/syslog.conf-diff --- /home/john/Desktop/syslog.conf-optima5 2009-04-23 11:59:47.000000000 -0500 +++ /home/john/Desktop/syslog.conf-optima7 2005-05-25 13:21:43.000000000 -0500 @@ -15,6 +15,7 @@ lpr.* -/var/log/lpr.log mail.* -/var/log/mail.log user.* -/var/log/user.log +uucp.* /var/log/uucp.log # # Logging for the mail system. Split it up so that I don't see anything different between them except a new uucp entry in the syslog.conf file on optima5. Do you think that could be a problem? -- John
Re: New Server Won't Peer nor Log news.daily
Author: Julien ÉLIE
Date: Thu, 23 Apr 2009 17:53
Date: Thu, 23 Apr 2009 17:53
25 lines
2144 bytes
2144 bytes
Hi John, > In my case, it is now working -- and I didn't apply the Perl patch. > > The new optima5 server was broken because of whitespace in newsfeeds. > > Perhaps your Perl patch would eliminate any unwanted whitespace from > causing the error? That patch only prevented Perl from core dumping when the newsfeeds file contained errors (like your whitespace issue). innd still did not start. > I don't see anything different between them except a new uucp entry in > the syslog.conf file on optima5. Do you think that could be a problem? No, I do not think so. (I'm using syslog-ng and it works well.) -- Julien ÉLIE « On dirait que Bonemine lui a tapé dans l'œil. » (Astérix)
Re: New Server Won't Peer nor Log news.daily
Author: Ray Banana
Date: Thu, 23 Apr 2009 18:08
Date: Thu, 23 Apr 2009 18:08
17 lines
2214 bytes
2214 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >> I don't see anything different between them except a new uucp entry in >> the syslog.conf file on optima5. Do you think that could be a problem? > No, I do not think so. > (I'm using syslog-ng and it works well.) syslog (as opposed to syslog-ng) is somewhat peculiar regarding blanks in syslog.conf. As John's original problem was caused by stray whitespace characters in newsfeeds, well, one never knows ... syslog requires that facility.priority and the name of the log file be seperated by tab characters, not blanks. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Re: New Server Won't Peer nor Log news.daily
Author: John F. Morse
Date: Thu, 23 Apr 2009 19:50
Date: Thu, 23 Apr 2009 19:50
43 lines
2524 bytes
2524 bytes
Julien ÉLIE wrote: > Hi John, > >> In my case, it is now working -- and I didn't apply the Perl patch. >> >> The new optima5 server was broken because of whitespace in newsfeeds. >> >> Perhaps your Perl patch would eliminate any unwanted whitespace from >> causing the error? > > That patch only prevented Perl from core dumping when the newsfeeds > file contained errors (like your whitespace issue). innd still did > not start. Good evening, Julien. Where is this trunk/lib/perl.c file? I don't find it on any of my computers. Maybe some file in /usr/lib/perl or /usr/lib/perl5 perhaps? Is it c source, requiring the patch, then recompiled? I'm lost (ou, je suis stupide). :-( >> I don't see anything different between them except a new uucp entry in >> the syslog.conf file on optima5. Do you think that could be a problem? > > No, I do not think so. > (I'm using syslog-ng and it works well.) Well, I'm somewhat ashamed to admit this, but I fixed news.notice by doing the standard Windows fix: rebooting. :-[ Evidentially my impatience, after waiting three days and then rebooting, was not as long as some cron job that might have restarted the logging daemon later in the week. ;-) Thanks for your assistance. -- John
Re: New Server Won't Peer nor Log news.daily
Author: Julien ÉLIE
Date: Thu, 23 Apr 2009 20:09
Date: Thu, 23 Apr 2009 20:09
24 lines
2265 bytes
2265 bytes
Hi John, > Where is this trunk/lib/perl.c file? I don't find it on any of my > computers. Maybe some file in /usr/lib/perl or /usr/lib/perl5 perhaps? > > Is it c source, requiring the patch, then recompiled? Yes it is C source but there is no need to patch your INN; it will not change at all how it works (it just prevents Perl's segfault if you add a whitespace in newsfeeds). > Well, I'm somewhat ashamed to admit this, but I fixed news.notice by > doing the standard Windows fix: rebooting. :-[ OK! What is essential is that it now works fine. -- Julien ÉLIE « Les Romains mesurent les distances en pas, nous en pieds... Il faut six pieds pour faire un pas. » (Astérix)
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