delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/11/19:41:58

X-Spam-Check-By: sourceware.org
Message-ID: <ee2fbe8d0703111741p126dc1b1m968b5e5a38a4c0e5@mail.gmail.com>
Date: Sun, 11 Mar 2007 20:41:29 -0400
From: Peatey <peatey AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Re: [cygrunsrv] problem starting exim as service
In-Reply-To: <ee2fbe8d0703111109v34a5975dj32f02457f6849667@mail.gmail.com>
MIME-Version: 1.0
References: <ee2fbe8d0703111109v34a5975dj32f02457f6849667 AT mail DOT gmail DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l2C0fkxp000896

Thanks for the reply René.  I didn't know pigtail.net was so
notorious, now I know to rely on the official mailing list first
(although i dunno what i would have done differently if i didn't visit
pigtail.net, as all i did was use setup.exe and then exim-config).

As you can see below, I'm still unable to start the service.
Application Event Viewer gives this output, which doesn't ring any
bells for me:

Event Type:	Information
Event Source:	exim
Event Category:	None
Event ID:	0
Date:		3/11/2007
Time:		8:33:05 PM
User:		NT AUTHORITY\SYSTEM
Computer:	PEATEY1
Description:
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= 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.


> Now that's better, but you have strange directory ownership all over, did you
> create the directories yourself?

No, I just used setup.exe [installed for All Users/recommended] to
install the packages (i was/am logged in as peatey in WinXP, and I am
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.

>> Looking for the fully qualified primary hostname.
>> Is it "peatey1"? (yes/no) yes
>
> That's not a _fully_qualified_ host name.

if i'm trying to use smtp.g

>> Enter the value of CYGWIN for the daemon: [ntsec notraverse]
>
> What's the notraverse for?

I don't know. It was the default option so I left it there.  Do you
think I should remove it?

>> $ cygrunsrv -S exim
>> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>> The service has not been started.
>
> You should look at the events, there's something describing the problem there.

>> $ 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 running as
> SYSTEM but this directory is owned by your user.  Delete and let exim create it.

I used 'chown SYSTEM:root' on all these directories but the service
still will not start.  I'd appreciate further suggestions.

--
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