Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 16 Jun 2005 15:12:42 -0700 From: George To: cygwin AT cygwin DOT com Subject: Re: PostgreSQL: logon failure Message-ID: <20050616221242.GA1184@home> Reply-To: George Mail-Followup-To: cygwin AT cygwin DOT com References: <20050616150739 DOT GA1248 AT home> <42B1D134 DOT 40802 AT x-ray DOT at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42B1D134.40802@x-ray.at> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes On Thu, Jun 16, 2005 at 09:21:24PM +0200, Reini Urban schrieb: > George schrieb: > >I followed the instructions for installing postgresql as an NT service > >as outlined in the postgresql README, but ended up with the following > >error: > > > >$ cygrunsrv -S postmaster > >cygrunsrv: Error starting a service: StartService: Win32 error 1069: > >The service did not start due to a logon failure. > > As what user do you start the service? > The service could not logon as this user. Makes perfect sense, but I simply followed the instructions in the README which were fairly straightforward: george AT home $ cygrunsrv -S cygserver postgres AT home $ initdb -D /var/postgresql/data ... george AT home $ cygrunsrv -S postmaster cyrunsrv: Error ... I've since retraced my steps, undoing what was done and started again. Suprisingly or not (depending on one's point of view), everything worked without problem. Thanks again for the replies. -- George -- 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/