X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Cygrunsrv starts service but reports that it didn't start Date: Tue, 11 Apr 2006 14:48:24 -0500 Lines: 31 Message-ID: References: <86476431DFAE1A4A8496A9DCC4F3E8A65C6F3E AT kmmail1 DOT km DOT kobieloyalty> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <86476431DFAE1A4A8496A9DCC4F3E8A65C6F3E@kmmail1.km.kobieloyalty> 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-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 Jet Wilda wrote: [snip] > $ cygrunsrv -I samhain -d "CYGWIN samhain" -p /usr/local/sbin/samhain -a > "-D" -e "CYGWIN=3Dntsec tty" [snip] > The samhain log file just reports that it started and is why it isn't > included. Does this have to do with the way samhain forks to become a > daemon? If so how would I get it so that I can start and stop the > service via the services panel or via cygrunsrv? You have two choices: cygrunsrv -I samhain -d "CYGWIN samhain" -p /usr/local/sbin/samhain -a --fo= reground or see if it creates a .pid file and use cygrunsrv -I samhain -d "CYGWIN samhain" -p /usr/local/sbin/samhain -a -D -x /var/run/samhain.pid where I used "/var/run/samhain.pid" as an example. You'll have to check that all files and directories where the daemon writes= or creates files are usable by user SYSTEM which, unless you change it, is the= user who will be running the service. --=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/