BUG #2635: manual service registration after install

From: "" <michael(dot)eggerichs(at)henrichsen(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2635: manual service registration after install
Date: 2006-09-18 14:35:46
Message-ID: 200609181435.k8IEZkJB001874@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2635
Logged by:
Email address: michael(dot)eggerichs(at)henrichsen(dot)de
PostgreSQL version: 8.1.3
Operating system: Windows
Description: manual service registration after install
Details:

1. Manual create user "postgres" with password "password"

2. Join user "postgres" to group "Benutzer" (German)

3. Give user "postgres" the right "SeServiceLogonRight"

4. Installer (without DOSERVICE=1):
'MSIEXEC /i "H:\postgresql-8.1-int.msi" /qn INTERNALLAUNCH=1 DODBINIT=1
DOSERVICE=0 NOSHORTCUTS=1 ADDLOCAL=server,psql,pgadmin,psqlodbc
SERVICEDOMAIN=%COMPUTERNAME% SERVICEACCOUNT=postgres
SERVICEPASSWORD=password SERVICENAME=pgsql-8.1
BASEDIR="C:\MyApps\dbms\POSTGRES" SUPERUSER=su SUPERPASSWORD=supassword
ENCODING=LATIN1 TRANSFORMS=:lang_de'

5. Manual register service with:
'pg_ctl register -U "postgres" -P "password" -N "pgsql-8.1" -D
"C:\MyApps\dbms\POSTGRES\data\"'

6. Try to start service in service manager -> didn't run
-> Checking service entries in registry -> ImagePath:
'C:\MyApps\dbms\POSTGRES\bin/pg_ctl.exe runservice -N "pgsql-8.1" -D
"C:/MyApps/dbms/POSTGRES/data"'
(Backslashes turned into slashes - not so with DOSERVICE=1 !!!)

What's wrong with that?

I can't find description for additional registration steps in
documentation.

PS: Creating a second service after installing with installer and
DOSERVICE=1 seems to work.

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2006-09-18 17:37:21 Re: BUG #2634: path requires double \\ for WAL
Previous Message Zdenek Kotala 2006-09-18 14:04:29 Re: pgsql on Solaris 10