Thread View: news.software.nntp
13 messages
13 total messages
Started by Russ Allbery
Mon, 05 Apr 1999 00:00
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Russ Allbery
Date: Mon, 05 Apr 1999 00:00
Date: Mon, 05 Apr 1999 00:00
23 lines
1569 bytes
1569 bytes
Rob Blake <rblake@harlequin.co.uk> writes: > So I compile inn-2.2 OK and install it. It'll take a newsfeed quite > happily. What it won't do, though, is post with inews. I can post with > telnet OK, but inews gives the "Can't connect to server" error. Any > pointers would be greatly appreciated. Sounds like inews is connecting to the wrong server to me. Or doesn't know the correct location of the server socket. This will be easier to debug when you have syslog working. > An added problem is that I'm getting nothing at all through syslog. The > syslog.conf file is set up correctly, but all I get is output to the > "news" file of article IDs. I get the same messages if I run innd in the > foreground, just message IDs, no other errors. Have you created the files that syslog is supposed to log to? syslog won't create files itself. Try that and then give syslogd a HUP signal. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Russ Allbery
Date: Tue, 06 Apr 1999 00:00
Date: Tue, 06 Apr 1999 00:00
32 lines
1905 bytes
1905 bytes
Rob Blake <rblake@harlequin.co.uk> writes: > Indeed. I don't suppose there's any easy way to tell inn to send its > errors somewhere other than syslog? One problem with inews is that the > server is running on a non-standard port. I know inews gets its info > from inn.conf, but which particular entry tells it which port to look > for the server on? Just "port", I *think*, but I'm actually not sure. If you're running inews on the server itself, though, it's probably trying to use the Unix domain socket (or at least it probably should). Less overhead. > Yup, tried that. Still no joy. That's very, very odd. I've had no problems with syslog on Solaris 2.6. Standard things to check: Is your syslog.conf tab-separated? Are you getting any errors from syslog in your other logs? Have you tried killing syslog completely and restarting it from scratch? Are the news entries in the right order? I'm using: news.crit /var/news/log/news.crit news.err /var/news/log/news.err news.notice /var/news/log/news.notice except *tab-separated* as is required by syslog on Solaris. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Russ Allbery
Date: Tue, 06 Apr 1999 00:00
Date: Tue, 06 Apr 1999 00:00
15 lines
1252 bytes
1252 bytes
Thomas Tonino <ttonino@bio.vu.nl> writes: > I've seen Solaris 7 syslog not logging unless an empty line was present > mediately before the news. lines. Grrrr! Solaris syslog is ludicriously picky. There's really no good excuse for it; it's not like the pickiness is preventing security holes or anything. If anything, it's contributing to them. I don't know why they don't fix the parser so that it will accept arbitrary whitespace and stop beeing so finicky. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Thomas Tonino
Date: Wed, 07 Apr 1999 00:00
Date: Wed, 07 Apr 1999 00:00
17 lines
1441 bytes
1441 bytes
Russ Allbery wrote: > That's very, very odd. I've had no problems with syslog on Solaris 2.6. > Standard things to check: Is your syslog.conf tab-separated? I've seen Solaris 7 syslog not logging unless an empty line was present mediately before the news. lines. Grrrr! Well maybe this helps. Maybe it doesn't. Try logging using the handy 'logger' utility. logger -p news.notice testmessage1 should do the trick to see if inn or syslog is at fault. Thomas
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Andrew Gierth
Date: Wed, 07 Apr 1999 00:00
Date: Wed, 07 Apr 1999 00:00
17 lines
1641 bytes
1641 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes: >> That's very, very odd. I've had no problems with syslog on Solaris 2.6. Brad> I don't suppose that this might be related to the Brad> multi-threaded syslog problems that have been mentioned Brad> elsewhere, could it? Did they multi-thread syslogd as early as Brad> Solaris 2.6, or is that new for Solaris 2.7/7? syslogd on 2.6 is multithreaded, and I've had problems like it dying when sent a SIGHUP, and leaking memory all over the place. Seems OK once the relevent patches are installed though. -- Andrew.
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: hume.spamfilter
Date: Wed, 07 Apr 1999 00:00
Date: Wed, 07 Apr 1999 00:00
12 lines
1256 bytes
1256 bytes
Brad Knowles <brad@shub-internet.org> wrote: : multi-thread syslogd as early as Solaris 2.6, or is that new for Solaris : 2.7/7? Solaris 2.6 syslogd (at the very least, the "patched" version...) is multithreaded. -- Brandon Hume - hume -> bofh.halifax.ns.ca, http://www.bofh.halifax.ns.ca/
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Russ Allbery
Date: Wed, 07 Apr 1999 00:00
Date: Wed, 07 Apr 1999 00:00
14 lines
1291 bytes
1291 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: > syslogd on 2.6 is multithreaded, and I've had problems like it dying > when sent a SIGHUP, and leaking memory all over the place. Seems OK once > the relevent patches are installed though. I'll second that. syslogd on stock 2.6 will die after the second time you SIGHUP it, unless you have the latest patches installed. With the latest syslogd patches, it seems stable. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Brad Knowles
Date: Wed, 07 Apr 1999 00:00
Date: Wed, 07 Apr 1999 00:00
17 lines
1455 bytes
1455 bytes
In article <yl90c5qoau.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> That's very, very odd. I've had no problems with syslog on Solaris 2.6.
I don't suppose that this might be related to the multi-threaded
syslog problems that have been mentioned elsewhere, could it? Did they
multi-thread syslogd as early as Solaris 2.6, or is that new for Solaris
2.7/7?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
If you wouldn't take out a one-page ad in the Wall Street
Journal to say something, then don't say it by email.
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Jeremy
Date: Thu, 08 Apr 1999 00:00
Date: Thu, 08 Apr 1999 00:00
16 lines
1387 bytes
1387 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Solaris syslog is ludicriously picky. There's really no good excuse
> for it; it's not like the pickiness is preventing security holes or
> anything. If anything, it's contributing to them. I don't know why
> they don't fix the parser so that it will accept arbitrary whitespace
> and stop beeing so finicky.
It'd be nice if they made it not die half the time when you hup it, too.
--
Jeremy | jeremy@exit109.com
"I wish to have no connection with any ship that does not sail fast;
for I intend to go in harm's way." --John Paul Jones
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Russell Vincent
Date: Thu, 08 Apr 1999 00:00
Date: Thu, 08 Apr 1999 00:00
13 lines
1244 bytes
1244 bytes
Rob Blake <rblake@harlequin.co.uk> wrote: > Now, this is a slight but annoying problem, but going from the inews > man pages I assumed this kind of thing was configurable in inn.conf like > it is for innd. Is this a bug or a feature? Feature. There is no inn.conf option for the inews port and the 'nnrpdpostport' option is documented as nnrpd and rnews only. Perhaps it should also apply to inews. -Russell
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Katsuhiro Kondou
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
13 lines
1719 bytes
1719 bytes
In article <7ei6jr$klt$1@wave.cam.uk.internal>, Russell Vincent <russellv-n@nosp.uk.uu.net> wrote; } Feature. There is no inn.conf option for the inews port and the } 'nnrpdpostport' option is documented as nnrpd and rnews only. Perhaps } it should also apply to inews. I don't think so. nnrpdpostport is used to pass articles to innd. inews passes an article to nnrpd. -- Katsuhiro Kondou
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Steinar Haug
Date: Tue, 13 Apr 1999 00:00
Date: Tue, 13 Apr 1999 00:00
11 lines
1146 bytes
1146 bytes
[Russ Allbery] | That's very, very odd. I've had no problems with syslog on Solaris 2.6. We've seen multiple cases of syslogd simply stopping to log messages on Solaris 2.6. It's still running, just not doing anything. Stopping and restarting it works. Steinar Haug, Nethelp consulting, sthaug@nethelp.no
Re: INN-2.2 + Solaris 2.6 - inews & syslog problems
Author: Russ Allbery
Date: Tue, 13 Apr 1999 00:00
Date: Tue, 13 Apr 1999 00:00
15 lines
1273 bytes
1273 bytes
Steinar Haug <sthaug@nethelp.no> writes: > We've seen multiple cases of syslogd simply stopping to log messages on > Solaris 2.6. It's still running, just not doing anything. Stopping and > restarting it works. Patch the system. Known bug, there's a patch to syslogd specifically to fix it. Haven't had this problem anywhere since patching; prior to patching, syslog would either die the second time it was HUP'd or just drift off and stop logging anything. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
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