dbTalk Databases Forums  

[BUGS] BUG #1271: Installation problems (cannot execute initdb.exe)

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


Discuss [BUGS] BUG #1271: Installation problems (cannot execute initdb.exe) in the mailing.database.pgsql-bugs forum.



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

Default [BUGS] BUG #1271: Installation problems (cannot execute initdb.exe) - 09-29-2004 , 04:45 AM







The following bug has been logged online:

Bug reference: 1271
Logged by: Ramzi Fadel

Email address: raf (AT) carlbro (DOT) dk

PostgreSQL version: 8.0 Beta

Operating system: Windows XP Prof, 5.1.2600 Build 2600

Description: Installation problems (cannot execute initdb.exe)

Details:

The installation file: postgresql-8.0-beta2-dev3.msi

Error log; see below.


Steps taken:
- Run the installation with a administrator user (I do expect the
installation to complete!)
- The installation creates an user for the service named "postrunner"
- Log off
- Log in with the "postrunner" user
- Run the installation. The installation fails during creation of the
cluster, see below:


-------------------------------
Initdb.log:
-------------------------------
The files belonging to this database system will be owned by user "raf".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/PGSQL80/data ... ok
creating directory C:/PGSQL80/data/global ... ok
creating directory C:/PGSQL80/data/pg_xlog ... ok
creating directory C:/PGSQL80/data/pg_xlog/archive_status ... ok
creating directory C:/PGSQL80/data/pg_clog ... ok
creating directory C:/PGSQL80/data/pg_subtrans ... ok
creating directory C:/PGSQL80/data/base ... ok
creating directory C:/PGSQL80/data/base/1 ... ok
creating directory C:/PGSQL80/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in C:/PGSQL80/data/base/1 ... execution of
PostgreSQL by a user with administrative permissions is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise. See the documentation for
more information on how to properly start the server.
child process was terminated by signal 1
initdb: failed
initdb: removing contents of data directory "C:/PGSQL80/data"



---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Reply With Quote
  #2  
Old   
Magnus Hagander
 
Posts: n/a

Default Re: [BUGS] BUG #1271: Installation problems (cannot execute initdb.exe) - 09-29-2004 , 05:20 AM






Quote:
Steps taken:
- Run the installation with a administrator user (I do expect=20
the installation to complete!)
It should be complete once that is done.

Quote:
- The installation creates an user for the service named "postrunner"
- Log off
- Log in with the "postrunner" user
- Run the installation. The installation fails during=20
creation of the cluster, see below:=20
You shouldn't need to perform these two last steps. The installation is
complete once the Windows Installer sequence is done.

Quote:
-------------------------------
Initdb.log:
-------------------------------
The files belonging to this database system will be owned by=20
user "raf".
This means you have run initdb as "raf", not as "postrunner". ANd "raf"
is a local administrator on the machine. The installer will run initdb
with the account specifeid as the service user. If you need to run
initdb manually, you should do this with that same account, which must
not be an administrator.

//Magnus


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


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.