Thread View: news.software.nntp
19 messages
19 total messages
Started by Avon
Sun, 28 Jun 2015 04:42
news.notice
Author: Avon
Date: Sun, 28 Jun 2015 04:42
Date: Sun, 28 Jun 2015 04:42
19 lines
1258 bytes
1258 bytes
How often should I see something in this log? My Ubuntu system is not logging anything to it. The file has been created, it's owned by news:news I have found Ubuntu uses syslogd and looks to /etc/rsyslog.d/50- default.conf In there I can see: news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice -/var/log/news/news.notice Any suggestions welcome. Thanks, Paul
Re: news.notice
Author: John F. Morse
Date: Mon, 29 Jun 2015 03:26
Date: Mon, 29 Jun 2015 03:26
34 lines
1830 bytes
1830 bytes
On 06/27/2015 11:42 PM, Avon wrote: > How often should I see something in this log? > My Ubuntu system is not logging anything to it. > The file has been created, it's owned by news:news > I have found Ubuntu uses syslogd and looks to /etc/rsyslog.d/50- > default.conf > > In there I can see: > > news.crit /var/log/news/news.crit > news.err /var/log/news/news.err > news.notice -/var/log/news/news.notice > > Any suggestions welcome. > > Thanks, Paul Ubuntu has given me a lot of gray hair. I switched to Debian in 2009 and have never had any issues. Seems Ubuntu is not a serious server distro. They never fixed my issue, to wit: https://bugs.launchpad.net/ubuntu/+source/inn2/+bug/374843 -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: news.notice
Author: Richard Kettlewell
Date: Mon, 29 Jun 2015 08:26
Date: Mon, 29 Jun 2015 08:26
42 lines
2687 bytes
2687 bytes
"John F. Morse" <john@example.invalid> writes: > On 06/27/2015 11:42 PM, Avon wrote: >> How often should I see something in this log? >> My Ubuntu system is not logging anything to it. >> The file has been created, it's owned by news:news >> I have found Ubuntu uses syslogd and looks to /etc/rsyslog.d/50- >> default.conf >> >> In there I can see: >> >> news.crit /var/log/news/news.crit >> news.err /var/log/news/news.err >> news.notice -/var/log/news/news.notice >> >> Any suggestions welcome. >> >> Thanks, Paul > > > Ubuntu has given me a lot of gray hair. I switched to Debian in 2009 > and have never had any issues. > > Seems Ubuntu is not a serious server distro. They never fixed my > issue, to wit: > > https://bugs.launchpad.net/ubuntu/+source/inn2/+bug/374843 INN’s relationship to syslog is a bit of a mess. There are problems in Debian too: https://bugs.debian.org/643960 I have some unsubmitted patches (still in testing, and by now I think in need of rebasing) which improve matters in certain ways, but they won’t affect downstreams like Debian or Ubuntu until (i) submitted (ii) adopted by the downstreams and (iii) fully integrated by downstream. Usenet and INN are minority interests today, I don’t think poor support makes something ‘not a serious server distribution’. -- http://www.greenend.org.uk/rjk/
Re: news.notice
Author: Bruce Esquibel
Date: Mon, 29 Jun 2015 11:44
Date: Mon, 29 Jun 2015 11:44
26 lines
1534 bytes
1534 bytes
Avon <avon@bbs.geek.nz.invalid> wrote: > In there I can see: > news.crit /var/log/news/news.crit > news.err /var/log/news/news.err > news.notice -/var/log/news/news.notice > Any suggestions welcome. I have one that would be surprising if it was still needed but the traditional syslog didn't have the ability to create files. Maybe it was a feature more than a bug. I'm just saying if those files aren't in /var/log/news, you need to create them (using touch is fine) before syslog will write to them. Other like syslog-ng can create them on the fly but the native stuff usually didn't. -bruce bje@ripco.com
Re: news.notice
Author: Julien ÉLIE
Date: Mon, 29 Jun 2015 12:42
Date: Mon, 29 Jun 2015 12:42
19 lines
1659 bytes
1659 bytes
Hi Paul, > How often should I see something in this log? > My Ubuntu system is not logging anything to it. > The file has been created, it's owned by news:news > I have found Ubuntu uses syslogd and looks to /etc/rsyslog.d/50- > default.conf Nothing in /var/log/messages too? Have you tried to restart rsyslog? (service rsyslog restart) I for one use syslog-ng but I believe rsyslog should work! -- Julien ÉLIE « Cette obscure clarté qui tombe des étoiles. » (Pierre Corneille)
Re: news.notice
Author: Avon
Date: Wed, 01 Jul 2015 07:44
Date: Wed, 01 Jul 2015 07:44
29 lines
1804 bytes
1804 bytes
On Mon, 29 Jun 2015 11:44:03 +0000, Bruce Esquibel wrote: > I have one that would be surprising if it was still needed but the > traditional syslog didn't have the ability to create files. Maybe it was > a feature more than a bug. > > I'm just saying if those files aren't in /var/log/news, you need to > create them (using touch is fine) before syslog will write to them. Hi Bruce, Thank you :) I can confirm all three files were created at install. I did do a manual touch of news.notice to see if that would help. It did nothing other than update the date/time stamp of the 0kb file. If I run news.daily it will move these 0kb files to old an gzip them then create fresh empty files. Rsyslog is running to some extent as I can see it updating syslog in /var/ log and inside are lines of info from innfeed and innd etc. Best, Paul
Re: news.notice
Author: Avon
Date: Wed, 01 Jul 2015 07:56
Date: Wed, 01 Jul 2015 07:56
37 lines
1755 bytes
1755 bytes
On Mon, 29 Jun 2015 14:42:11 +0200, Julien ÉLIE wrote: > Nothing in /var/log/messages too? > Have you tried to restart rsyslog? (service rsyslog restart) > > I for one use syslog-ng but I believe rsyslog should work! Hi Julien. There is no /var/log/messages directory on my Ubuntu install There are files such as mail.log auth.log kern.log and syslog being updated. I found this in rsyslog.d/50-default.conf - all commented out. # # Some "catch-all" log files. # #*.=debug;\ # auth,authpriv.none;\ # news.none;mail.none -/var/log/debug #*.=info;*.=notice;*.=warn;\ # auth,authpriv.none;\ # cron,daemon.none;\ # mail,news.none -/var/log/messages I did try a restart but apart from showing a restart in syslog it has not fixed the missing logging in news.notice ;( Best, Paul
Re: news.notice
Author: Avon
Date: Wed, 01 Jul 2015 08:55
Date: Wed, 01 Jul 2015 08:55
34 lines
1707 bytes
1707 bytes
On Wed, 01 Jul 2015 07:56:33 +0000, Avon wrote: I did create a news.notice in /var/log and chown syslog:adm This worked and news events started to flow to the file. I then tried chown syslog:news /var/log/news/news.notice This also worked! I then ran news.daily and it happily filed the current files into /old and best of all continued to honour a fresh news.notice with the same syslog:news permissions. So it does seem to be related to file ownership which is something I saw noted in Richards Debian bug reports. If I stick with chown news:news /var/log/news/news.notice it fails as before. I'll keep prodding but I may **fingers crossed** be out of the woods with this issue. Best, Paul
Re: news.notice
Author: Feliks Tofund
Date: Sat, 04 Jul 2015 20:48
Date: Sat, 04 Jul 2015 20:48
61 lines
3018 bytes
3018 bytes
Am 01.07.2015 um 10:55 schrieb Avon: > On Wed, 01 Jul 2015 07:56:33 +0000, Avon wrote: > > I did create a news.notice in /var/log and chown syslog:adm > > This worked and news events started to flow to the file. > > I then tried chown syslog:news /var/log/news/news.notice > > This also worked! > > I then ran news.daily and it happily filed the current files into /old > and best of all continued to honour a fresh news.notice with the same > syslog:news permissions. > > So it does seem to be related to file ownership which is something I saw > noted in Richards Debian bug reports. > > If I stick with chown news:news /var/log/news/news.notice it fails as > before. > > I'll keep prodding but I may **fingers crossed** be out of the woods with > this issue. > > Best, Paul The problem is file ownership and access rights. When the INN2 logrotator moves the logfiles ant creates new empty ones it may be that after then syslog cannot write to them any more. I have -rw-rw---- 1 news adm 0 Jul 4 04:18 news.crit -rw-rw---- 1 news adm 148 Jul 4 18:28 news.err -rw-rw---- 1 news adm 2890647 Jul 4 22:38 news.notice So user news can read and write and group adm for the syslog system to read and write. Additionally in /etc/rsyslog.d/50-default.conf # # Logging for INN news system. # $FileCreateMode 0666 news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice -/var/log/news/news.notice $FileCreateMode 0640 The 2 $FileCreateMode lines may be are not needed, it is from my tries to make both rsyslog and inn2 have nicely access to the logs. Feliks http://www.news.datemas.de
Re: news.notice
Author: Avon
Date: Sat, 11 Jul 2015 05:05
Date: Sat, 11 Jul 2015 05:05
28 lines
1987 bytes
1987 bytes
On 06/28/15, John F. Morse pondered and said...
JF> Ubuntu has given me a lot of gray hair. I switched to Debian in 2009 and
JF> have never had any issues.
JF>
JF> Seems Ubuntu is not a serious server distro. They never fixed my issue,
John which version of Debian are you using?
Whilst I continue to work on my Ubuntu setup I am going to build a different
machine with Debian and also explore that and a INN setup as well.
For anyone reading I would be interested to hear which OS they are using and
their recommendations for a OS platform I could/should opt for in terms of
stablity etc.
Re Debian I am unsure if I should look at Jessie or Wheezy. It would seem the
latest is the way to go?
Thanks guys.
Best, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: news.notice
Author: Julien ÉLIE
Date: Sat, 11 Jul 2015 12:46
Date: Sat, 11 Jul 2015 12:46
30 lines
2232 bytes
2232 bytes
Hi Paul, > For anyone reading I would be interested to hear which OS they are using and > their recommendations for a OS platform I could/should opt for in terms of > stablity etc. > > Re Debian I am unsure if I should look at Jessie or Wheezy. It would seem the > latest is the way to go? I'm running my news server on Debian. It is currently an old version (Etch) but I plan on moving to another server this year; it will be running Debian Jessie. I find Debian pretty stable. Note that I do not use the Debian inn2 package; I build INN from sources. Yet, the Debian package works of course fine so it is up to you to decide whether you prefer the inn2 package or to build from sources. (That's why I am able to run the latest version of INN, even though still in Debian Etch.) I believe FreeBSD and Fedora would also be good choices; the packages are also kept up-to-date on these platforms. -- Julien ÉLIE « – Où vous croyez-vous ici ? – Où je me trouve, je sais. » (Astérix)
Re: news.notice
Author: The Doctor
Date: Sat, 11 Jul 2015 15:35
Date: Sat, 11 Jul 2015 15:35
43 lines
2579 bytes
2579 bytes
In article <mnr36g$d3k$1@news.trigofacile.com>, =?UTF-8?Q?Julien_=c3=89LIE?= <iulius@nom-de-mon-site.com.invalid> wrote: >Hi Paul, > >> For anyone reading I would be interested to hear which OS they are using and >> their recommendations for a OS platform I could/should opt for in terms of >> stablity etc. >> >> Re Debian I am unsure if I should look at Jessie or Wheezy. It would seem the >> latest is the way to go? > >I'm running my news server on Debian. It is currently an old version >(Etch) but I plan on moving to another server this year; it will be >running Debian Jessie. >I find Debian pretty stable. >Note that I do not use the Debian inn2 package; I build INN from >sources. Yet, the Debian package works of course fine so it is up to >you to decide whether you prefer the inn2 package or to build from >sources. (That's why I am able to run the latest version of INN, even >though still in Debian Etch.) > > >I believe FreeBSD and Fedora would also be good choices; the packages >are also kept up-to-date on these platforms. > >-- >Julien ÉLIE > >« Où vous croyez-vous ici ? > Où je me trouve, je sais. » (Astérix) On another note. Just wondering if on my box we can 1) Zero out any erros in the tests 2) make certain expires does not linger forever. -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism Abuse a man unjustly, and you will make friends for him. -Edgar Watson Howe
Re: news.notice
Author: John F. Morse
Date: Sat, 11 Jul 2015 21:48
Date: Sat, 11 Jul 2015 21:48
57 lines
2878 bytes
2878 bytes
On 07/11/2015 12:05 AM, Avon wrote: > On 06/28/15, John F. Morse pondered and said... > > JF> Ubuntu has given me a lot of gray hair. I switched to Debian in 2009 and > JF> have never had any issues. > JF> > JF> Seems Ubuntu is not a serious server distro. They never fixed my issue, > > John which version of Debian are you using? > > Whilst I continue to work on my Ubuntu setup I am going to build a different > machine with Debian and also explore that and a INN setup as well. > > For anyone reading I would be interested to hear which OS they are using and > their recommendations for a OS platform I could/should opt for in terms of > stablity etc. > > Re Debian I am unsure if I should look at Jessie or Wheezy. It would seem the > latest is the way to go? > > Thanks guys. > > Best, Paul Paul, I have used Debian's Woody, Sarge, Etch, Lenny, Squeeze, and Wheezy. I have not yet upgraded to Jessie except for a couple of non-INN boxen. Four of my INN servers are still running 6.0.10 (Squeeze), while the main reader server runs 7.8 (Wheezy). I install Debian using the Advanced Options from the boot menu, then select the Expert Install (all text) choice. Additional components installed are portmem-reiserfs and reiserfs-modules for my choice of the reiserfs. I didn't see any references to reiserfs with Jessie, so I may not upgrade the INN servers to it. I believe in "if it ain't broke, don't fix it"! ;-) I do not install any GUI, but I do add the SSH server if it is not automatically installed. After installation and testing, all servers run headless in my cooler basement, and are administered via SSH from three floors above. YMMV of course. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: news.notice
Author: Julien ÉLIE
Date: Mon, 13 Jul 2015 14:19
Date: Mon, 13 Jul 2015 14:19
51 lines
2951 bytes
2951 bytes
Hi The Doctor,
> On another note. Just wondering if on my box we can
> 1) Zero out any erros in the tests
>
> 2) make certain expires does not linger forever.
I know it's not the first time you have asked but I do not
manage to write you. You told me 37.59.0.0/16 is firewalled
but, well, my MX server is in that IP range...
I always receive an error daemon message a few days after:
connect to doctor.nl2k.ab.ca[204.209.81.1]:25:
Connection timed out
Couldn't you whitelist my MX server?
I'm sending mails from smtp.dinauz.org (37.59.56.11, 2001:41d0:8:730b::1).
I do not manage to log on the account you once created
me on your server. Maybe I am not using the right password,
or you deactivated the SSH account.
Another point: are you sure your INN installation is right?
Because last time I checked your reports on can.canet.stats,
there were unusual things.
innd: dbzstore error /var/news/etc/history:[5370FD51FEA93B908A87AE7CB13AD9D8]@2014389073 Interrupted system call
mcount: gmon.out: Permission denied
Unknown entries from news log file:
First 50 / 63512 lines (0.1%)
Apr 6 01:00:39 ns2 doctor[3]: innfeed[11280]: news.albasani.net:0 connect: No route to host
Apr 6 01:00:39 ns2 doctor[3]: innd: news.snarked.org:108 NCmode "MODE STREAM" received
Apr 6 01:00:44 ns2 doctor[3]: innfeed[996]: aioe.org:0 checkpoint seconds 10082 offered 3223 accepted 0 refused 3201 rejected 0 accsize 0 rejsize 0
Apr 6 01:00:51 gallifrey doctor[3]: innd: ctlinnd command E
Such entries should not have been considered "unknown" by innreport.
--
Julien ÉLIE
« – Où vous croyez-vous ici ?
– Où je me trouve, je sais. » (Astérix)
Re: news.notice
Author: Avon
Date: Wed, 15 Jul 2015 10:00
Date: Wed, 15 Jul 2015 10:00
38 lines
2401 bytes
2401 bytes
On 07/11/15, John F. Morse pondered and said...
JF> Paul, I have used Debian's Woody, Sarge, Etch, Lenny, Squeeze, and
JF> Wheezy. I have not yet upgraded to Jessie except for a couple of non-INN
JF> boxen.
Well that makes you a Debian veteran in me eyes :)
JF> I install Debian using the Advanced Options from the boot menu, then
JF> select the Expert Install (all text) choice.
I have yet to brave that experience but I have installed Jessie twice now and
each time dialled back the graphic interface option. Give me a few more
installs and I might get there yet.
JF> Additional components installed are portmem-reiserfs and
JF> reiserfs-modules for my choice of the reiserfs.
Sadly I don't know what this refers to but google will be my friend in a
second.
JF> I do not install any GUI, but I do add the SSH server if it is not
JF> automatically installed.
JF>
JF> After installation and testing, all servers run headless in my cooler
JF> basement, and are administered via SSH from three floors above.
Good idea, one I think I will follow in time.
Thanks for the info John, appreciate your reply.
Best, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: news.notice
Author: Avon
Date: Wed, 15 Jul 2015 10:06
Date: Wed, 15 Jul 2015 10:06
40 lines
2645 bytes
2645 bytes
On 07/11/15, =?UTF-8?Q?Julien_=c3=89LIE?= pondered and said...
=?> Hi Paul,
Hi Julien ;)
=?> (Etch) but I plan on moving to another server this year; it will be
=?> running Debian Jessie.
=?> I find Debian pretty stable.
=?> Note that I do not use the Debian inn2 package; I build INN from
=?> sources. Yet, the Debian package works of course fine so it is up to
=?> you to decide whether you prefer the inn2 package or to build from
=?> sources. (That's why I am able to run the latest version of INN, even
=?> though still in Debian Etch.)
Your reply motived me to pull a 64 bit amd version of Debian Jessie down and
install it on a test system. I then pulled down a copy of INN 2.5.5 and
managed to get it to compile.
There were some errors I had to get make to ignore when it hit compiling innd
but after that I had binaries etc.
I was really usure as to the best locations to point various INN paths to so
just went with the default install set up.
I've subsequently reinstalled Debian and had another go at setting up INN but
this time just apt-get install inn2 to see how that went, again it seemed to
do the basic install ok but you do end up wishing you had the latest version
that you know is up on the website ;)
Do you know if the inn2 package for Jessie has large file support enabled? I
think (from memory) it does.
Best, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: news.notice
Author: Julien ÉLIE
Date: Wed, 15 Jul 2015 20:46
Date: Wed, 15 Jul 2015 20:46
78 lines
3532 bytes
3532 bytes
Hi Paul,
> Your reply motived me to pull a 64 bit amd version of Debian Jessie down and
> install it on a test system. I then pulled down a copy of INN 2.5.5 and
> managed to get it to compile.
>
> There were some errors I had to get make to ignore when it hit compiling innd
> but after that I had binaries etc.
Could you please try to build INN 2.6.0rc2 available at:
http://ftp.isc.org/isc/inn/testing/
Just build it, no need to install it if you don't want to use it.
I would be interested in knowing whether you also encounter errors when
building INN 2.6.0rc2. This way, we could investigate them so as to fix
them for the final INN 2.6.0 release.
> I was really unsure as to the best locations to point various INN paths to so
> just went with the default install set up.
You can see the configure flags used for the Debian package here:
http://sources.debian.net/src/inn2/2.5.4-3/debian/rules/
../configure \
--with-perl \
--with-openssl \
--enable-ipv6 \
--prefix=/usr/lib/news \
--libdir=/usr/lib/news \
--mandir=/usr/share/man \
--sysconfdir=/etc/news \
--includedir=/usr/include \
--with-db-dir=/var/lib/news \
--with-filter-dir=/etc/news/filter \
--with-log-dir=/var/log/news \
--with-run-dir=/run/news \
--with-spool-dir=/var/spool/news \
--with-tmp-dir=/var/spool/news/incoming/tmp \
--with-http-dir=/var/www/inn \
--with-libperl-dir=/usr/share/perl5 \
--with-berkeleydb=/usr \
--with-kerberos=/usr \
--with-sasl=/usr \
--with-sendmail=/usr/sbin/sendmail \
--with-zlib=/usr \
> I've subsequently reinstalled Debian and had another go at setting up INN but
> this time just apt-get install inn2 to see how that went, again it seemed to
> do the basic install ok
Is logging working fine with the inn2 package? I hope it is.
> but you do end up wishing you had the latest version
> that you know is up on the website ;)
Then you will definitely soon be longing for running INN 2.6.0 :)
> Do you know if the inn2 package for Jessie has large file support enabled? I
> think (from memory) it does.
Yes, it has.
Anyway, as Richard and Russ wisely said, 64-bit version has it enabled.
--
Julien ÉLIE
« Mon âme a son secret, ma vie a son mystère. » (Félix Arvers)
Testing INN Builds
Author: Avon
Date: Thu, 16 Jul 2015 00:30
Date: Thu, 16 Jul 2015 00:30
41 lines
2560 bytes
2560 bytes
=?> Could you please try to build INN 2.6.0rc2 available at:
=?> http://ftp.isc.org/isc/inn/testing/
Hi Julien.
OK will do. I'm going to start fresh with fresh install of Jessie. Will
report back on progress.
=?> You can see the configure flags used for the Debian package here:
=?>
=?> http://sources.debian.net/src/inn2/2.5.4-3/debian/rules/
Thank you. So these are the flags that are the suggested best paths to set
INN2 up with when building it on Debian?
Is there any benefit or good reason to use the default paths that INN2
installs to without invoking those flags to force certain paths etc.?
It seems the docs suggest there is a benefit it having all files hung off a
local usr directory?
=?> Is logging working fine with the inn2 package? I hope it is.
To be honest I have not looked, will do so before I blow up the install and
try that build exercise for you.
=?> Then you will definitely soon be longing for running INN 2.6.0 :)
Yes you are correct I would like to run the latest most stable version. I am
still quite new to INN and yet to fully set up a running server but am
spending the time to really try and understand things first.
Appreciate the guidance and support from yourself, richard, john and others :)
Best, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: Testing INN Builds
Author: Julien ÉLIE
Date: Thu, 16 Jul 2015 17:55
Date: Thu, 16 Jul 2015 17:55
50 lines
2678 bytes
2678 bytes
Hi Paul, >> You can see the configure flags used for the Debian package here: >> >> http://sources.debian.net/src/inn2/2.5.4-3/debian/rules/ > > Thank you. So these are the flags that are the suggested best paths to set > INN2 up with when building it on Debian? Yes they are. > Is there any benefit or good reason to use the default paths that INN2 > installs to without invoking those flags to force certain paths etc.? If you use the default Debian paths for INN, your whole Debian is consistent (you will find logs of all your programs at the same place, libraries, configuration files...). >> Then you will definitely soon be longing for running INN 2.6.0 :) > > Yes you are correct I would like to run the latest most stable version. A few people here regularly take snapshots and install them. Even the CURRENT version (which is in fact quite stable in practice). Note that upgrading an existing install is pretty simple. wget the snapshot from http://ftp.isc.org/isc/inn/snapshots/ tar xvzf the snapshot cd the directory of the untarred snapshot ../configure [along with the flags you use] make [If you want, you can then do "make check" to run the test suite.] Then as the root user: /etc/init.d/inn2 stop make update /etc/init.d/inn2 start That's all. Note that it is "make update" and not "make install". -- Julien ÉLIE « Mon âme a son secret, ma vie a son mystère. » (Félix Arvers)
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