delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/14/01:59:33

X-Spam-Check-By: sourceware.org
Message-ID: <448FA458.8060500@engr.colostate.edu>
Date: Tue, 13 Jun 2006 22:53:28 -0700
From: Rich Chase <rac47 DOT 02 AT engr DOT colostate DOT edu>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cygrunsrv: error while starting PRNGD service
X-IsSubscribed: yes
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

I compiled PRNGD against cygwin and installed it as a cygrunsrv service.

When I try to start the service, I get the infamous:

"Could not start the PRNGD service on Local Computer.
The service did not return an error.  This could be an
internal Windows error or an internal service error. 
If the problem persists, contact your system
administrator."

However, I am running sshd as a service, and vnc as well -- both using cygrunsrv.

I also am able to run prngd.exe manually without any errors or log output. It
successfully generates random numbers, as verified by the egd testing perl script,
and it does not terminate prematurely.

PRNGD does start an "entropy gatherer" program, which returns and terminates.
Could this child process's termination and return value be causing cygrunsrv to
'think' that prngd.exe runs and then terminates? If it did, would prngd.exe still
be running (it isn't)?

Everything seems to run fine, but doesn't start as a service.

Suggestions Please?

Thanks,
Rich




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