Thread View: news.software.nntp
11 messages
11 total messages
Started by Jean Kirwin
Fri, 03 Sep 1999 00:00
INN 2.2.1 - Logging not working
Author: Jean Kirwin
Date: Fri, 03 Sep 1999 00:00
Date: Fri, 03 Sep 1999 00:00
8 lines
927 bytes
927 bytes
I'm working with INN 2.2.1 on a Solaris 2.6 system. innd is not logging in any of the log files except "news". I know I should be seeing nnrpd connections in news.notice, etc. Is there something other than syslog.conf that I need to configure? Thanks for any help! - Jean
Re: INN 2.2.1 - Logging not working
Author: Russ Allbery
Date: Fri, 03 Sep 1999 00:00
Date: Fri, 03 Sep 1999 00:00
13 lines
1003 bytes
1003 bytes
Jean Kirwin <kirwinja@nswc.navy.mil> writes: > I'm working with INN 2.2.1 on a Solaris 2.6 system. innd is not logging > in any of the log files except "news". I know I should be seeing nnrpd > connections in news.notice, etc. Is there something other than > syslog.conf that I need to configure? You have to create the files. syslog won't create them automatically. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN 2.2.1 - Logging not working
Author: Brad Knowles
Date: Sat, 04 Sep 1999 00:00
Date: Sat, 04 Sep 1999 00:00
18 lines
1436 bytes
1436 bytes
In article <37D056B6.161901AD@nswc.navy.mil>, Jean Kirwin
<kirwinja@nswc.navy.mil> wrote:
> I'm working with INN 2.2.1 on a Solaris 2.6 system. innd is not
> logging in any of the log files except "news". I know I should
> be seeing nnrpd connections in news.notice, etc. Is there
> something other than syslog.conf that I need to configure?
>
> Thanks for any help! - Jean
Nope, syslog.conf should be it. Have you touched the files (so that
they exist), and then sent a HUP signal to syslogd?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: INN 2.2.1 - Logging not working
Author: Jean Kirwin
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
45 lines
2343 bytes
2343 bytes
Brad and Russ: All of the log files exist and have the proper permissions (owned by news, group news, 664). I have the following entries in my syslog.conf file ## Send critical messages to everyone who is logged in and to the console. news.crit * news.crit /dev/console ## Log news messages to separate files. ## Note that each level includes all levels above it: notice includes crit. news.crit /var/news/log/news.crit news.err /var/news/log/news.err news.notice /var/news/log/news.notice And I have restarted syslogd several times (even tried rebooting). I can't figure out what is going on. I've looked through inn.conf trying to find a parameter related to logging. I don't know what could be causing this other than a configuration error (or a Solaris bug!) :^) - Jean Brad Knowles wrote: > > In article <37D056B6.161901AD@nswc.navy.mil>, Jean Kirwin > <kirwinja@nswc.navy.mil> wrote: > > > I'm working with INN 2.2.1 on a Solaris 2.6 system. innd is not > > logging in any of the log files except "news". I know I should > > be seeing nnrpd connections in news.notice, etc. Is there > > something other than syslog.conf that I need to configure? > > > > Thanks for any help! - Jean > > Nope, syslog.conf should be it. Have you touched the files (so that > they exist), and then sent a HUP signal to syslogd? > > -- > Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/> > <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: INN 2.2.1 - Logging not working
Author: Russ Allbery
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
20 lines
1408 bytes
1408 bytes
Brad Knowles <brad@shub-internet.org> writes: > Jean Kirwin <kirwinja@nswc.navy.mil> wrote: >> news.crit /var/news/log/news.crit >> news.err /var/news/log/news.err >> news.notice /var/news/log/news.notice > Is the LHS of this separated from the RHS by spaces or tabs? Some > syslogs care about those sorts of things, so make sure you don't mix > them, and whatever you've got in there now try swapping to the other. I > don't remember off the top of my head whether Sun syslog prefers tabs or > spaces.... Tabs. Tabs are always safe. And yes, Solaris will silently ignore all lines not separated by tabs. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN 2.2.1 - Logging not working
Author: Brad Knowles
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
23 lines
1622 bytes
1622 bytes
In article <37D53FE4.2D9A2BB4@nswc.navy.mil>, Jean Kirwin
<kirwinja@nswc.navy.mil> wrote:
> news.crit /var/news/log/news.crit
> news.err /var/news/log/news.err
> news.notice /var/news/log/news.notice
Is the LHS of this separated from the RHS by spaces or tabs? Some
syslogs care about those sorts of things, so make sure you don't mix them,
and whatever you've got in there now try swapping to the other. I don't
remember off the top of my head whether Sun syslog prefers tabs or
spaces....
If this doesn't solve the problem, I can't think of what will.
Good luck!
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: INN 2.2.1 - Logging not working
Author: Michael Briggs
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
12 lines
1254 bytes
1254 bytes
>> news.crit /var/news/log/news.crit >> news.err /var/news/log/news.err >> news.notice /var/news/log/news.notice I didn't see the original post, but those paths need to be /var/log/news. Not /var/news/log. Michael Briggs
Re: INN 2.2.1 - Logging not working
Author: bill davidsen
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
19 lines
1504 bytes
1504 bytes
In article <936748065.1766609102@news.discover.net>, Michael Briggs <news@arctic.discover.net> wrote: | | >> news.crit /var/news/log/news.crit | >> news.err /var/news/log/news.err | >> news.notice /var/news/log/news.notice | | I didn't see the original post, but those paths need to be /var/log/news. | Not /var/news/log. These filenames can be anything, as long as they exist. See the syslog man page for this. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "So let it be written, so let it be dumb." Pharaoh Dufus the last...
Re: INN 2.2.1 - Logging not working
Author: Thomas Tonino
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
17 lines
1373 bytes
1373 bytes
Russ Allbery wrote: > >> news.crit /var/news/log/news.crit > Tabs. Tabs are always safe. And yes, Solaris will silently ignore all > lines not separated by tabs. I ran into a non-logging syslog on Solaris 7. Fixed it by inserting an empty line (no # or anything) directly above the lines that were not picked up. Bugs? Where? Thomas
Re: INN 2.2.1 - Logging not working
Author: Russ Allbery
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
16 lines
1177 bytes
1177 bytes
bill davidsen <davidsen@tmr.com> writes: > Michael Briggs <news@arctic.discover.net> wrote: >> I didn't see the original post, but those paths need to be >> /var/log/news. Not /var/news/log. > These filenames can be anything, as long as they exist. See the syslog > man page for this. Well, INN has to know where they are if you expect log rotation and innreport to work. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN 2.2.1 - Logging not working
Author: Sico Bruins
Date: Thu, 09 Sep 1999 00:00
Date: Thu, 09 Sep 1999 00:00
26 lines
1582 bytes
1582 bytes
In article <37D631D8.C1EDF038@bio.vu.nl>, Thomas Tonino <ttonino@bio.vu.nl> wrote: >Russ Allbery wrote: > >> >> news.crit /var/news/log/news.crit > >> Tabs. Tabs are always safe. And yes, Solaris will silently ignore all >> lines not separated by tabs. > >I ran into a non-logging syslog on Solaris 7. Fixed it by >inserting an empty line (no # or anything) directly above the >lines that were not picked up. > >Bugs? Where? Sun hasn't managed to fix their annoying syslogd yet, but there's rumours they will come round to doing that next century. In the mean time it's like black magic: you keep making seemingly innocuous and irrelevant changes to /etc/syslog.conf until it works ;-) >Thomas CU, Sico (optimist).
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