inn2 - cant store article: File exists / rebuild databases
Marcus Schopen
lists at localguru.de
Tue Sep 9 19:16:37 UTC 2003
Marcus Schopen wrote:
> Hi,
>
> after a blackout of my privat linux box inn2 shows the following entries
> in its log, if posting a message:
>
> innd: SERVER cant store article: File exists
>
> To find a solution, I changed /var/lib/news/active for each group to
> highest und lowest article id. After a restart of inn2 I everything was
> fine again.
>
> Problem: After getting the "Daily Usenet report" at night, I could only
> see articles of the last 3 month in my newsclient in the next morning.
> In the configuration I told inn2 to keep all articles of the last 6
> month. All articles of the last 6 month are still in
> /var/spool/news/articles directory, but not shown in the client.
>
> What do I have to do to make a clean, new rebuild of all inn2's internal
> databases/history files etc., so I can see all articles again? I can't
> find a script for that purpose on Debian.
>
> System: Debian woody
> INN2 Version: 2.3.2
Andreas Metzler posted the folling nice working lines to me on the
German Debian list:
> as user root: invoke-rc.d inn2 stop
> then "su - news" to change to user news
> --------
> cd /var/lib/news/ \
> && time makehistory -b -O -f history.n \
> && awk 'NF == 2 { print }' < history >> history.n \
> && makedbz -s `wc -l < history` -f history.n
> mv history.n history
> mv history.n.dir history.dir
> mv history.n.hash history.hash
> mv history.n.index history.index
> --------
> as user root: "invoke-rc.d inn2 start"
> as user news: ctlinnd renumber ''
Cheers,
Marcus
--
Marcus Schopen (0>
P.O. Box 10 25 25 //\ Deutsche Zope User Group
D-33525 Bielefeld V_/_ www.dzug.org
Weird, but life is too short, move on ...
More information about the inn-workers
mailing list