Thread View: news.software.nntp
2 messages
2 total messages
Started by Avon
Thu, 18 Jun 2015 09:49
syslog.conf
Author: Avon
Date: Thu, 18 Jun 2015 09:49
Date: Thu, 18 Jun 2015 09:49
51 lines
2506 bytes
2506 bytes
I'm not seeing this file in my Ubuntu setup
The INN manuals says
Edit /etc/syslog.conf on your system and add lines that look like the
following:
news.crit <pathlog in inn.conf>/news.crit
news.err <pathlog in inn.conf>/news.err
news.notice <pathlog in inn.conf>/news.notice
Now my install did create these files and they are owned by news:news and
0 bytes in size.
I then found rsyslog.conf in /etc (this seems to be the ubuntu version of
syslog.conf) and added the following to it.
# INN News Logging
#
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice /var/log/news/news.notice
I used a TAB key between the first and second parameter on each line.
After a system restart I still see no change to the contents of the
news.notice or any of the other two files.
Some of the INN docs suggest I should see some info in the news.notice log
What I do see is the following:
-rw-rw-r-- 1 news news 0 Jun 18 20:03 errlog
-rw-rw-r-- 1 news news 0 Jun 11 07:51 innfeed.log
-rw-rw-r-- 1 news news 3057 Jun 18 21:41 innfeed.status
-rw-rw-r-- 1 news news 0 Jun 10 21:28 news
-rw-r--r-- 1 news news 0 Jun 10 21:28 news.crit
-rw-r--r-- 1 news news 0 Jun 10 21:28 news.err
-rw-r--r-- 1 news news 0 Jun 10 21:28 news.notice
drwxrwxr-x 2 news news 4096 Jan 27 2014 OLD
drwxrwxr-x 2 news news 4096 Jan 27 2014 path
-rw-r--r-- 1 root root 62 Jun 18 21:14 rc.news
Only errlog innfeed.status and rc.news appear to be updating.
With rc.news owned by root:root
Permissions and trying to figure out the logging is frustrating..
Re: syslog.conf
Author: Avon
Date: Thu, 18 Jun 2015 09:53
Date: Thu, 18 Jun 2015 09:53
50 lines
2470 bytes
2470 bytes
Further to all of this I did try to run the nightly maintenance to see
what would happen.
Again I suspect permissions are a problem??
paul@agencynews:/var/log/news$ /usr/lib/news/bin/news.daily expireover
lowmark delayrm
touch: cannot touch '/var/spool/news/incoming/tmp/doex3716': Permission
denied
chmod: cannot access '/var/spool/news/incoming/tmp/doex3716': No such
file or directory
/usr/lib/news/bin/news.daily: line 241: /var/spool/news/incoming/tmp/
doex3716: Permission denied
Server status:
ctlinnd: cannot setup communication (mkstemp failure): Permission denied
Disk usage:
/etc/news 164974160 Kbytes available
(34.6%)
/var/lib/news 164974160 Kbytes available
(34.6%)
/var/log/news 164974160 Kbytes available
(34.6%)
/var/spool/news/articles 164974160 Kbytes available
(34.6%)
/var/spool/news/incoming 164974160 Kbytes available
(34.6%)
/var/spool/news/outgoing 164974160 Kbytes available
(34.6%)
/var/spool/news/overview 164974160 Kbytes available
(34.6%)
Batch file sizes:
Log file sizes:
0 errlog 0 innfeed.log 0 news 0 news.crit 0 news.err 0 news.notice
Lock files:
LOCK.innwatch
Server connections:
1 ()
TOTAL: 1 1
shlock: shlock: Can't open "shlock3771", Permission denied: Permission
denied
cat: /var/run/news/LOCK.news.daily: No such file or directory
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