🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by kjell Fri, 06 Jun 2008 05:45
unwanted.log and rejecting
#79110
Author: kjell
Date: Fri, 06 Jun 2008 05:45
8 lines
1124 bytes
INN 2.4.4

Server reject many articles!
How could it be that I have for example lada.talk
in umwanted.log and I'm doing this command:

kjell@ubuntu1:~$ sudo ctlinnd newgroup lada.talk y
Group status unchanged
Re: unwanted.log and rejecting
#79102
Author: Ray Banana
Date: Fri, 06 Jun 2008 05:57
14 lines
1773 bytes
Thus spake kjell <hd@ipbo.se>
 
> Server reject many articles!
> How could it be that I have for example lada.talk
> in umwanted.log and I'm doing this command:
> kjell@ubuntu1:~$ sudo ctlinnd newgroup lada.talk y
> Group status unchanged

These entries may well be from a time when the group did not exist on
your server.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: unwanted.log and rejecting
#79103
Author: Julien ÉLIE
Date: Fri, 06 Jun 2008 06:10
26 lines
2092 bytes
Hi kjell,

> Server reject many articles!
> How could it be that I have for example lada.talk
> in umwanted.log and I'm doing this command

As Ray says, unwanted.log is not rotated and keeps a count
of the number of articles which were rejected because they
were posted to newsgroups which do not exist on your server.

You can delete all the contents of this file if you want
and see what is logged the following day.
It is the same as the unwanted section in your daily Usenet
reports generated by innreport.


> kjell@ubuntu1:~$ sudo ctlinnd newgroup lada.talk y
> Group status unchanged

(sudo -> news user for ctlinnd)

-- 
Julien ÉLIE

« Mon père, ce héros au sourire si doux. » (Victor Hugo) 
Re: unwanted.log and rejecting
#79104
Author: kjell
Date: Fri, 06 Jun 2008 06:17
17 lines
1591 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>> Server reject many articles!
>> How could it be that I have for example lada.talk
>> in umwanted.log and I'm doing this command:
>> kjell@ubuntu1:~$ sudo ctlinnd newgroup lada.talk y
>> Group status unchanged
> 
> These entries may well be from a time when the group did not exist on
> your server.
> 

I don't think so, because there are no group with the name lada.talk
in newsgroups. There should be or what?!
I have done this command some days ago (3):
"sudo ctlinnd newgroup lada.talk y"
Re: unwanted.log and rejecting
#79105
Author: kjell
Date: Fri, 06 Jun 2008 06:27
32 lines
1942 bytes
Julien ÉLIE skrev:
> Hi kjell,
> 
>> Server reject many articles!
>> How could it be that I have for example lada.talk
>> in umwanted.log and I'm doing this command
> 
> As Ray says, unwanted.log is not rotated and keeps a count
> of the number of articles which were rejected because they
> were posted to newsgroups which do not exist on your server.

I see! How could I rotate this log?

> You can delete all the contents of this file if you want
> and see what is logged the following day.

Yes, I have deleted the contents, and will see tomorrow!

> It is the same as the unwanted section in your daily Usenet
> reports generated by innreport.

OK.

>> kjell@ubuntu1:~$ sudo ctlinnd newgroup lada.talk y
>> Group status unchanged
> 
> (sudo -> news user for ctlinnd)


kjell@ubuntu1:~$ sudo su news
$ ctlinnd newgroup lada.talk y
Group status unchanged
Re: unwanted.log and rejecting
#79106
Author: Ray Banana
Date: Fri, 06 Jun 2008 07:45
15 lines
1928 bytes
Thus spake kjell <hd@ipbo.se>
 
> I don't think so, because there are no group with the name lada.talk
> in newsgroups. There should be or what?!

No. ctlinnd newgroup modifies your active file, not the newsgroups
file. Try "grep lada.talk /var/lib/news/active".

/var/lib/news/newsgroups contains the newsgroup descriptions and
must be manually updated in addition to a ctlinnd newgroup, if
you add or remove groups.
        
-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: unwanted.log and rejecting
#79107
Author: kjell
Date: Fri, 06 Jun 2008 08:12
21 lines
1784 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>> I don't think so, because there are no group with the name lada.talk
>> in newsgroups. There should be or what?!
> 
> No. ctlinnd newgroup modifies your active file, not the newsgroups
> file. Try "grep lada.talk /var/lib/news/active".

$ grep lada.talk /var/lib/news/active
lada.talk 0000004029 0000001050 y
$

Ok!

> /var/lib/news/newsgroups contains the newsgroup descriptions and
> must be manually updated in addition to a ctlinnd newgroup, if
> you add or remove groups.   

/var/lib/news/newsgroups have nothing to do with rejected articles?
The rejected articles is "ruled" only by the active file or what?
Re: unwanted.log and rejecting
#79108
Author: Ray Banana
Date: Fri, 06 Jun 2008 08:20
13 lines
1891 bytes
Thus spake kjell <hd@ipbo.se>
 
>> /var/lib/news/newsgroups contains the newsgroup descriptions and
>> must be manually updated in addition to a ctlinnd newgroup, if
>> you add or remove groups.
> /var/lib/news/newsgroups have nothing to do with rejected articles?
> The rejected articles is "ruled" only by the active file or what?

Correct.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: unwanted.log and rejecting
#79109
Author: kjell
Date: Fri, 06 Jun 2008 08:35
25 lines
1875 bytes
Ray Banana skrev:
> Thus spake kjell <hd@ipbo.se>
>  
>>> /var/lib/news/newsgroups contains the newsgroup descriptions and
>>> must be manually updated in addition to a ctlinnd newgroup, if
>>> you add or remove groups.
>> /var/lib/news/newsgroups have nothing to do with rejected articles?
>> The rejected articles is "ruled" only by the active file or what?
> 
> Correct.
> 

I have done this:

kjell@ubuntu1:~$ grep lada.soft /var/lib/news/active
lada.soft 0000000006 0000000001 y

But in my in daily Usenet reports generated by innreport
is lada.soft in "Unwanted newsgroups [Top 20]:"
Strange! But I will look at that tomorrow, when a
new report is done.

Thanks, and have a nice day!

Re: unwanted.log and rejecting
#79111
Author: Julien ÉLIE
Date: Fri, 06 Jun 2008 17:51
23 lines
2170 bytes
Hi kjell,

> kjell@ubuntu1:~$ grep lada.soft /var/lib/news/active
> lada.soft 0000000006 0000000001 y

This group seems recent (only 6 articles) while
lada.talk 0000004029 0000001050
is older.


> But in my in daily Usenet reports generated by innreport
> is lada.soft in "Unwanted newsgroups [Top 20]:"
> Strange! But I will look at that tomorrow, when a
> new report is done.

I assume this newsgroup was created the same day as innreport
generated this report.

-- 
Julien ÉLIE

« Mon père, ce héros au sourire si doux. » (Victor Hugo) 
Re: unwanted.log and rejecting
#79112
Author: Julien ÉLIE
Date: Fri, 06 Jun 2008 18:03
37 lines
2487 bytes
Hi kjell,

>> As Ray says, unwanted.log is not rotated and keeps a count
>> of the number of articles which were rejected because they
>> were posted to newsgroups which do not exist on your server.
>
> I see! How could I rotate this log?

There is a script names scanlogs in your news server and there is:


##  Now that innreport has finished, we can move unwanted.log.  This
##  file is not reset because it keeps the count of unwanted newsgroups.
if ${ROTATE} ; then
    BASE=`basename ${UNWANTED_LOG}`
    if [ -f ${UNWANTED_LOG}.old ]; then
        mv ${UNWANTED_LOG}.old ${OLD}/${BASE}
    else
        rm -f ${OLD}/${BASE}
        cp ${UNWANTED_LOG} ${OLD}/${BASE}
        chmod 0660 ${OLD}/${BASE}
    fi
fi

Just put a "rm -f" of this file here too.


You can also use the "logrotate" utility of your Ubuntu.
But normally, unwanted.log is not rotated so it is not necessary
for you to do that:  you will lose what this file is for (tracking
the count of unwanted newsgroups through days).

-- 
Julien ÉLIE

« Mon père, ce héros au sourire si doux. » (Victor Hugo)
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