delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/23/09:48: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://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Reshat Sabiq" <sabiq AT purdue DOT edu>
To: <pgsql-cygwin AT postgresql DOT org>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: [CYGWIN] Can't start postmaster->half done
Date: Mon, 23 Dec 2002 09:03:59 -0500
Message-ID: <000001c2aa8c$2780a1c0$e280d380@main>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-reply-to:
Importance: Normal

I made another attempt to get postgres running as a service owned by
myself, rather than a separate user "postgres". Alas, I couldn't get it,
and will probably give up for now and get done what I need to get done
by running w/o a service (net start postmaster), just as:
postmaster -D /usr/share/postgresql/data &

P.S. These are the errors that prevented me from running it as a service
(on XP Pro):
1. postmaster service owned by separate user postgres (attempted net
start postmaster after switching to user postgres instead su):
semget ... Function not implemented
[Although I never got that error running as myself. The error message is
not verbatim.]
2. postmaster service owned by me:
$ cygrunsrv --start postmaster
cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
The service did not start due to a logon failure. 
3. postmaster service owned by Local System:
$ cygrunsrv --start postmaster
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062:
The service has not been started.

P.S. I also tried runas on several occasions w/o success.

Sincerely,
r.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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