Article View: news.software.nntp
Article #60466Re: Cygwin INN port issues
From: itsy bitsy meowbot
Date: Tue, 17 Sep 2002 23:48
Date: Tue, 17 Sep 2002 23:48
107 lines
5345 bytes
5345 bytes
Balthasar Indermuehle wrote:
> Ok, this is a huge mess. I got innd.exe to produce new and different
> error messages. i even got innfeed.exe to produce an error message and
> die...
If you got that far, then innd itself must be basically okay. That's
good news.
> it would probably be most helpful if you could post a complete set of
> configuration files that worked on your system (i.e. inn.conf,
> newsfeeds, incoming.conf, etc...)
I'll see what I can do about this, at least maybe put up what is a
minimally working system. Really, the defaults should basically work,
though.
> everytime I change anything on any of the files, some other error
> messages appear, the worst one I had was a syntax error in
> incoming.conf which resolved itself after deleting the file and
> manually retyping it in vi.
Keep in mind that most files I'm including are basically identical to
what ships in the standard ISC INN. Why don't I list the differences
here, so we all know what's a generic INN 2.3.3 problem or a
Gregism...
- A couple of small mods to nnrpd:
o the nnrpd load averaging stuff is forced to be turned off. This is
done in the configuration headers.
o the setproctitle stuff is #ifdef'd out, because it doesn't behave
well under Cygwin.
- expire names its intermediate files a little bit differently, but
that's far away from your problems.
- news.daily has a few lines added to account for the changes in
expire.
- A few changes are in innd itself:
o icd.c removes and adds lines from active differently than under
Unix. This code only really comes into play when ctlinnd
newgroup/rmgroup are run.
o Channel feeds are forced to use pipes instead of socketpairs, but
again this is a compile-time configuration thing -- the code is
already in stock INN.
o inndstart is basically useless. I've only tweaked it enough to
make peace with gcc, and will probably leave it useless until there
is IPv6 support in Cygwin to make it worth the bother. All you
should expect it to do at present is put up an error message that
it can't start innd.
- innfeed has a couple of useless #include lines commented out.
Apparently there aren't any unix systems that needed them to be there
anyway.
- some junk is added in configure to look for smtpd and make embedded
Perl link right.
- install_sh has a few lines added to deal with that silly .EXE
extension.
- The makefiles do still complain about startinnfeed and inndstart not
being setuid root. This can be ignored, since the programs aren't
needed.
> i edited it in wordpad and saved it as
> text only before that, it appears innd does not like crlf instead of
> just lf...
Yeah, INN will definitely be expecting that Cygwin is configured to use
Unix-style line endings, and that you use an editor that thinks the
same way (The Cygwin flavor of Xemacs is a wonderful choice for this,
unless of course you hate emacs, then I guess it would be a lousy
choice).
> the current state of affairs is innfeed.exe dies yelling seteuid(0)
> failed, permission denied.
Are you using startinnfeed in your newsfeeds file? If yes, use innfeed
instead, startinnfeed won't work. Yeah yeah, I know, I need to get all
this stuff better documented, but it's hard to figure what needs
documenting when too close to these things. You're helping a lot with
my figuring that out, by the way, thanks for your patience here.
> innd dies shouting SERVER can't initialize
> storage subsystem Expected 'method' keyword.
Syntax error in storage.conf. Make sure there are no stray CRLFs in
there. (or maybe you haven't set it up yet?) Also, you might want to
walk through INSTALL again, as long and tedious as it can seem. There
are loads of good, practical advice in there. Also, while inncheck is
not perfect, it's still very useful.
> i'll gladly provide more detailed information if that helps in any
> way.
Let's just keep going on 'til it works, you've already helped me a
whole bunch. I hope I'm being at least marginally useful...
Technical Details
Message-ID:
<mbPh9.2174$t%6.2039@nwrddc02.gnilink.net>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mailReferences:
<005901c25de3$ce5d3710$a52efea9@taurus> <MDAh9.673$%g2.28@nwrddc03.gnilink.net> <a3990644.0209171420.c568449@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <mbPh9.2174$t%6.2039@nwrddc02.gnilink.net> Subject: Re: Cygwin INN port issues Date: Tue, 17 Sep 2002 23:48:34 GMT From: itsy bitsy meowbot <53ab2750@meowing.net> References: <005901c25de3$ce5d3710$a52efea9@taurus> <MDAh9.673$%g2.28@nwrddc03.gnilink.net> <a3990644.0209171420.c568449@posting.google.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.nntp Organization: a tyranny of meowing fascist censor cabalists X-No-Repost: yes Mail-Copies-To: nobody X-Meow: Wouf Lines: 106 NNTP-Posting-Host: 141.154.206.46 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1032306514 141.154.206.46 (Tue, 17 Sep 2002 19:48:34 EDT) NNTP-Posting-Date: Tue, 17 Sep 2002 19:48:34 EDT