Article View: news.software.nntp
Article #16373Re: Upgrade from INN 1.4 to 1.5.1
From: Michael Douglass
Date: Thu, 27 Mar 1997 00:00
Date: Thu, 27 Mar 1997 00:00
84 lines
4793 bytes
4793 bytes
: because of the re-org of the news directory. What I am looking forward to
: is a real safe way for doing the upgrade to 1.5.1. Would really
: appreciate any advice going my direction.
I finally found all I needed in the inn-1.5.1/README file... You have to
look at the very bottom (past all of that CHANGES stuff). But it is there.
When I did my upgrade (oh, about 12 hours ago), I was a little more than
nervous; but here is what I did. (DISCLAIMER: These instructions outline
what *I* did--they may be wrong at points, but oh well.) Oh, and there is
a bonus, optional step
1. I kept the same PATH setups that were in my 1.4 config.data so that
everything would still work. (Actually I did this more because it
was the first thing I did, and didn't realize that the new paths might
have been better... Oh well, I'll save the "new" paths for later. :)
2. After you merge (if you do so) your old config.data into the new one
(note that you can use subst.sh to do this for you--which I *wish* I
had known when I did this myself--but it helps if you read. :) make
sure you look over the new items in the file as there are some. A
couple to be careful about is '_PATH_RNEWS' which (in my config) in 1.4
was /usr/local/lib/news/bin/rnews/rnews. By default 1.5 uses
/usr/local/lib/news/bin/rnews (which currently exists as a file).
You can do one of two things--make _PATH_RNEWS point to rnews/rnews
or before actually installing 1.5.1 mv the old rnews directory to a
different name. (Note: rnews is actually more important now since nnrpd
will spool to rnews if innd causes problems when posting; so it ain't
just for uucp anymore!). Secondly be careful to ensure that your
_PATH_PERL is set correctly. Mine wasn't, but I caught it before my
news.daily ran so I was okay--but the thought of everything failing
miserably on me really is frightening.
There are probably more gotchas that you should watchout for--and
perhaps someone will add in.
3. In your inn-1.5.1 directory now type 'make'. Watch (or log it) as it
compiles to ensure that everything goes smoothly.
4. Now in the inn-1.5.1/site directory you will want to merge in your data
from at LEAST (there may be a couple others depending on your configuration)
the following files:
expire.ctl hosts.nntp inn.conf newsfeeds nnrp.access nntpsend.ctl
5. Pray (unless you are an atheist). Look over the different files in the
site directory and make sure you feel comfortable with it. (this, of course
is the optional step).
6. Shutdown news server, decron your news cronjobs, kill all news processes.
(ctlinnd shutdown upgrading; crontab -e news; su - news -c kill -TERM -1 )
7. Goto the innd-1.5.1 directory and type 'make install'. The install process
will make a backup copy of all your old files to .OLD so you do not have to
worry about losing any changes. (But if the file being copied is EXACTLY
the same as the pre-existing file there will be no .OLD file.)
8. Restart the news server: (su - news -c rc.news) Don't forget to re-enable
your cronjobs!
I also had some extra changes to make afterwards. If you have pgp
installed and you compiled with the PGP enabled, make *sure* that you
follow the README.pgp to load the PGPKEYS file into 'news' pgpkey.
Otherwise you won't get any of the 'pgped' newgroup/rmgroup/etc...
Some of the other changes I had to make beyond the above included changing
where my backups of my logs go--I don't have that much /var space so I move
the old logs to the /usr/local/lib/news partition (where I have a ton of
space). Ummm.... Gee, besides growing a coronary until the expire started
and proved itself to be working, that's about it.
If there is any additions/corrections that need to be made here, please
make them. Definetly refer to the latter part of the innd-1.5.1/README
as it gives very concise instructions that led me to success. :)
--
Michael Douglass
Texas Networking, Inc.
"The past is a foreign country; they do things differently there."
L. P. Hartley, British author. The Go-Between, Prologue (1953).
Technical Details
Message-ID:
<5hddrf$jig$1@news3.texas.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.mbox.zip!not-for-mailReferences:
<Pine.LNX.3.95.970326203947.3276B-100000@phobos>Show Full Headers
Complete Article Headers
Message-ID: <5hddrf$jig$1@news3.texas.net> Subject: Re: Upgrade from INN 1.4 to 1.5.1 Date: Thu, 27 Mar 1997 00:00:00 +0000 From: Michael Douglass <mikedoug@texas.net> References: <Pine.LNX.3.95.970326203947.3276B-100000@phobos> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 228688106 Organization: Texas Networking, Inc. Newsgroups: news.software.nntp