delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/11/20:47:13

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: [cygrunsrv] problem starting exim as service
Date: Sun, 11 Mar 2007 20:46:40 -0500
Lines: 64
Message-ID: <et2be0$acq$1@sea.gmane.org>
References: <ee2fbe8d0703111109v34a5975dj32f02457f6849667 AT mail DOT gmail DOT com> <ee2fbe8d0703111741p126dc1b1m968b5e5a38a4c0e5 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
In-Reply-To: <ee2fbe8d0703111741p126dc1b1m968b5e5a38a4c0e5@mail.gmail.com>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019