Re: Can't start postmaster->half done

From: "Reshat Sabiq" <sabiq(at)purdue(dot)edu>
To: <pgsql-cygwin(at)postgresql(dot)org>
Cc: <cygwin(at)cygwin(dot)com>
Subject: Re: Can't start postmaster->half done
Date: 2002-12-23 14:03:59
Message-ID: 000001c2aa8c$2780a1c0$e280d380@main
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

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.

Browse pgsql-cygwin by date

  From Date Subject
Next Message Sam Harbison 2002-12-25 16:36:22 PostgreSQL 7.3 on Cygwin rejects all-numeric userid, pg_class_aclcheck
Previous Message Reshat Sabiq 2002-12-22 15:01:35 Re: Can't start postmaster->half done