Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 10 Aug 2005 17:32:42 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Cc: kandryc@miser.umass.edu
Subject: Re: OpenLDAP NT Service
Message-ID: <20050810153242.GB1238@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, kandryc@miser.umass.edu
References: <1123687506.42fa1c527de84@mail-www2.oit.umass.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1123687506.42fa1c527de84@mail-www2.oit.umass.edu>
User-Agent: Mutt/1.4.2i

Wrong mailing list.  Redirected to the cygwin ML.

On Aug 10 11:25, kandryc@miser.umass.edu wrote:
> Hello All,
> 
> I tried to install OpenLDAP as a service using the following command:
> 
> # cyrunsrv --install slapd --path /usr/sbin/slapd --args "-h ldaps:///" --desc
> "OpenLDAP Server" --disp "CYGWIN slapd"
> 
> However, when I start the service from either the services console or with:
> 
> # cygrunsrv --start slapd
> 
> It will start and then stop after about 5 seconds. When checking the Application
> event log, I found this:
> 
> "The description for Event ID ( 0 ) in Source ( slapd ) 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: slapd : PID 2888 : slapd stopped.."
> 
> However, if I manually start it by using the following:
> 
> # /usr/sbin/slpad -h ldaps:///
> 
> It works fine. Anyone know the reson why it fails? Is there anyway that it can
> be run from the init scripts?
> 
> Thanks!

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

