Next Previous Contents

2. Installation of INN

2.1 Base installation

Installing in is not as simple as running rpm -vih inn*.rpm on your RedHat based machine. It needs a bit more finetuning which I will try to document in this article.

You will need to take the following steps to get Inn up and running

First we need an empty history database. On a RH 7.0 based system , this has already been done by the rpm itselve ... ono a RH 7.1 system the following actions have to be done manually. Your news db is in /var/lib/news there you will need to touch history and run makedbz -i This wil create the files

history.n.dir history.n.hash history.n.index

You will need to rename them to

history.dir history.hash history.index

Make sure that those file are still being owned by news:news and that they are in 644 mode.

At this stage you should be able to start INN by running /etc/rc.d/init.d/inn start however you can`t really use it yet !

Please note that if you already installed Inn before and you already tried migrating content unsuccessfully, uninstalling in and reinstalling it again might solve some of your problems. Although there might be some alternative ways to clear the inn history.

2.2 Choosing Storage

In /etc/news/storage add the following lines

method tradspool { class: 4 newsgroups: * }

Restarting innd might result in a innd: tradspool: /var/spool/news/tradspool.map not found alike error in your logfile this normally happens only once.

2.3 Creating News Groups

ctlinnd newgroup be.comp.os.linux m


Next Previous Contents