delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/05/00:05:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-Id: <3.0.5.32.20050305000509.00b46c88@incoming.verizon.net>
X-Sender: vze1u1tg AT incoming DOT verizon DOT net
Date: Sat, 05 Mar 2005 00:05:09 -0500
To: "John Kim" <jkim AT sciences DOT sdsu DOT edu>, <cygwin AT cygwin DOT com>
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: Exim says TCP port "smtp" not found
In-Reply-To: <014101c52127$840553f0$efebbf82@JOHNKIM>
References: <1109987298 DOT 24814 DOT ezmlm AT cygwin DOT com>
Mime-Version: 1.0

At 06:03 PM 3/4/2005 -0800, John Kim wrote:
>I just downloaded & installed Cygwin w/ Exim on a Windows 2000 box and...
>  - ran exim-conf successfully
>  - chmod-ed all the log files & directories to SYSTEM:root
>  - created the /var/mail and /var/spool/mail directories.

These last two steps are OK but not necessary.

>When I try to start exim service ("net start exim" from Cygwin bash shell) 
>it says that it cannot be started. When I look in the log files, it says (in 
>cygrunsrv_err.log):
>  TCP port "smtp" not found.
>
>I looked in /etc/services and SMTP at port 25 is there (I hadn't touched the 
>file to begin with).
>
>What should I do?

This is a sign of trouble with winsock, getservbyname() is one
of the initial network calls.
There must be something special with your environment...
Do you perhaps have a user called "exim" in /etc/passwd ?
If so, remove it.
Also, do you run exim under the system account?

There was a very long thread about that problem two years ago, ending with
http://www.cygwin.com/ml/cygwin/2003-02/msg02099.html
http://www.cygwin.com/ml/cygwin/2003-02/msg02189.html
If you don't have an "exim" user, we are in for some similar debugging :(

Pierre




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