X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: [cygrunsrv] problem starting exim as service Date: Sun, 11 Mar 2007 16:02:34 -0500 Lines: 89 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Peatey wrote: > I'm having a frustrating time trying to get exim (current, 4.66-1) to > start as service. I'd appreciate any help to get exim to work as > sendmail so I can get crontab started with MAILTO=3D. >=20 > I was broadly following the steps outlined at > http://pigtail.net/LRP/exim/exim-cygwin.html until the failure to > start as service. The in-famous pigtail site... did you read his comments at the main page? > So I checked > /usr/share/doc/Cygwin/exim-4.66-1.README which tells me that: Now that's better, but you have strange directory ownership all over, did y= ou create the directories yourself? [snip] > OK. /etc/exim.conf created from /etc/defaults/etc/exim.conf. ------^^^^^^^^^^^^^^ BTW, this is the configuration file not the second one. > Looking for the fully qualified primary hostname. ------------------^^^^^ > Is it "peatey1"? (yes/no) yes That's not a _fully_qualified_ host name. [snip] > Enter the value of CYGWIN for the daemon: [ntsec notraverse] What's the notraverse for? [snip] > $ cygrunsrv -V -Q exim > Service : exim > Display name : Exim > Description : Mail Transfer Agent > Current State : Stopped > Command : /usr/bin/exim -bdf -q15m > stdin path : /dev/null > stdout path : /var/log/exim/cygrunsrv_out.log > stderr path : /var/log/exim/cygrunsrv_err.log > Environment : CYGWIN=3D"ntsec notraverse" > Process Type : Own Process > Startup : Automatic > Dependencies : Tcpip > Account : LocalSystem All looks fine, except that notraverse which I don't use, but I don't know = if that is the cause of the problem. > $ cygrunsrv -S exim > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 106= 2: > The service has not been started. You should look at the events, there's something describing the problem the= re. [snip] > $ ls -all /var/log ... > drwxrwx---+ 2 peatey Users 0 Mar 11 13:18 exim/ ... Doesn't look right, I have: drwxrwxrwx+ 2 SYSTEM root 0 Feb 23 00:00 exim/ ... > $ ls -all /var/spool ... > drwxrwx---+ 2 peatey Users 0 Mar 11 04:07 exim/ Same here, I have: drwxrwxrwx+ 6 SYSTEM root 0 Mar 14 2006 exim/ > $ ls -all /var/spool/exim > drwxrwx---+ 2 peatey Users 0 Mar 11 04:07 ./ > drwxrwx---+ 3 peatey Users 0 Mar 11 04:07 ../ Empty, exim could not create anything, that is the problem... exim is runni= ng as SYSTEM but this directory is owned by your user. Delete and let exim creat= e it. --=20 Ren=E9 Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/