newscache: Thread: NewsCache 1.1.12 released


[<<] [<] Page 1 of 1 [>] [>>]
Subject: NewsCache 1.1.12 released
From: Herbert Straub ####@####.####
Date: 5 Apr 2003 16:01:27 -0000
Message-Id: <3E8EF936.4090802@aon.at>

New Features:

* NewsCacheClean Enhencement: NewsCacheClean missing to purge "outdated"
article files in the spool cache. If the upstream newsserver reduce the
available articles in a newsgroup (ex. from 1-100 to 50-120), then all 
articles from nr 1-49 and size greater then 15kBytes, are left in the 
cache (.art* files). Now NewsCacheClean analyzing every Newsgroup DB and 
mark every outdated .art file in the internal purge table with timestamp 
0 and therefore newscacheclean purges all outdated .art files. This new 
optimized purge method reduce the cache of my NewsCache Application from 
4 to 1 GB, means 3 GB outdated articles!

* Catching "caught signal 6" error messages in news.err. This error 
occours with broken client or upstream server connections

* Require Socket++ 1.12.9

* various bugfixes

* partially rewritten newscache man page (not finished yet).


Details see ChangeLog.

md5sum:
13248be94403aad9c9495e6c5efa1cb2  NewsCache-1.1.12.tar.gz

Herbert

Subject: Re: NewsCache 1.1.12 released
From: Tilman Linneweh ####@####.####
Date: 6 Apr 2003 17:43:39 -0000
Message-Id: <20030406193001.33476c21.arved@FreeBSD.org>

Okay,

I have uploaded a diff against the current FreeBSD port which updates to
1.1.12.

http://people.freebsd.org/~arved/stuff/newscache1.1.12.diff

Unfortunately I was not able to run the program, (first it told me that
I had no permission to talk (athough localhost was allowe; after
setting the Default to allow everything it closes my connection as soon
as i telnet.) But this is probably a configuration error on my side.

If anyone running FreeBSD (Booker?) has success I will commit it. 

regards
tilman


[Content type application/pgp-signature not shown. Download]
Subject: AW: NewsCache 1.1.12 released
From: Straub Herbert ####@####.####
Date: 7 Apr 2003 09:30:47 -0000
Message-Id: <3365692EA1026A498A5DB41801AE2DB5122B34@xcwrk2.xund.magwien.gv.at>

Thank you. I will apply the patches.

regards
Herbert

-----Ursprungliche Nachricht-----
Von: Tilman Linneweh ####@####.####
Gesendet: Sonntag, 06. April 2003 19:02
An: ####@####.####
Betreff: Re: NewsCache 1.1.12 released


Hi,

* Herbert Straub [Sat, 05 Apr 2003 17:41:42 +0200]:
[..] 

Today I had some time and tried to compile the new version.

One patch needed to compile on FreeBSD-CURRENT with gcc 
gcc (GCC) 3.2.2 [FreeBSD] 20030205 (release)

attached.

Another patch attached for the configure script, that fixes the
"test: yes: unexpected operator" in libsocket++ configure check.

regards
tilman
Subject: AW: NewsCache 1.1.12 released
From: Straub Herbert ####@####.####
Date: 7 Apr 2003 09:33:03 -0000
Message-Id: <3365692EA1026A498A5DB41801AE2DB5122B35@xcwrk2.xund.magwien.gv.at>

Please send the logfiles (news.notice, news.err, news.debug).

Thank you 
Herbert

-----Ursprungliche Nachricht-----
Von: Tilman Linneweh ####@####.####
Gesendet: Sonntag, 06. April 2003 19:30
An: ####@####.####
Cc: ####@####.####
Betreff: Re: NewsCache 1.1.12 released


Okay,

I have uploaded a diff against the current FreeBSD port which updates to
1.1.12.

http://people.freebsd.org/~arved/stuff/newscache1.1.12.diff

Unfortunately I was not able to run the program, (first it told me that
I had no permission to talk (athough localhost was allowe; after
setting the Default to allow everything it closes my connection as soon
as i telnet.) But this is probably a configuration error on my side.

If anyone running FreeBSD (Booker?) has success I will commit it. 

regards
tilman

Subject: RE: NewsCache 1.1.12 released
From: "Booker Apelin" ####@####.####
Date: 7 Apr 2003 19:37:58 -0000
Message-Id: <011b01c2fd3b$5692e340$ec6c4140@chocolatemeat>

I'm going to be wiping my scrath 4.7 server sometime this week.  I'll
probably put on 5.0 and then see which ports will work, newscache being one
of them.  If a large number of them end up broken, I'll revert and put on
4.8.

Aloha,
Booker

> -----Original Message-----
> From: Tilman Linneweh ####@####.####
> Sent: Sunday, April 06, 2003 7:30 AM
> To: ####@####.####
> Cc: ####@####.####
> Subject: Re: NewsCache 1.1.12 released
> 
> Okay,
> 
> I have uploaded a diff against the current FreeBSD port which updates to
> 1.1.12.
> 
> http://people.freebsd.org/~arved/stuff/newscache1.1.12.diff
> 
> Unfortunately I was not able to run the program, (first it told me that
> I had no permission to talk (athough localhost was allowe; after
> setting the Default to allow everything it closes my connection as soon
> as i telnet.) But this is probably a configuration error on my side.
> 
> If anyone running FreeBSD (Booker?) has success I will commit it.
> 
> regards
> tilman


Subject: Re: AW: NewsCache 1.1.12 released
From: Tilman Linneweh ####@####.####
Date: 14 Apr 2003 13:42:05 -0000
Message-Id: <200304141328.h3EDSLQB078998@sauna.arved.de>

* Straub Herbert [Mon, 7 Apr 2003 11:19:38 +0200 ]:

> Please send the logfiles (news.notice, news.err, news.debug).

There are none.

syslog reported:

Apr 14 15:24:24 sauna kernel: pid 78962 (newscache), uid 8: exited on
signal 
10 Apr 14 15:24:24 sauna NewsCache[78958]: 78962 caught signal 10


[Content type application/pgp-signature not shown. Download]
Subject: Re: AW: NewsCache 1.1.12 released
From: Herbert Straub ####@####.####
Date: 15 Apr 2003 02:47:58 -0000
Message-Id: <3E9B6E0C.4000609@aon.at>

Tilman Linneweh wrote:

>* Straub Herbert [Mon, 7 Apr 2003 11:19:38 +0200 ]:
>
>  
>
>>Please send the logfiles (news.notice, news.err, news.debug).
>>    
>>
>
>There are none.
>
>syslog reported:
>
>Apr 14 15:24:24 sauna kernel: pid 78962 (newscache), uid 8: exited on
>signal 
>10 Apr 14 15:24:24 sauna NewsCache[78958]: 78962 caught signal 10
>
>  
>
i found with google, that signal 10 is on FreeBSD SIGBUS:

[admin@ admin]$ kill -l
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL
 5) SIGTRAP      6) SIGABRT      7) SIGEMT       8) SIGFPE
 9) SIGKILL     10) SIGBUS      11) SIGSEGV     12) SIGSYS
13) SIGPIPE     14) SIGALRM     15) SIGTERM     16) SIGURG
17) SIGSTOP     18) SIGTSTP     19) SIGCONT     20) SIGCHLD
21) SIGTTIN     22) SIGTTOU     23) SIGIO       24) SIGXCPU
25) SIGXFSZ     26) SIGVTALRM   27) SIGPROF     28) SIGWINCH
29) SIGINFO     30) SIGUSR1     31) SIGUSR2

I tested your descriped error situation (telnet localhost 119) - telnet returned immediately - like:
x@x:~$ telnet localhost 119
Trying 127.0.0.1...
Connected to x.
Escape character is '^]'.
Connection closed by foreign host.
x@x:~$

In the Logfile (/var/log/news/news.notice) i found:
Apr 15 04:09:39 x NewsCache[22487]: NewsCache Server Start
Apr 15 04:09:41 x NewsCache[22489]: x [127.0.0.1] connect
Apr 15 04:09:42 x NewsCache[22489]: CServer failed, check permissions
Apr 15 04:09:42 x NewsCache[22489]: Exception! Type: System File: NVconta
iner.cc Function: virtual void NVcontainer::open(const char*, int) Line: 587 Des
c: NVList(15485): Cannot open(/var/cache/newscache/.active,O_RDWR|O_CREAT) ErrSt
r(2): No such file or directory
Apr 15 04:09:42 x NewsCache[22487]: 22489 returned 1

My Questions:
1) $> grep SpoolDirectory /etc/newscache.conf
SpoolDirectory /var/cache/newscache
--> Directory exists?

2) egrep "^((User)|(Group))" /etc/newscache.conf
Username news
Groupname news
--> and have the SpoolDirectory the correct permissions?

3) Does the /etc/syslog.conf have the following sequenz (or another)?
# Logging for INN news system
#
news.debug                      /var/log/news/news.debug
news.crit                       /var/log/news/news.crit
news.err                        /var/log/news/news.err
news.notice                     -/var/log/news/news.notice

4) Do you configured newscache with --enable-debug? If yes, then you found somethings like this in the  news.debug file:
Apr 15 04:09:39 x NewsCache[22487]: NewsCache Server Start
Apr 15 04:09:41 x NewsCache[22489]: x [127.0.0.1] connect
Apr 15 04:09:41 x NewsCache[22489]: NServer::NServer()
Apr 15 04:09:41 x NewsCache[22489]: NServer::NServer() hostname set to: f
aultier
Apr 15 04:09:41 x NewsCache[22489]: CServer::CServer(/var/cache/newscache
,*serverlist)
Apr 15 04:09:41 x NewsCache[22489]: Exception! File: NVcontainer.cc Funct
ion: virtual void NVcontainer::open(const char*, int) Line: 587 Desc: NVList(154
85): Cannot open(/var/cache/newscache/.active,O_RDWR|O_CREAT)
Apr 15 04:09:42 x NewsCache[22489]: RServer::~RServer()
Apr 15 04:09:42 x NewsCache[22489]: RServer::setserverlist()
Apr 15 04:09:42 x NewsCache[22489]: RServer::disconnect()
Apr 15 04:09:42 x NewsCache[22489]: LServer::~LServer()
Apr 15 04:09:42 x NewsCache[22489]: NServer::~NServer()
Apr 15 04:09:42 x NewsCache[22489]: CServer failed, check permissions
Apr 15 04:09:42 x NewsCache[22489]: Exception! Type: System File: NVconta
iner.cc Function: virtual void NVcontainer::open(const char*, int) Line: 587 Des
c: NVList(15485): Cannot open(/var/cache/newscache/.active,O_RDWR|O_CREAT) ErrSt
r(2): No such file or directory
Apr 15 04:09:42 x NewsCache[22487]: 22489 returned 1

Herbert






[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.