dbTalk Databases Forums  

[BUGS] BUG #2635: manual service registration after install

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2635: manual service registration after install in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
 
Posts: n/a

Default [BUGS] BUG #2635: manual service registration after install - 09-18-2006 , 12:37 PM







The following bug has been logged online:

Bug reference: 2635
Logged by:
Email address: michael.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.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.