Thread View: news.software.nntp
5 messages
5 total messages
Started by RS Wood
Sat, 30 Aug 2014 17:06
incoming feeds but no outgoing
Author: RS Wood
Date: Sat, 30 Aug 2014 17:06
Date: Sat, 30 Aug 2014 17:06
61 lines
4023 bytes
4023 bytes
All - I'd appreciate some help. An OS update-gone-bad led me to have to reinstall the OS and rebuild an INND installation from the backed up files. INND is now up and running, but although it receives feeds fine from its three peers, no articles that originate on dictatorshandbook.net propagate outward. OS update was from FreeBSD 9.0 to 10.0, so INND went from 2.5.2 to 2.5.3 (no major change). I reinstalled my backed up $PATHETC, $PATHDB, and $PATHSPOOL (all /usr/local/news/...) to the new install, and followed the FAQ 2.0 section 6.13. "backup and restore an INN installation" by rerunning the makehistory and makedbz commands. inncheck reports: //--clip defined(@array) is deprecated at /usr/local/news/bin/inncheck line 1033. (Maybe you should just omit the defined()?) /usr/local/news/etc/incoming.conf:0: mode 644, should be between 400 and 660 innconfval: /usr/local/news/etc/inn.conf:146: unknown parameter nntpactsync /usr/local/news/etc/innfeed.conf:0: mode 644, should be between 400 and 660 /usr/local/news/etc/newsfeeds:67: `/usr/local/news/bin/startinnfeed' is not executable for innfeed! //--clip I understand startinnfeed is no longer packaged with INND so that error should be spurious, and indeed it's absent from $PATHBIN. Doesn't seem the mode errors are fatal. NNRPD is working fine: INND accepts readers and allows posting. Innfeed also accepts articles being fed from other sites. Following the FAQ #3.7 (Articles aren't being sent to remote peers) v2.0 at Russ's Eyrie: /var/log/news/news reports for each article posted: //--clip Aug 29 18:14:58.821 + localhost <ltqsgh$sb7$1@stalin.dictatorshandbook.net> (@050000000038000000000000009C00000000@) 1088 inpaths! news.albasani.net weretis.net bwh //--clip That tells me the post has been accepted and added to the local spool, and my three peers (bwh, news.albasani.net, and weretis.net) have been identified as destinations for the article. (Correct!) OK, so perhaps it's spooled somewhere? $PATHLOG/news.notice has 0 bytes, and grepping around $PATHSPOOL for files containing "ltqsgh" article identifier turn up hits in the articles and overview folders, as well as outgoing/innfeed. So it seems it's been queued for delivery. Not sure what to do next. I am vaguely concerned about permissions of the executables (all news:news, as it should be), perhaps renumbering problems that would make other servers think they've already received the articles, but otherwise at this point I am stumped. Thanks in advance if this problem is obvious to anyone on this group.
Re: incoming feeds but no outgoing
Author: Julien ÉLIE
Date: Sat, 30 Aug 2014 18:13
Date: Sat, 30 Aug 2014 18:13
43 lines
2565 bytes
2565 bytes
Hi RS Wood, > OS update was from FreeBSD 9.0 to 10.0, so INND went from 2.5.2 to 2.5.3 > (no major change). [...] > defined(@array) is deprecated at /usr/local/news/bin/inncheck line 1033. > (Maybe you should just omit the defined()?) Don't worry about that. It was fixed in 2.5.4 but has no impact on your use of INN. > innconfval: /usr/local/news/etc/inn.conf:146: unknown parameter > nntpactsync Rename "nntpactsync" to "incominglogfrequency" in inn.conf. (This new name has been used since INN 2.5.0.) > /usr/local/news/etc/incoming.conf:0: mode 644, should be between 400 > and 660 > /usr/local/news/etc/innfeed.conf:0: mode 644, should be between 400 and > 660 You can chmod these two files to 640 if you prefer. > /usr/local/news/etc/newsfeeds:67: `/usr/local/news/bin/startinnfeed' is > not executable for innfeed! Strange that you have that error; startinnfeed was removed in INN 2.5.0 so this newsfeeds entry shouldn't have worked with your 2.5.2 version. In your newsfeeds file, is your innfeed! entry like this one (with <pathbin> being the full path to your INN binaries)? innfeed!\ :!*\ :Tc,Wnm*:<pathbin>/innfeed -- Julien ÉLIE « Ce métier de goûteur me dégoûtait… » (Astérix)
Re: incoming feeds but no outgoing
Author: RS Wood
Date: Sat, 30 Aug 2014 18:48
Date: Sat, 30 Aug 2014 18:48
25 lines
2283 bytes
2283 bytes
On 2014-08-30, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi RS Wood, > Strange that you have that error; startinnfeed was removed in INN 2.5.0 > so this newsfeeds entry shouldn't have worked with your 2.5.2 version. > In your newsfeeds file, is your innfeed! entry like this one (with ><pathbin> being the full path to your INN binaries)? > > innfeed!\ > :!*\ > :Tc,Wnm*:<pathbin>/innfeed > You have found it. In my version, it was ...../startinnfeed Corrected it, restarted, and I'm feeding. You've been helpful before, Julien. Again, thank you. I conclude that my mistake was tar/gzipping the old config files and assuming they'd work after the update. I'll leave well enough alone this time, but be more careful next time and start from the install's files, plugging in my own entries. That's a lot more work, and fastidious. best wishes.
Re: incoming feeds but no outgoing
Author: Julien ÉLIE
Date: Sat, 30 Aug 2014 20:39
Date: Sat, 30 Aug 2014 20:39
94 lines
5749 bytes
5749 bytes
Hi RS Wood,
> I conclude that my mistake was tar/gzipping the old config files and
> assuming they'd work after the update. I'll leave well enough alone
> this time, but be more careful next time and start from the install's
> files, plugging in my own entries. That's a lot more work, and fastidious.
INN takes care of the changes during a normal update.
Here, I believe you started from a fresh install and then put old config
files, which is of course an unsupported process.
However, if you really want to do the update manually, you should read
the changes written for every release:
http://www.eyrie.org/~eagle/software/inn/docs/news.html
I quote (with a reorder of the points that interest you, that I wrote
first below):
Upgrading from 2.4 to 2.5
The following changes require your full attention because a manual
intervention may be needed:
- The nntpactsync parameter has been renamed to incominglogfrequency in
inn.conf; innupgrade handles this renaming during the update.
- In newsfeeds, innfeed should be run directly rather than through
startinnfeed. innupgrade will attempt to take care of this modification
during make update.
- When starting innd by hand, innd can just be run directly rather than
using inndstart. If you get error messages about resetting the file
descriptor limits, you may need to increase the file descriptor limits.
See the sample init script in contrib for an example of how to do this.
- In order to process control messages, controlchan now needs the
MIME::Parser module. Packages are available from most distributions, or
you can install the module directly from CPAN (MIME-tools in
modules/by-module/MIME/, for instance on ftp.perl.org).
- Perl 5.8.0 or later is recommended for INN. If you are using an
earlier version, you will also need the Encode module for correct
processing of control messages. (It is included with Perl itself in
5.8.0 and later.)
- Checkgroups control messages are now differently handled by
controlchan: all matching lines in control.ctl will be used for a given
checkgroups and a doit action will really be executed (adding, removing
and changing the status of newsgroups). You should make sure that your
local configuration does not rely on the previous behaviour of only
mailing changes, without actually performing them.
- You should use the new control.ctl.local file shipped with INN in
pathetc and, at the same time, update your control.ctl and moderators
files. Also make sure that your active.times, distrib.pats and
newsgroups files are properly encoded in UTF-8, as it is strongly
recommended by RFC 3977.
- The overview.fmt file is no longer used by INN. Two new parameters
have been added to inn.conf: extraoverviewadvertised and
extraoverviewhidden. Although innupgrade takes care of the change during
make update, you should make sure that your overview database is
consistent with all the fields declared in overview.fmt because they
will all be advertised, and Xref:full forced as the eighth overview
field. See the inn.conf(5) man page for more information about these
parameters.
- The innreport configuration file has slightly changed. The new
innreport.conf file shipped with INN should be used and your possible
changes backported to this new version.
- The $SPOOLBASE variable has been renamed to $SPOOLDIR in innshellvars
in order to be more consistent. It impacts shell scripts only. If you
import innshellvars and use that variable in your scripts, you will have
to rename it.
- gpgverify is no longer included in INN, pgpverify now has better
support for GnuPG and should be used instead.
- The auth_smb authenticator program to check passwords with an SMB
authentication is no longer included in INN. It was a stripped-down
version of pam_smbpass, wasn't maintained, and likely had security
problems. To authenticate to an SMB server such as Samba, use PAM and
ckpasswd's PAM support instead.
- The parameters used by nnrpd to provide TLS support are now tlscafile,
tlscapath, tlscertfile and tlskeyfile in inn.conf. The sasl.conf file
used for that in previous versions of INN is obsolete. innupgrade takes
care of the change during make update.
--
Julien ÉLIE
« Ce métier de goûteur me dégoûtait… » (Astérix)
Re: incoming feeds but no outgoing
Author: RS Wood
Date: Sun, 31 Aug 2014 17:07
Date: Sun, 31 Aug 2014 17:07
17 lines
2105 bytes
2105 bytes
On 2014-08-30, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi RS Wood, > However, if you really want to do the update manually, you should read > the changes written for every release: > http://www.eyrie.org/~eagle/software/inn/docs/news.html > > I quote (with a reorder of the points that interest you, that I wrote > first below): > > Upgrading from 2.4 to 2.5 You're right of course, and the copious notes make clear the development team is intent on continually improving the software. Many thanks to them (and you). (BTW, I didn't /really want/ to do the update manually, but Murphy's Law prevailed during the OS upgrade :( Such is life.)
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