Then I started up innd with this command:
# su news -c /usr/local/news/bin/rc.news
This account is currently not available.
Ahhh, this one took me a while to figure out. It means the news
user has not been set up. So I started up vipw and made the entry for news look like
this. Use <ESCAPE> <W> <Q> to save. Use <ESCAPE>
<Q> <!> to discard changes.
news:*:8:8::0:0:News Subsystem:/usr/local/news:/bin/sh
Then I tried again:
su news -c /usr/local/news/bin/rc.news
INND: No active file!
OK. So going by the http://www.ragnet.demon.co.uk/mynews/news.html#s1-7-2
I see that I needed to do the following: I entered the commands shown in bold.
cd /usr/local/news/db
echo 'control 0000000000 0000000001 n' > active
echo 'junk 0000000000 0000000001 n' >> active
chown news:news active
chmod 0644 active
touch history
chown news:news history
chmod 0664 history
/usr/local/news/bin/makehistory -r -i
ls -lt
total 2
-rw-rw-r-- 1 root news 75 Dec 2 16:56 history.n.dir
-rw-rw-r-- 1 root news 0 Dec 2 16:56 history.n.pag
-rw-rw-r-- 1 news news 0 Dec 2 16:55 history
-rw-r--r-- 1 news news 61 Dec 2 16:54 active
So then I tried again:
# su news -c /usr/local/news/bin/rc.news
Starting innd.
Scheduled start of /usr/local/news/bin/innwatch.
OK! That's looking better. Wait. What's that in /var/log/messages:
Dec 2 16:57:58 synergy innd: SERVER cant dbzinit
/usr/local/news/db/history No such file or directory
Now I can't remember whether or not I had to kill innd. But in case you have to,
I would do it like this:: kill -KILL <pid>. See sending
a HUP to a program for more information.
Huh? I thought I created that? Oh wait, no. I missed out some stuff:
Back to http://www.ragnet.demon.co.uk/mynews/news.html#s1-7-2
and I see I need to do this as well.
Again, I entered what was in bold:
cd /usr/local/news/db
mv history.n.dir history.dir
mv history.n.pag history.pag
chown news:news history.dir
chmod 0664 history.dir
chown news:news history.pag
chmod 0664 history.pag
ls -lt
total 2
-rw-rw-r-- 1 news news 75 Dec 2 16:56 history.dir
-rw-rw-r-- 1 news news 0 Dec 2 16:56 history.pag
-rw-rw-r-- 1 news news 0 Dec 2 16:55 history
-rw-r--r-- 1 news news 61 Dec 2 16:54 active
Then I started innd again:
# su news -c /usr/local/news/bin/rc.news
Starting innd.
Scheduled start of /usr/local/news/bin/innwatch.
This time I noticed this in /var/log/messages:
Dec 2 17:00:11 synergy innd: SERVER bad_newsfeeds no feeding sites
|