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 20:46:40 -0500 Lines: 64 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: [snip] > The description for Event ID ( 0 ) in Source ( exim ) cannot be found. > The local computer may not have the necessary registry information or > message DLL files to display messages from a remote computer. You may > be able to use the /AUXSOURCE=3D flag to retrieve this description; see > Help and Support for details. The following information is part of the > event: exim: PID 2632: `exim' service stopped, exit status: 53. OK, this means that exim is not finding its dynamic libaries... put C:\Cygwin\bin (or wherever you have it installed) on Windows' PATH (My Comp= uter -> Properties -> Advance -> Environment Variables : PATH). [snip] > Administrator for WinXP). I didn't use chmod or chown at all. Almost > all files in /bin and rest of cygwin directories are peatey:Users. > should they be SYSTEM:root? Did I miss a crucial step in installing > cygwin? Please clear up my neophyte confusion. No, most files will be owned by you, as you installed Cygwin, but services = is a different story, they usually run as SYSTEM so they have complete access to everything they need. [snip] >> That's not a _fully_qualified_ host name. >=20 > if i'm trying to use smtp.g I don't understand what you mean. In /etc/exim.conf you will find a variab= le named "primary_hostname", the comments before it explain what is needed as = fully qualified host name, if you don't have one then what you have is probably O= K. [snip] > I don't know. It was the default option so I left it there. Do you > think I should remove it? As I said before, I don't know what it is for, and I don't use it, that's w= hy it seemed odd to me. [snip] > I used 'chown SYSTEM:root' on all these directories but the service > still will not start. I'd appreciate further suggestions. Just for the record, if you run `cygcheck /usr/bin/exim-4.66-1.exe` before changing the PATH, you'll see that the executable does not find some of the libraries (/usr/bin/exim is a symbolic link to the real executable); the pa= th where those are should be added to Window' PATH (the service doesn't see the same PATH you see inside a shell, it sees the general Windows PATH or one specified at the time the service is installed). --=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/