Re: Installation fails for postgresql-8.0.0-beta4 on Windo

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Installation fails for postgresql-8.0.0-beta4 on Windo
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE456A65@algol.sollentuna.se
обсуждение исходный текст
Список pgsql-bugs
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.postgresql.org/FAQ_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

> -----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@postgresql.org=20
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Mehul=20
> Doshi-A20614
> Sent: Monday, November 29, 2004 1:52 PM
> To: pgsql-bugs@postgresql.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@postgresql.org=20
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Mehul=20
> Doshi-A20614
> Sent: Thursday, November 25, 2004 2:31 PM
> To: pgsql-bugs@postgresql.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.
>=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.php?func=3Ddetail&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@postgresql.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@postgresql.org)
>=20
>=20

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Mehul Doshi-A20614
Дата:
Сообщение: Re: Installation fails for postgresql-8.0.0-beta4 on Windo
Следующее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1335: Wrong sort result in union queries