dbTalk Databases Forums  

Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo

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


Discuss Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mehul Doshi-A20614
 
Posts: n/a

Default Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo - 11-29-2004 , 02:27 AM






Hi,

A further clue that can help to resolve this bug:

I tried to install it on Windows 2000 & it works fine. So I think the issue might be only for Windows XP Professional systems.

Regards,
Mehul

-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org [mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul Doshi-A20614
Sent: Thursday, November 25, 2004 2:31 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] Installation fails for postgresql-8.0.0-beta4 on WindowsXP SP1



Hi,

I am trying to install the 8.0 beta4 version for Windows onto my system and facing an error which I can't fix.

System: Windows XP, Sevice Pack 1

I am an admin on my system, but a regular user on a domain. I have created a non-admin user named "postgres" which is a member of the "Users" group (Restricted Users).

I have run the entire installation in exactly the same way as is given http://pginstaller.projects.postgresql.org/

However, this is the error message that I get.

Error Pop-up message:
"Failed to run initdb: 1! Please see the logfile in "C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log"
Note! You must read/copy this logifle before you click OK, or it will be automatically removed."


Please find the log (initdb.log) below ---------------------------------------------------------------------------------------------------------------------------The files belonging to this database system will be owned by user "postgres". This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/Program Files/PostgreSQL/8.0.0-beta4/data ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/global ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_xlog ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_xlog/archive_status ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_clog ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_subtrans ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base/1 ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in C:/Program Files/PostgreSQL/8.0.0-beta4/data/base/1 ... Execution of PostgreSQL by a user with admin!
istrative permissions is not permitted. The server must be started under an unprivileged user ID to prevent possible system security compromises. 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:/Program Files/PostgreSQL/8.0.0-beta4/data"

---------------------------------------------------------------------------------------------------------------------------

It somehow recognizes the account as an admin, when it is definitely not. Just to check, I even tried with the admin account itself and it kicked me off right in Step 4 of the procedure. So if it goes past Step 4 it already recognizes that it is not admin account.

I think this issue has been raised before
http://pgfoundry.org/tracker/index.p...007 &atid=126

Please let me know if there is something that needs to be fixed by me before this installation goes through successfully.

Regards,
Mehul

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply With Quote
  #2  
Old   
Mehul Doshi-A20614
 
Posts: n/a

Default Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo - 12-01-2004 , 03:30 AM







Hi,

I and my colleagues are clearly able to install the beta 5 version on Windows 2000. But when the same procedure is followed for Windows XP Professional, it fails as is detailed my previous posts. We have tried it on 4-5 different systems and everywhere the result is the same.

Can somebody who has installed on Windows XP Professional system which is in a domain please reply as to what steps change to get this working.

Thanks & Regards,
Mehul

-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org [mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul Doshi-A20614
Sent: Monday, November 29, 2004 1:52 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo


Hi,

A further clue that can help to resolve this bug:

I tried to install it on Windows 2000 & it works fine. So I think the issue might be only for Windows XP Professional systems.

Regards,
Mehul

-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org [mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul Doshi-A20614
Sent: Thursday, November 25, 2004 2:31 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] Installation fails for postgresql-8.0.0-beta4 on WindowsXP SP1



Hi,

I am trying to install the 8.0 beta4 version for Windows onto my system and facing an error which I can't fix.

System: Windows XP, Sevice Pack 1

I am an admin on my system, but a regular user on a domain. I have created a non-admin user named "postgres" which is a member of the "Users" group (Restricted Users).

I have run the entire installation in exactly the same way as is given http://pginstaller.projects.postgresql.org/

However, this is the error message that I get.

Error Pop-up message:
"Failed to run initdb: 1! Please see the logfile in "C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log"
Note! You must read/copy this logifle before you click OK, or it will be automatically removed."


Please find the log (initdb.log) below ---------------------------------------------------------------------------------------------------------------------------The files belonging to this database system will be owned by user "postgres". This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/Program Files/PostgreSQL/8.0.0-beta4/data ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/global ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_xlog ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_xlog/archive_status ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_clog ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_subtrans ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base/1 ... ok creating directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in C:/Program Files/PostgreSQL/8.0.0-beta4/data/base/1 ... Execution of PostgreSQL by a user with admin!
! istrative permissions is not permitted. The server must be started under an unprivileged user ID to prevent possible system security compromises. 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:/Program Files/PostgreSQL/8.0.0-beta4/data"

---------------------------------------------------------------------------------------------------------------------------

It somehow recognizes the account as an admin, when it is definitely not. Just to check, I even tried with the admin account itself and it kicked me off right in Step 4 of the procedure. So if it goes past Step 4 it already recognizes that it is not admin account.

I think this issue has been raised before
http://pgfoundry.org/tracker/index.p...007 &atid=126

Please let me know if there is something that needs to be fixed by me before this installation goes through successfully.

Regards,
Mehul

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

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

Default Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo - 12-01-2004 , 04:26 AM



Yes. I have done this at least 50 times with no issues. Using a local
service account.

Have you followed the instructions in questino 3.3 on
http://pginstaller.projects.postgres...Q_windows.html ?

My guess is that you have some rule somewhere (be it local or using
Group Policy) that adds Users or Authenticated Users or similar to the
Power Users or Administrators group, perhaps with indirection. Or some
other evil along that line.

//Magnus
=20

Quote:
-----Original Message-----
=20
Hi,
=20
I and my colleagues are clearly able to install the beta 5=20
version on Windows 2000. But when the same procedure is=20
followed for Windows XP Professional, it fails as is detailed=20
my previous posts. We have tried it on 4-5 different systems=20
and everywhere the result is the same.=20
=20
Can somebody who has installed on Windows XP Professional=20
system which is in a domain please reply as to what steps=20
change to get this working.
=20
Thanks & Regards,
Mehul
=20
-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org=20
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul=20
Doshi-A20614
Sent: Monday, November 29, 2004 1:52 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: Re: [BUGS] Installation fails for=20
postgresql-8.0.0-beta4 on Windo
=20
=20
Hi,
=20
A further clue that can help to resolve this bug:
=20
I tried to install it on Windows 2000 & it works fine. So I=20
think the issue might be only for Windows XP Professional systems.
=20
Regards,
Mehul
=20
-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org=20
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul=20
Doshi-A20614
Sent: Thursday, November 25, 2004 2:31 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] Installation fails for postgresql-8.0.0-beta4=20
on WindowsXP SP1
=20
=20
=20
Hi,
=20
I am trying to install the 8.0 beta4 version for Windows onto=20
my system and facing an error which I can't fix.
=20
System: Windows XP, Sevice Pack 1
=20
I am an admin on my system, but a regular user on a domain. I=20
have created a non-admin user named "postgres" which is a=20
member of the "Users" group (Restricted Users).
=20
I have run the entire installation in exactly the same way as=20
is given http://pginstaller.projects.postgresql.org/=20
=20
However, this is the error message that I get.
=20
Error Pop-up message:
"Failed to run initdb: 1! Please see the logfile in=20
"C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log"
Note! You must read/copy this logifle before you click OK, or=20
it will be automatically removed."
=20
=20
Please find the log (initdb.log) below=20
--------------------------------------------------------------
-------------------------------------------------------------T
he files belonging to this database system will be owned by user
"postgres". This user must also own the server process.
Quote:
=20
The database cluster will be initialized with locale C.
=20
fixing permissions on existing directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data ... ok creating directory=20
C:/Program Files/PostgreSQL/8.0.0-beta4/data/global ... ok=20
creating directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_xlog ... ok creating=20
directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_xlog/archive_status ...=20
ok creating directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_clog ... ok creating=20
directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_subtrans ... ok creating=20
directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base=20
... ok creating directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/base/1 ... ok creating=20
directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_tblspc ... ok selecting=20
default max_connections ... 10 selecting default=20
shared_buffers ... 50 creating configuration files ... ok=20
creating template1 database in C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/base/1 ... Execution of=20
PostgreSQL by a user with admin!
! istrative permissions is not permitted. The server must=20
be started under an unprivileged user ID to prevent possible=20
system security compromises. See the documentation for more=20
information on how to properly start the server. child=20
process was terminated by signal 1
initdb: failed
initdb: removing contents of data directory "C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data"
=20
--------------------------------------------------------------
-------------------------------------------------------------
=20
It somehow recognizes the account as an admin, when it is=20
definitely not. Just to check, I even tried with the admin=20
account itself and it kicked me off right in Step 4 of the=20
procedure. So if it goes past Step 4 it already recognizes=20
that it is not admin account.
=20
I think this issue has been raised before
http://pgfoundry.org/tracker/index.p...&aid=3D1000088
&group_id=3D1000007&atid=3D126
=20
Please let me know if there is something that needs to be=20
fixed by me before this installation goes through successfully.
=20
Regards,
Mehul
=20
---------------------------(end of=20
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to=20
majordomo (AT) postgresql (DOT) org)
=20
---------------------------(end of=20
broadcast)---------------------------
TIP 8: explain analyze is your friend
=20
---------------------------(end of=20
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to=20
majordomo (AT) postgresql (DOT) org)
=20
=20
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
  #4  
Old   
Mehul Doshi-A20614
 
Posts: n/a

Default Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo - 12-02-2004 , 03:31 PM



Hi,

Magnus, thanks for replying. We believe that we have followed the given instructions all the way.
I have taken snapshots of entire installation and compiled into a document (zipped ~ 500kb)which I wish to send across. These contain the snapshots of the "postgres" user created and it's properties.

However since the issue might not be relevant to all, I would appreciate if I can send it to one person rather than to the whole list. Magnus can I send it to you?

Thanks once again for your response. Awaiting a reply soon.

Thanks & Regards,
Mehul


-----Original Message-----
From: Magnus Hagander [mailto:mha (AT) sollentuna (DOT) net]
Sent: Wednesday, December 01, 2004 3:51 PM
To: Mehul Doshi-A20614; pgsql-bugs (AT) postgresql (DOT) org
Subject: RE: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo


Yes. I have done this at least 50 times with no issues. Using a local service account.

Have you followed the instructions in questino 3.3 on http://pginstaller.projects.postgres...Q_windows.html ?

My guess is that you have some rule somewhere (be it local or using Group Policy) that adds Users or Authenticated Users or similar to the Power Users or Administrators group, perhaps with indirection. Or some other evil along that line.

//Magnus


Quote:
-----Original Message-----

Hi,

I and my colleagues are clearly able to install the beta 5
version on Windows 2000. But when the same procedure is
followed for Windows XP Professional, it fails as is detailed
my previous posts. We have tried it on 4-5 different systems
and everywhere the result is the same.

Can somebody who has installed on Windows XP Professional
system which is in a domain please reply as to what steps
change to get this working.

Thanks & Regards,
Mehul

-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul
Doshi-A20614
Sent: Monday, November 29, 2004 1:52 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: Re: [BUGS] Installation fails for
postgresql-8.0.0-beta4 on Windo


Hi,

A further clue that can help to resolve this bug:

I tried to install it on Windows 2000 & it works fine. So I
think the issue might be only for Windows XP Professional systems.

Regards,
Mehul

-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul
Doshi-A20614
Sent: Thursday, November 25, 2004 2:31 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] Installation fails for postgresql-8.0.0-beta4
on WindowsXP SP1



Hi,

I am trying to install the 8.0 beta4 version for Windows onto
my system and facing an error which I can't fix.

System: Windows XP, Sevice Pack 1

I am an admin on my system, but a regular user on a domain. I
have created a non-admin user named "postgres" which is a
member of the "Users" group (Restricted Users).

I have run the entire installation in exactly the same way as
is given http://pginstaller.projects.postgresql.org/

However, this is the error message that I get.

Error Pop-up message:
"Failed to run initdb: 1! Please see the logfile in
"C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log"
Note! You must read/copy this logifle before you click OK, or
it will be automatically removed."


Please find the log (initdb.log) below
--------------------------------------------------------------
-------------------------------------------------------------T
he files belonging to this database system will be owned by user > "postgres". This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data ... ok creating directory
C:/Program Files/PostgreSQL/8.0.0-beta4/data/global ... ok
creating directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data/pg_xlog ... ok creating
directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data/pg_xlog/archive_status ...
ok creating directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data/pg_clog ... ok creating
directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data/pg_subtrans ... ok creating
directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base
... ok creating directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data/base/1 ... ok creating
directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data/pg_tblspc ... ok selecting
default max_connections ... 10 selecting default
shared_buffers ... 50 creating configuration files ... ok
creating template1 database in C:/Program
Files/PostgreSQL/8.0.0-beta4/data/base/1 ... Execution of
PostgreSQL by a user with admin!
! istrative permissions is not permitted. The server must
be started under an unprivileged user ID to prevent possible
system security compromises. 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:/Program
Files/PostgreSQL/8.0.0-beta4/data"

--------------------------------------------------------------
-------------------------------------------------------------

It somehow recognizes the account as an admin, when it is
definitely not. Just to check, I even tried with the admin
account itself and it kicked me off right in Step 4 of the
procedure. So if it goes past Step 4 it already recognizes
that it is not admin account.

I think this issue has been raised before
http://pgfoundry.org/tracker/index.p...il&aid=1000088
&group_id=1000007&atid=126

Please let me know if there is something that needs to be
fixed by me before this installation goes through successfully.

Regards,
Mehul

---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to
majordomo (AT) postgresql (DOT) org)

---------------------------(end of
broadcast)---------------------------
TIP 8: explain analyze is your friend

---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to
majordomo (AT) postgresql (DOT) org)


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

http://archives.postgresql.org


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

Default Re: [BUGS] Installation fails for postgresql-8.0.0-beta4 on Windo - 12-03-2004 , 03:20 AM



FYI: I've been working off-list with Mehul to solve this, and we've
pinpointed the reason. The affected machine had the "INTERACTIVE USERS"
pseudo-group in "Power Users". Another group we have to check for in the
next version of the installer, and I'll update the FAQ with this.
(Previously we checked for Users, Authenticated Users and Everyone).

//Magnus

Quote:
-----Original Message-----
From: Mehul Doshi-A20614 [mailto:mehul (AT) motorola (DOT) com]=20
Sent: Thursday, December 02, 2004 9:45 AM
To: Magnus Hagander; pgsql-bugs (AT) postgresql (DOT) org
Subject: RE: [BUGS] Installation fails for=20
postgresql-8.0.0-beta4 on Windo
=20
Hi,
=20
Magnus, thanks for replying. We believe that we have followed=20
the given instructions all the way.=20
I have taken snapshots of entire installation and compiled=20
into a document (zipped ~ 500kb)which I wish to send across.=20
These contain the snapshots of the "postgres" user created=20
and it's properties.
=20
However since the issue might not be relevant to all, I would=20
appreciate if I can send it to one person rather than to the=20
whole list. Magnus can I send it to you?
=20
Thanks once again for your response. Awaiting a reply soon.
=20
Thanks & Regards,
Mehul
=20
=20
-----Original Message-----
From: Magnus Hagander [mailto:mha (AT) sollentuna (DOT) net]
Sent: Wednesday, December 01, 2004 3:51 PM
To: Mehul Doshi-A20614; pgsql-bugs (AT) postgresql (DOT) org
Subject: RE: [BUGS] Installation fails for=20
postgresql-8.0.0-beta4 on Windo
=20
=20
Yes. I have done this at least 50 times with no issues. Using=20
a local service account.
=20
Have you followed the instructions in questino 3.3 on=20
http://pginstaller.projects.postgres...Q_windows.html ?
=20
My guess is that you have some rule somewhere (be it local or=20
using Group Policy) that adds Users or Authenticated Users or=20
similar to the Power Users or Administrators group, perhaps=20
with indirection. Or some other evil along that line.
=20
//Magnus
=20=20
=20
-----Original Message-----
=20
Hi,
=20
I and my colleagues are clearly able to install the beta 5
version on Windows 2000. But when the same procedure is=20
followed for Windows XP Professional, it fails as is detailed=20
my previous posts. We have tried it on 4-5 different systems=20
and everywhere the result is the same.=20
=20
Can somebody who has installed on Windows XP Professional
system which is in a domain please reply as to what steps=20
change to get this working.
=20
Thanks & Regards,
Mehul
=20
-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul=20
Doshi-A20614
Sent: Monday, November 29, 2004 1:52 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: Re: [BUGS] Installation fails for=20
postgresql-8.0.0-beta4 on Windo
=20
=20
Hi,
=20
A further clue that can help to resolve this bug:
=20
I tried to install it on Windows 2000 & it works fine. So I
think the issue might be only for Windows XP Professional systems.
=20
Regards,
Mehul
=20
-----Original Message-----
From: pgsql-bugs-owner (AT) postgresql (DOT) org
[mailtogsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of Mehul=20
Doshi-A20614
Sent: Thursday, November 25, 2004 2:31 PM
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] Installation fails for postgresql-8.0.0-beta4=20
on WindowsXP SP1
=20
=20
=20
Hi,
=20
I am trying to install the 8.0 beta4 version for Windows onto
my system and facing an error which I can't fix.
=20
System: Windows XP, Sevice Pack 1
=20
I am an admin on my system, but a regular user on a domain. I
have created a non-admin user named "postgres" which is a=20
member of the "Users" group (Restricted Users).
=20
I have run the entire installation in exactly the same way as
is given http://pginstaller.projects.postgresql.org/=20
=20
However, this is the error message that I get.
=20
Error Pop-up message:
"Failed to run initdb: 1! Please see the logfile in
"C:\Program Files\PostgreSQL\8.0.0-beta4\tmp\initdb.log"
Note! You must read/copy this logifle before you click OK, or=20
it will be automatically removed."
=20
=20
Please find the log (initdb.log) below
--------------------------------------------------------------
-------------------------------------------------------------T
he files belonging to this database system will be owned by=20
user > "postgres". This user must also own the server process.
=20
The database cluster will be initialized with locale C.
=20
fixing permissions on existing directory C:/Program
Files/PostgreSQL/8.0.0-beta4/data ... ok creating directory=20
C:/Program Files/PostgreSQL/8.0.0-beta4/data/global ... ok=20
creating directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_xlog ... ok creating=20
directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_xlog/archive_status ...=20
ok creating directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_clog ... ok creating=20
directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_subtrans ... ok creating=20
directory C:/Program Files/PostgreSQL/8.0.0-beta4/data/base=20
... ok creating directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/base/1 ... ok creating=20
directory C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/pg_tblspc ... ok selecting=20
default max_connections ... 10 selecting default=20
shared_buffers ... 50 creating configuration files ... ok=20
creating template1 database in C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data/base/1 ... Execution of=20
PostgreSQL by a user with admin!
! istrative permissions is not permitted. The server must=20
be started under an unprivileged user ID to prevent possible=20
system security compromises. See the documentation for more=20
information on how to properly start the server. child=20
process was terminated by signal 1
initdb: failed
initdb: removing contents of data directory "C:/Program=20
Files/PostgreSQL/8.0.0-beta4/data"
=20
--------------------------------------------------------------
-------------------------------------------------------------
=20
It somehow recognizes the account as an admin, when it is
definitely not. Just to check, I even tried with the admin=20
account itself and it kicked me off right in Step 4 of the=20
procedure. So if it goes past Step 4 it already recognizes=20
that it is not admin account.
=20
I think this issue has been raised before=20
http://pgfoundry.org/tracker/index.p...&aid=3D1000088
&group_id=3D1000007&atid=3D126
=20
Please let me know if there is something that needs to be
fixed by me before this installation goes through successfully.
=20
Regards,
Mehul
=20
---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to=20
majordomo (AT) postgresql (DOT) org)
=20
---------------------------(end of
broadcast)---------------------------
TIP 8: explain analyze is your friend
=20
---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to=20
majordomo (AT) postgresql (DOT) org)
=20
=20
=20
=20
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


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.