🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87957

Re: How to move to a new server

#87957
From: Grant Taylor
Date: Tue, 21 May 2019 01:59
57 lines
2964 bytes
On 5/20/19 7:28 PM, Robert Senger wrote:
> Hi there,

Hi,

> Currently, I am running inn2 v. 2.6.1-2 on Debian 9, hosting a number 
> of local groups and some external groups.
> 
> Now I want to replace the server with new hardware, Debian 10, inn2 v. 
> 2.6.3-1.

This may be part of your problem.  Specifically that the versions are 
not identical, or really that close.

> What I tried: Installing inn2 on the new Debian 10 Server, stopping 
> inn2 on the old server, copying all files in /etc/news/, /var/lib/news/ 
> and /var/spool/news/ to the new server using rsync, adapting some 
> ip addresses. But that did not work, starting inn2 on the new server 
> works, but inn2 consumes 100% cpu time and is unresponsive. Stopped 
> this after waiting more than 1h.

My first concern, particularly when the versions are not identical, 
would be databases and the likes that might be different.

Are you using tradspool or something else?

Have you rebuilt indexes (?) or overview?

My concern is that inn 2.6.3-1 is trying to read index / overview / et 
al. files that were written by a different version of inn.

> Did I miss something? What is the proper way to move an existing 
> installation to a new machine?

I would think start with the same version.

What other differences are there between the source and target systems? 
32-bit vs 64-bit, file systems, permission configurations, SELinux, 
AppArmor, etc.

> Thanks for help,

I'm probably not much help, but it's at least something to look at.

Also, try running inn in the foreground without detaching from the 
terminal.  It will likely give you some more information.

Finally, is the CPU just pegged?  Or is there similar disk / network 
activity too?



-- 
Grant. . . .
unix || die

Technical Details
Message-ID: <qbvm2m$7qd$1@tncsrv09.home.tnetconsulting.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.(19219).mbox.7z!not-for-mail
References: <1558402122.25503.3.camel@microscopium.de>

Show Full Headers
Complete Article Headers
Message-ID: <qbvm2m$7qd$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: How to move to a new server
Date: Mon, 20 May 2019 19:59:19 -0600
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <1558402122.25503.3.camel@microscopium.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TNet Consulting
Lines: 55
NNTP-Posting-Host: alpha.home.tnetconsulting.net
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: tncsrv09.home.tnetconsulting.net 1558403990 8013 198.18.18.251 (21 May 2019 01:59:50 GMT)
X-Complaints-To: newsmaster@tnetconsulting.net
NNTP-Posting-Date: Tue, 21 May 2019 01:59:50 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.3
In-Reply-To: <1558402122.25503.3.camel@microscopium.de>
Content-Language: en-US
X-Received-Bytes: 2911
X-Received-Body-CRC: 3798548834