I would like to make it easier for those considering news.nk.ca just
to look at our website instead.
How can I do that using INN?
I don't know what changes you can make to INN. Maybe support
additional protocols (TLS / UUCP / Tor / Yggdrasil / I2P) /
ports.
I would like to make it easier for those considering news.nk.ca
just to look at our website instead.
How can I do that using INN?
Hi The Doctor,
I would like to make it easier for those considering news.nk.ca
just to look at our website instead.
How can I do that using INN?
I do not understand well what you have in mind.
Is it a message you would like to pop up to your news readers or make >available to peers already connected, to say to look at your website?
Then it would mean the news reader (or the news admin for a remote peer) >knows how to deal with the "LIST MOTD" command; you could put a "message
of the day" in <pathetc>/motd.nnrpd or motd.innd that would just say to
look at a URL.
Or is it a message for people not already using or peering with your
news server ("considering news.nk.ca"), and then I do not really have
any suggestion with INN directly...
--
Julien ÉLIE
« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
I have tried generating a stats report in the past,
but it hung. No reason given.
On Jun 22, 2022 at 5:18:51 PM CDT, "The Doctor" <The Doctor> wrote:
I have tried generating a stats report in the past,
but it hung. No reason given.
How are you attempting to generate the report? If "htmlstatus" is set to true >in <pathetc>/inn.conf, the status will be written to ><pathhttp>/inn_status.html at the interval defined by the "status" value in ><pathetc>/inn.conf.
If you wish to generate daily statistics in HTML on incoming/outgoing feeds, >article rates, etc. you should set "html" to true in <pathetc>/innreport.conf.
This will generate HTML reports when news.daily runs and place them in
<pathhttp>. It will generate or update the index.html page within <pathhttp>, >as seen here:
http://usenet.blueworldhosting.com/feedstats.
To accomplish this on FreeBSD (I believe you're a fellow FreeBSD user):
- Set "htmlstatus" to true in <pathetc>/inn.conf.
- Set <pathhttp> to /usr/local/www/apache24/data/feedstats.
- Set "html" to true in <pathetc>/innreport.conf.
- pkg install apache24
- Add apache24_enable="yes" to /etc/rc.conf to set Apache to start at boot.
- "service apache24 start" to start Apache.
- Create /usr/local/www/apache24/data/feedstats and make sure the "news" user >can write to the directory.
- Create /usr/local/www/apache24/data/index.html with the content you wish to >display.
- Run "<pathbin>/scanlogs norotate" to scan logs and generate a report, or >wait for the next news.daily cron job to execute.
- Success.
What you see when you visit http://usenet.blueworldhostig.com is >/usr/local/www/apache24/data/index.html. On that page I have a link to the >/feedstats URI, which maps back to /usr/local/www/apache24/data/feedstats on >the filesystem (which is my <pathhttp> value from <pathetc>/inn.conf). >Hopefully that helps, unless I misunderstood what you are trying too generate.
Cheers,
Jesse
WARNING: can't write in "/usr/local/www/nginx-dist/" as required by -html switch.
Option -html and -a removed. Please see the -d switch.
WARNING: can't write in "/usr/local/www/nginx-dist/pics" as required by -g switch.
Option -g removed. Please see the -p switch.
What needs to be fixed in the configuration files?
And https://www.nk.ca/ is working
In article <t936gn$2fha$1@spool1.usenet.blueworldhosting.com>,
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> wrote:
On Jun 22, 2022 at 5:18:51 PM CDT, "The Doctor" <The Doctor> wrote:
I have tried generating a stats report in the past,
but it hung. No reason given.
How are you attempting to generate the report? If "htmlstatus" is set to true >>in <pathetc>/inn.conf, the status will be written to >><pathhttp>/inn_status.html at the interval defined by the "status" value in >><pathetc>/inn.conf.
If you wish to generate daily statistics in HTML on incoming/outgoing feeds, >>article rates, etc. you should set "html" to true in <pathetc>/innreport.conf.
This will generate HTML reports when news.daily runs and place them in >><pathhttp>. It will generate or update the index.html page within <pathhttp>, >>as seen here:
http://usenet.blueworldhosting.com/feedstats.
To accomplish this on FreeBSD (I believe you're a fellow FreeBSD user):
- Set "htmlstatus" to true in <pathetc>/inn.conf.
- Set <pathhttp> to /usr/local/www/apache24/data/feedstats.
- Set "html" to true in <pathetc>/innreport.conf.
Done
- pkg install apache24
- Add apache24_enable="yes" to /etc/rc.conf to set Apache to start at boot. >>- "service apache24 start" to start Apache.
- Create /usr/local/www/apache24/data/feedstats and make sure the "news" user >>can write to the directory.
- Create /usr/local/www/apache24/data/index.html with the content you wish to >>display.
Using nginx-devel instead of apache.
- Run "<pathbin>/scanlogs norotate" to scan logs and generate a report, or >>wait for the next news.daily cron job to execute.
- Success.
What you see when you visit http://usenet.blueworldhostig.com is >>/usr/local/www/apache24/data/index.html. On that page I have a link to the >>/feedstats URI, which maps back to /usr/local/www/apache24/data/feedstats on >>the filesystem (which is my <pathhttp> value from <pathetc>/inn.conf). >>Hopefully that helps, unless I misunderstood what you are trying too generate.
Spot on got it correct.
Cheers,
Jesse
Parameters c 731
Log entries by program:
Program name Lines %Lines Size %Size
inn 26367 100.0% 10.1 MB 100.0%
TOTAL: 1 26367 100.0% 10.1 MB 100.0%
Sites sending bad articles:
Server Total Group Dist Duplic Unapp TooOld Site Line Other
peer.alt119.net 12147 12082 0 0 0 0 64 0 1
netknow-out.feed.uzoret 667 597 0 0 1 0 49 0 20
nntp.club.cc.cmu.edu 377 346 0 0 0 0 27 0 4
news-out.aioe.org 338 262 0 0 0 0 75 0 1
nk-out.news.weretis.net 318 203 0 0 4 0 58 0 53
feeder.erje.net 128 108 0 0 0 0 18 0 2
news.nntp4.net 66 30 0 0 0 0 36 0 0
newsfeed.endofthelinebb 36 14 0 0 0 0 21 0 1
news.ripco.com 27 24 0 0 0 0 0 0 3
news.trigofacile.com 16 16 0 0 0 0 0 0 0
news.quux.org 9 8 0 0 0 0 0 0 1
news.snarked.org 6 6 0 0 0 0 0 0 0
TOTAL: 12 14135 13696 0 0 5 0 348 0 86
Unwanted newsgroups [Top 20]:
Newsgroup Count
uk.legal.moderated 83
fr.misc.actualite.covid19 48
it.sport.calcio.inter-fc 39
Supposedly-moderated groups with unmoderated postings [Top 20]:
Groups Count
fr.bienvenue 3
On Jun 24, 2022 at 9:49:05 AM CDT, "The Doctor" in ><t94it1$2fcn$42@gallifrey.nk.ca> wrote:
WARNING: can't write in "/usr/local/www/nginx-dist/" as required by -html
switch.
Option -html and -a removed. Please see the -d switch.
WARNING: can't write in "/usr/local/www/nginx-dist/pics" as required by -g >> switch.
Option -g removed. Please see the -p switch.
What needs to be fixed in the configuration files?
And https://www.nk.ca/ is working
The "news" user probably doesn't have write access to >/usr/local/www/nginx-dist. Check the permissions/ownership and adjust as >nececssary.
Hi The Doctor,
Parameters c 731
Do you also have 2 years of article retention in your expire.ctl file?
Usually, this "c" param is set to 10 and should not match article
retention (setting it to 731 means that if you receive an article posted
in 2021, last year, you'll accept it and propagate it instead of
rejecting it because it is older than 10 days).
Log entries by program:Size %Size
Program name Lines %Lines
inn 26367 100.0% 10.1MB 100.0%
MB 100.0%
TOTAL: 1 26367 100.0% 10.1
No nnrpd, innd, innfeed, etc. Only "inn" log entries? It seems that
all of your programs write logs as "inn".
Sites sending bad articles:Line Other
Server Total Group Dist Duplic Unapp TooOld Site
peer.alt119.net 12147 12082 0 0 0 0 640 1
netknow-out.feed.uzoret 667 597 0 0 1 0 490 20
nntp.club.cc.cmu.edu 377 346 0 0 0 0 270 4
news-out.aioe.org 338 262 0 0 0 0 750 1
nk-out.news.weretis.net 318 203 0 0 4 0 580 53
feeder.erje.net 128 108 0 0 0 0 180 2
news.nntp4.net 66 30 0 0 0 0 360 0
newsfeed.endofthelinebb 36 14 0 0 0 0 210 1
news.ripco.com 27 24 0 0 0 0 00 3
news.trigofacile.com 16 16 0 0 0 0 00 0
news.quux.org 9 8 0 0 0 0 00 1
news.snarked.org 6 6 0 0 0 0 00 0
0 86
TOTAL: 12 14135 13696 0 0 5 0 348
You should update the list of the newsgroups you're carrying...
Unwanted newsgroups [Top 20]:Count
Newsgroup
uk.legal.moderated83
Created in 2004!
fr.misc.actualite.covid1948
Created last year.
it.sport.calcio.inter-fc39
Created in 2003.
etc.
Supposedly-moderated groups with unmoderated postings [Top 20]:Count
Groups
fr.bienvenue3
This group is indeed *not* moderated (since 2011).
--
Julien ÉLIE
« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 388 |
Nodes: | 16 (2 / 14) |
Uptime: | 134:04:30 |
Calls: | 8,209 |
Calls today: | 7 |
Files: | 13,122 |
Messages: | 5,871,457 |