🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13476

Re: news.notice is empty?

#13476
From: Karl Sierka
Date: Sat, 21 Dec 1996 00:00
72 lines
3570 bytes
In <59f0pf$vik@node6.frontiernet.net> Dan Foster wrote:
> In article <59ev2j$848@newshub.more.net>,
> News Administrator <news@newshub.more.net> wrote:
> >Dave Pascoe (dave@mathworks.com) wrote:
> >: ManChul Park (mpark@ns.gatech.edu) wrote:
> >: :I don't get anything in/from news.notice from my syslogd...  So, innlog 
isn
> >: :doing anything.  I'm running solaris 2.5.1.  Should I compile and use 
the 
> >: :syslogd that comes with the INN 1.5 distribution?   I do have the 
news.noti
> >: :entry in the syslog.conf file.  Any ideas?
> >: 
> >: Make sure your /etc/syslog.conf entries are right.  These work OK
> >: here:
> >: 
> >: news.info                               /var/log/news/news.notice
> >
> >I have the above entries in /etc/syslog.conf, but I have also the above 
proble
> >I'm running INN1.4sec2 under Sol2.5. Among severl news servers only one 
has
> >the probelm. Due to this problem, news.daily report never covers "syslog
> >summary" part. I'll be happy to know how to fix it.
> 
> Why not change that to:
> 
> news.notice				/var/log/news/news.notice
> 
> That's what I have.. works like a charm. Potential gotcha's is if you
> rotate logs monitored by syslog that involves creating new files, syslog
> seems to keep the old file descriptor open in memory - so the newly 
re-created
> log file doesn't get anything. Solution? Use cp's to rotate logs around. Or
> restart syslogd.
> 
> -Dan Foster
> Internet: dsf@frontiernet.net
> 

	Make sure the perms and ownership are correct. Also, you can run syslogd in 
debug mode and watch it open up all the files, then you can use the logger 
command line util in another window to watch what happens when you log using 
that facility and level. If you having problems, seeing what is happening can 
help.

16 nntp-xfer-2 /var/log/news> dir
total 28966
drwxr-xr-x   3 news     news         512 Dec 21 13:12 ./
drwxr-xr-x   3 news     staff        512 Aug  5 11:22 ../
drwxr-xr-x   2 news     news        3072 Dec 21 12:13 OLD/
-rw-rw----   1 news     news           0 Dec 21 12:09 big-postings.log
-rw-rw----   1 news     news       97713 Dec 21 12:06 control.log
-rw-r--r--   1 news     news           0 Dec 21 12:06 errlog
-rw-rw-r--   1 news     news     11457862 Dec 21 06:38 expire.list
-rw-rw-r--   1 news     news           0 Dec 21 12:06 expire.log
-rw-rw----   1 news     news        1192 Dec 21 12:17 newgroup.log
-rw-r--r--   1 news     news     2807353 Dec 21 13:12 news
-rw-r--r--   1 news     news           0 Dec 21 12:06 news.crit
-rw-r--r--   1 news     news         487 Dec 21 13:00 news.err
-rw-r--r--   1 news     news       56281 Dec 21 13:12 news.notice
-rw-rw----   1 news     news       20165 Dec 21 13:10 nntpsend.log
-rw-rw----   1 news     news           0 Dec 21 12:09 rmgroup.log
-rw-rw----   1 news     news      344598 Dec 21 12:07 unwanted.log

--
Karl Sierka
http://amaze.labyrinth.com


Technical Details
Message-ID: <59hgoq$25n@amaze.labyrinth.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5975o8$93a@smash.gatech.edu> <597deb$85u@turing.mathworks.com>

Show Full Headers
Complete Article Headers
Message-ID: <59hgoq$25n@amaze.labyrinth.com>
Subject: Re: news.notice is empty?
Date: Sat, 21 Dec 1996 00:00:00 +0000
From: karl@amaze.labyrinth.com (Karl Sierka)
References: <5975o8$93a@smash.gatech.edu> <597deb$85u@turing.mathworks.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 205319408
Organization: Labyrinth Computer Services
Cc: dsf@node6.frontiernet.net
Newsgroups: news.software.nntp