🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Tim Pennick Wed, 10 Nov 1999 00:00
New groups in error log - Help! (INN 2.2.1)
#41449
Author: Tim Pennick
Date: Wed, 10 Nov 1999 00:00
31 lines
2111 bytes
Hi All,

I'm confused by the use of controlchan.  I have usecontrolchan set to true,
and a newsfeeds entry set up:

controlchan!\
	:!*,control,control.*,!control.cancel\
	:Tc,Wnsm:/var/news/bin/controlchan

My control.ctl file is set up (I think) to log and perform the control
messages, but no action is performed, the expected newgroup.log message is not
created, and the following errorlog results:

Wed Nov 10 11:39:17 1999: starting
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/checkgroups.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/ihave.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/newgroup.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/rmgroup.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/sendme.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/sendsys.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/senduuname.pl
Wed Nov 10 11:39:17 1999: loaded $inn::controlprogs/version.pl
Wed Nov 10 11:51:50 1999: control_newgroup, btintra.test.ng_extra_wed tpennick@axion.bt.co.uk tpennick@axion.bt.co.uk /var/news/spool/articles/control/newgroup/3, not-for-mail, doit=newgroup, 0
Wed Nov 10 12:07:48 1999: control_newgroup, btintra.test.test_nwgp tpennick@axion.bt.co.uk tpennick@axion.bt.co.uk /var/news/spool/articles/control/newgroup/4, bt, doit=newgroup, 0


Once again, any help gratefully accepted.

Tim Pennick

Re: New groups in error log - Help! (INN 2.2.1)
#41577
Author: Jim Conger
Date: Tue, 16 Nov 1999 00:00
26 lines
1838 bytes
Tim,

If you have log entries from controlchan appearing in errlog, it's because it 
is not able to write to syslog.

Controlchan is a Perl script, so you need to run h2ph (comes with Perl) to make 
"Perl header files" from the normal C header files.  You also need to make sure 
the newly created files are readable by user news.

You have to run h2ph as root, and it will produce files only root can read in 
the Perl include directory for your site.  Something like a "chmod -R go+rX" on 
the directory tree created should do the trick.

I forgot to check the permissions on the files and went quite some time wonder 
why the controlchan entries were in errlog, which appears to be the default 
stdout for controlchan and other channels.

The syslog.conf entries that work for all the other stuff running as news 
should work fine and direct the output to news.notice, news.err, etc.

Jim
(remove the "b" and the .invalid" from my address to reply)



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