Article View: news.software.nntp
Article #60449Re: Cygwin INN port issues
From: greg andruk
Date: Tue, 17 Sep 2002 07:14
Date: Tue, 17 Sep 2002 07:14
65 lines
3973 bytes
3973 bytes
[in configure]
> smtp path needs to be explicitly given.
This is intentional. The copy of configure I distribute will try to
find ssmtp and report on what it finds, but it won't automatically use
it. While ssmtp is the closest thing to sendmail that is shipped with
Cygwin, I don't really recommend using it in a non-interactive
application like INN. It lacks the error recovery/retry bits found in a
real MTA.
exim is available for Cygwin, and I would suggest installing and using
that for the MTA.
> After 'make install' I installed innd.exe as a service using your
> command:
> cygrunsrv -I INN -a '-f' -o -p /usr/local/news/bin/innd.exe -u news -w
> news
> and granted log on as a service right to news user on w2k system. I also
> initialized the DB using this command:
> /usr/local/news/db/ ../bin/makedbz -f ./history -I
(I assume that first part was a shell prompt) Is this a cut and paste of
the command you used? -I is not a valid option. Are history (it needs
to be created with `touch history' or `makehistory' before makedbz will
work) and history.* present in the db directory?
> Then I tried to start the service. It fails, writing 6 messages to the
> event log:
[...]
innd : SERVER cant dbzinit /usr/local/news/db/history No such file or
directory.
Yeah, I'd double-check the history creation stuff above. And the file
ownership, if they are present.
starting service `INN' failed: execv: 1, Operation not permitted.
Hmm. Can you log onto the system interactively as the news user and run
innd? I wouldn't recommend trying to start it as a service until this
works correctly. But I'd worry about the history problem first.
By the way, you don't really need to create a separate group for INN to
work, you can use one of the existing groups such as None.
Here is a bit of the preliminary documentation I'll be putting up on the
Web pages at some point, to help explain my nonchalance over the heresy
of using a generic group (the Cygwin FAQ also points this stuff out, but
I think it's important enough to be redundant):
The Cygwin environment is not designed to be secure in a multiuser
setting. It's fine to have other people connect to your news server,
but you only want to give trusted people Windows accounts on the
machine where you run INN. This means, for example, that you really
don't want to add your system to the same domain or workgroup as your
accounting department, or even be thinking about running stuff like
that on the same machine. Assume that if users have permission
to run any programs on this machine, they have permission to run all
programs on this machine. You'll sleep better.
Technical Details
Message-ID:
<MDAh9.673$%g2.28@nwrddc03.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc03.gnilink.net.POSTED!53ab2750!not-for-mailReferences:
<005901c25de3$ce5d3710$a52efea9@taurus>Show Full Headers
Complete Article Headers
Message-ID: <MDAh9.673$%g2.28@nwrddc03.gnilink.net> Subject: Re: Cygwin INN port issues Date: Tue, 17 Sep 2002 07:14:52 GMT From: greg andruk <gja@meowing.net> References: <005901c25de3$ce5d3710$a52efea9@taurus> 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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc03.gnilink.net.POSTED!53ab2750!not-for-mail Organization: a tyranny of meowing fascist censor cabalists User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 64 NNTP-Posting-Host: 141.154.206.46 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc03.gnilink.net 1032246892 141.154.206.46 (Tue, 17 Sep 2002 03:14:52 EDT) NNTP-Posting-Date: Tue, 17 Sep 2002 03:14:52 EDT