Article View: news.software.nntp
Article #80630New Server Won't Peer nor Log news.daily
From: 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
Technical Details
Message-ID:
<gsmb0h$7d2$1@optima7.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <gsmb0h$7d2$1@optima7.xanadu-bbs.net> Subject: New Server Won't Peer nor Log news.daily Date: Wed, 22 Apr 2009 00:46:57 -0500 From: "John F. Morse" <xanadu.bbs@example.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 369 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: optima7.xanadu-bbs.net 1240379217 7586 192.168.89.210 (22 Apr 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Wed, 22 Apr 2009 05:46:57 +0000 (UTC) User-Agent: Thunderbird 2.0.0.21 (X11/20090318)