<style>blockquote {padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left: #cccccc 1px solid;} p {margin: 0px;padding: 0px;} </style>
<p>Dnia Środa, 10 Sierpnia 2016 20:35 System Administrator <nqbyav1zfu@gmail.com> napisał(a)</p>
<blockquote>
<div dir="ltr">I just upgraded INN from an old version that was running on Centos 5 to INN 2.6.0 compiled from <a href="ftp://ftp.isc.org/isc/inn/inn-2.6.0.tar.gz">ftp://ftp.isc.org/isc/inn/inn-2.6.0.tar.gz</a> on a new Centos 7.2 server.<br /><br />So based on my experience and Googling what worked for me to transfer the old articles was to use news/bin/innxmit on the old server to send the old articles over to the new one and to avoid copying. It even preserves the article numbers. Here are 
some notes that I hope are helpful. Please add / correct if wrong:<br /><br />1) copy files: active and newsgroups from old server into db directory, cd db ; makedbz -i -o    to create an emtpy database for your newsgroups.<br />2) in inn.conf on new server: set artcutoff:  0  so it accepts old articles.<br />3) inn.conf: xrefslave: true (so it can receive the articles from old server, set back to false when done)<br />4) incoming.conf - list sending IP there<br />5) as 
news user start INN service: /data/news/bin/rc.news<br />6) now you are ready to send old articles:<br />on old server (from <a href="https://www.eyrie.org/~eagle/faqs/inn.html#S6.4">https://www.eyrie.org/~eagle/faqs/inn.html#S6.4</a> ) do this:<br />cd /path/news/db<br />perl -ne 'chomp; our ($hash, $timestamps, $_) = split " "; print "$_\n" if $_' history | tr . / > /path/news/spool/outgoing/list<br />/data/news/bin/innxmit 192.168.X.Y list<br /><br /></div>
</blockquote>
<p><br /><br /></p>
<p>OK,</p>
<p>I've tried as mentioned above, but it doesn't work at all:</p>
<p> </p>
<p>[root@old_server news]# perl -ne 'chomp; our ($hash, $timestamps, $_) = split " "; print "$_\n" if $_' history | tr . / > /var/spool/news/outgoing/list<br />[root@old_server news]# /usr/lib/news/bin/innxmit 10.172.3.45 list</p>
<p> </p>
<p>and it is doing nothing, there is no traffic between servers.</p>
<p> </p>
<p>/var/log/news/news.err</p>
<p>Aug 23 13:22:26 old_server innd: SERVER perl filter not defined</p>
<p> </p>
<p>/var/log/news/news.notice</p>
<p>Aug 23 13:22:26 old_server innd: SERVER descriptors 1024<br />Aug 23 13:22:26 old_server innd: SERVER outgoing 1011<br />Aug 23 13:22:26 old_server innd: SERVER ccsetup control:12<br />Aug 23 13:22:26 old_server innd: SERVER lcsetup localconn:14<br />Aug 23 13:22:26 old_server innd: SERVER rcsetup remconn:15<br />Aug 23 13:22:26 old_server innd: SERVER rcsetup remconn:17<br />Aug 23 13:22:26 old_server innd: controlchan! spawned controlchan!:21:proc:21300<br />Aug 23 13:22:26 old_server 
innd: SERVER perl filter not defined<br />Aug 23 13:22:26 old_server innd: SERVER starting<br />Aug 23 13:22:27 old_server controlchan[21300]: starting </p><br />