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 6BCB9D8A16AC4241919521715F4D8BCE4762B1@algol.sollentuna.se
обсуждение исходный текст
Список pgsql-bugs
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

> -----Original Message-----
> From: Mehul Doshi-A20614 [mailto:mehul@motorola.com]=20
> Sent: Thursday, December 02, 2004 9:45 AM
> To: Magnus Hagander; pgsql-bugs@postgresql.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@sollentuna.net]
> Sent: Wednesday, December 01, 2004 3:51 PM
> To: Mehul Doshi-A20614; pgsql-bugs@postgresql.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.postgresql.org/FAQ_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@postgresql.org
> > [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
> > think the issue might be only for Windows XP Professional systems.
> >=20
> > Regards,
> > Mehul
> >=20
> > -----Original Message-----
> > From: pgsql-bugs-owner@postgresql.org
> > [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
> > 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.php?func=3Ddetail&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@postgresql.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@postgresql.org)
> >=20
> >=20
>=20
>=20

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

Предыдущее
От: "Paul Buder"
Дата:
Сообщение: Windows command line utilities problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "invalid memory alloc request size " in deferred trigger causes transaction to fail, but the backend keeps running