🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Jan Roehrich Thu, 02 May 2002 15:44
Serverl problems using INN
#58650
Author: Jan Roehrich
Date: Thu, 02 May 2002 15:44
29 lines
1990 bytes
I just tried setting up a local newsgroup using INN on my Redhat 7.2 server.
The server is running at the moment and access tothe newsgroups works quite
fine but there are still some problems and question I have:

1. Running news.daily
In my configuration the history-files are located in /var/lib/news. To get
INN running, I have to set the owner of these files to news:news. But every
time I run news.daily the owner is set back to root:root. This causes INND
to crash. Running makehistory or makedbz causes the same problem.
Any ideas?

2. Deleting messages using "ctlinnd cancel <message>"
When I run this command with the message-id, nothing happens. The only
log-message I get is the following one:  innd: ME HISstats 0 hitpos 0 hitneg
0 missed 0 dne
This message occurred in news.notice. Have I to run an other command after
ctlinnd or what is wrong?

3. Setting up backup
When I want to backup my newsgroups, what files and directories have I to
add to my backup-script?

Thanks in advance!

Jan Roehrich



Re: Serverl problems using INN
#58652
Author: Jeffrey M. Vinocur
Date: Thu, 02 May 2002 17:53
34 lines
2274 bytes
In article <aarmnf$cod3g$1@ID-39195.news.dfncis.de>,
Jan Roehrich <jan.roehrich@iao.fhg.de> wrote:
>
>1. Running news.daily
>In my configuration the history-files are located in /var/lib/news. To get
>INN running, I have to set the owner of these files to news:news. But every
>time I run news.daily the owner is set back to root:root. This causes INND
>to crash. Running makehistory or makedbz causes the same problem.

How are you running news.daily?  It should definitely be run as
the news user, which will prevent these problems.  (Normally you
put it in the news user's crontab.)

You can either run makehistory/makedbz as news, or manually fix
the ownership afterwards; it shouldn't happen enough to worry
about.


>2. Deleting messages using "ctlinnd cancel <message>"
>When I run this command with the message-id, nothing happens.

Are you putting single quotes around the Message-ID?


>When I want to backup my newsgroups, what files and directories have I to
>add to my backup-script?

What storage method are you using?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Serverl problems using INN
#58653
Author: those who know me have no need o...
Date: Thu, 02 May 2002 18:06
22 lines
1825 bytes
<aarmnf$cod3g$1@ID-39195.news.dfncis.de> divulged:

>1. Running news.daily
>In my configuration the history-files are located in /var/lib/news. To get
>INN running, I have to set the owner of these files to news:news. But every
>time I run news.daily the owner is set back to root:root. 

obviously you should be running news.daily as user news instead of root.
in fact other than being root in order to install the inn rpm _everything_
else that you do you should su to news first.

>2. Deleting messages using "ctlinnd cancel <message>"

this doesn't delete messages, it merely cancel's them (locally).

>When I run this command with the message-id, nothing happens. 

you probably didn't escape shell meta-characters within the message-id.

-- 
bringing you boring signatures for 17 years
Re: Serverl problems using INN
#58654
Author: Jan Roehrich
Date: Thu, 02 May 2002 18:31
14 lines
1298 bytes
I can't try your suggestions at the moment (out of the office) - but i will
try it tomorrow!

> >When I want to backup my newsgroups, what files and directories have I to
> >add to my backup-script?
>
> What storage method are you using?

I'm using timehash

Jan Roehrich


Re: Serverl problems using INN
#58656
Author: Jeffrey M. Vinocur
Date: Fri, 03 May 2002 01:41
26 lines
2127 bytes
In article <aas0hu$da6im$1@ID-39195.news.dfncis.de>,
Jan Roehrich <jan.roehrich@iao.fhg.de> wrote:
>
>> >When I want to backup my newsgroups, what files and directories have I to
>> >add to my backup-script?
>>
>> What storage method are you using?
>
>I'm using timehash

Ho hum.  If you have a copy of ~news/spool/, you should be able
to recover from that.  Doing backups of news tends to be a pain,
though -- you presumably don't want to keep backups of articles
that have expired.  If you don't want to back up any articles, of
course, that's easy.  If you have only local groups that you keep
forever, that's easy too.  If you have a mix, and only want to
backup the local groups, it gets interesting.  We can talk more
if this applies to you.

And most definitely you want to back up ~news/etc/, of course.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Serverl problems using INN
#58676
Author: Jan Roehrich
Date: Fri, 03 May 2002 16:41
10 lines
1347 bytes
> If you have a mix, and only want to
> backup the local groups, it gets interesting.  We can talk more
> if this applies to you.

It's ok, I'll only have local groups

Jan Roehrich


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads