Deutsch   English   Français   Italiano  
<sr3kcs$gkg$1@ns507557.dodin.fr.nf>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder6.news.weretis.net!i2pn.org!dodin.fr.nf!.POSTED.82-64-122-108.subs.proxad.net!not-for-mail
From: jdd <jdd@dodin.org>
Newsgroups: fr.comp.usenet.serveurs
Subject: Re: configurer top1000
Date: Wed, 5 Jan 2022 09:20:44 +0100
Organization: Le serveur de jdd pour fr*
Message-ID: <sr3kcs$gkg$1@ns507557.dodin.fr.nf>
References: <sr1r8i$725$1@ns507557.dodin.fr.nf>
 <sr24kf$jhq$2@rasp.pasdenom.info> <sr253d$1bs8m$1@news.trigofacile.com>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 5 Jan 2022 08:20:44 -0000 (UTC)
Injection-Info: ns507557.dodin.fr.nf; posting-host="82-64-122-108.subs.proxad.net:82.64.122.108";
	logging-data="17040"; mail-complaints-to="news@ns507557.dodin.fr.nf"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.4.0
In-Reply-To: <sr253d$1bs8m$1@news.trigofacile.com>
Content-Language: fr
Bytes: 3120
Lines: 63

Le 04/01/2022 à 19:53, Julien ÉLIE a écrit :
> Bonjour Stéphane et Jean-Daniel,
> 
>>> "Just set up a cron job to compute the stats every month, or even every
>>> day/week."
>>>
>>> un exemple?
>>
>> Ici, dans /etc/cron.d/inn2 :
>> # NINPATHS
> 
> Et donc aussi voir la doc de ninpaths qui explique normalement tout dans
> le détail :-)
>     https://www.eyrie.org/~eagle/software/inn/docs/ninpaths.html
> 

résumé des opérations ici:

http://www.dodin.org/wiki/pmwiki.php?n=Doc.ConfigurerINN-2021#toc-12.3

merci. Détails des remarques ci-dessous :-)

jdd

Ce n'est pas si clair que ça, en particulier il est très difficile de 
savoir ce qu'il faut faire à la main et ce qui est inclus par défaut - 
et dont je comprends bien que ça peut changer avec la distribution :-(. 
Par exemple

"you feed it the Path header fields via an INN channel feed or some 
other similar method", pour moi c'est du chinois... "you feed it"? qui 
est "you"?

ensuite, manifestement il *faut* créer le répertoire "path" à la main, 
sinon ça ne marche pas. Là je vois 24h après que ce répertoire contient 
bien un fichier nouveau et donc que ça commence à marcher :-)

" Set up a channel feed using an entry like:

     inpaths!:*:Tc,WP:<pathbin>/ninpaths -p -d <pathlog>/path/inpaths.%d"

oui, mais où?

j'ai du chercher pour trouver que c'est dans newsfeeds (et que ça y 
était déjà)

par contre j'avais zappé la ligne:

ctlinnd reload newsfeeds 'inpaths feed setup'

qui évite d'attendre 24h...

par contre, je ne comprends pas comment le répertoire path a été rempli 
à 3h du mat, alors que je n'ai que ça dans crontab:

  crontab -l
0 3 * * * /usr/lib/news/bin/news.daily expireover lowmark
0,10,20,30,40,50 * * * * /usr/lib/news/bin/nntpsend

 > ll ~news/logs/path/
total 12
-rw-rw-r-- 1 news news 5170  5 janv. 03:00 inpaths.1641348001

je rajoute quand même les deux lignes prévues dans la doc dans crontab