🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Jim Conger Wed, 11 Aug 1999 00:00
problem with INN 2.2's controlchan and innfeed syslogging on Solaris 2.6
#39106
Author: Jim Conger
Date: Wed, 11 Aug 1999 00:00
46 lines
2123 bytes
I'm stumped with two problems that may or may not be related:


Problem 1: When running as a channel, controlchan does not use syslog.

I've made sure I have the Perl header files created.  I'm using Perl
5.004_04.  The really wierd thing is that if I run it on the command
line with some simulated input it writes to syslog correctly.  While
running as a channel it writes to stdout or stderr and that ends up in
errlog.


Problem 2: Innfeed does not write any connection statistics to syslog.

Innfeed does some stuff to syslog, I see entries about "cxnsleep" and
"connection vanishing", but I don't see any statistics from the
connections.

I found a couple of parameters in innfeed.conf that are related to how
often statistics should be written: I have stats-period set to 600 (10
min) and stats-reset set to 7200 (2 hours).  The status file is being
updated correctly every 10 minutes, so I am sure I understand these
settings.

I don't understand what stdio-fmax is doing since according to the man
page, I need 256, but it runs with 0 and the log is the same with 256
and zero.


Is there something with the way INN starts these as channels?  Are
these unrelated?

I appreciate any pointers or suggestions.

Thanks,
Jim

JimConger2 
at
cs
dot
com



Re: problem with INN 2.2's controlchan and innfeed syslogging on Solaris 2.6
#39147
Author: meow
Date: Fri, 13 Aug 1999 00:00
25 lines
1866 bytes
Jim Conger <abuse@compuserve.com> wrote:

> I'm stumped with two problems that may or may not be related:
> Problem 1: When running as a channel, controlchan does not use syslog.

> I've made sure I have the Perl header files created.  I'm using Perl
> 5.004_04.  The really wierd thing is that if I run it on the command
> line with some simulated input it writes to syslog correctly.  While
> running as a channel it writes to stdout or stderr and that ends up in
> errlog.

By any chance do you have more than one copy/version of perl installed
on your system?  If you're executing the script directly instead of
doing 'perl controlchan' this shouldn't matter, but...

You might try the INN:Syslog module which tries to avoid the worst of
the syslog problems.  It's at <URL:http://members.tripod.com/~gerglery/>
Most surviving variations of controlchan are already wired to use it.

*sigh* Perl is evil.  Evil, I say.  Eeeeeeeeeeeeeeeeeeeeevil.

{snipping the innfeed stuff; that's evil too.  Not as evil as Perl,
but pretty close.}

Re: problem with INN 2.2's controlchan and innfeed syslogging on Solaris 2.6
#39215
Author: meow
Date: Tue, 17 Aug 1999 00:00
18 lines
1461 bytes
Jim Conger <abuse@compuserve.com> wrote:

> I only have one version of Perl, so it's not that.

Darn.

> Thanks for the pointer to the INN::Syslog package.  I've got it and
> will try it.  The documentation with it mentions a command to set
> the logging port... I may have a problem with permissions on
> /dev/log (or what it points to).

You shouldn't.  By default it uses C's syslog functions to do the
work.  The port business only matters if it has to install what's
basically the stock Perl stuff, and that should only get installed on
weird old things like Ultrix that don't have a modern syslog
interface.

Re: problem with INN 2.2's controlchan and innfeed syslogging on Solaris 2.6
#39225
Author: Jim Conger
Date: Tue, 17 Aug 1999 00:00
15 lines
1394 bytes
I only have one version of Perl, so it's not that.

Thanks for the pointer to the INN::Syslog package.  I've got it and will try 
it.  The documentation with it mentions a command to set the logging port... I 
may have a problem with permissions on /dev/log (or what it points to).

But that doesn't explain why innfeed works sometimes.  Sigh.  I the new module 
will fix the Perl part of the problem.

I appreciate the suggestions.

Jim


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