X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9D7219DD77A for ; Sat, 14 Jan 2006 21:18:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80277-08 for ; Sat, 14 Jan 2006 21:18:52 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id EEA999DCDC4 for ; Sat, 14 Jan 2006 21:18:46 -0400 (AST) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by svr4.postgresql.org (Postfix) with ESMTP id 7245A5AF0B6 for ; Sun, 15 Jan 2006 01:18:51 +0000 (GMT) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 70EF2180013E for ; Sun, 15 Jan 2006 01:18:49 +0000 (GMT) X-OB-Received: from unknown (205.158.62.49) by wfilter.us4.outblaze.com; 15 Jan 2006 01:18:49 -0000 Received: by ws1-1.us4.outblaze.com (Postfix, from userid 1001) id 5EDE483C0F; Sun, 15 Jan 2006 01:18:49 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Dave M" To: pgsql-admin@postgresql.org Date: Sat, 14 Jan 2006 20:18:49 -0500 Subject: Trouble installing on XP home Received: from [156.34.29.3] by ws1-1.us4.outblaze.com with http for dave@consultant.com; Sat, 14 Jan 2006 20:18:49 -0500 X-Originating-Ip: 156.34.29.3 X-Originating-Server: ws1-1.us4.outblaze.com Message-Id: <20060115011849.5EDE483C0F@ws1-1.us4.outblaze.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/221 X-Sequence-Number: 20309 I'm trying to install postgresql on my laptop, windows XP home edition sp2. can't install as a service: I either have too much permission or not enough= ... Here are the steps I performed and the generated messages: 1)I ran the install program (postgresql-8.1) the data directory chosen is a folder located in a NTFS logical drive (F:\P= ostgreSQL\), the remainder of the drive being of FAT type. error message: "Failed to run initdb: 1!" the initdb log reads as follows: --------------------------------------------------------------------------= ---------------------- The files belonging to this database system will be owned by user "postgre= susr". This user must also own the server process. The database cluster will be initialized with locale C. fixing permissions on existing directory F:/PostgreSQL ... initdb: could n= ot change permissions of directory "F:/PostgreSQL": Permission denied --------------------------------------------------------------------------= ---------------------- 2) I ran the install again, but this time uncheck 'install as service' I opened a Command Prompt and executed the following: cd \program files\postgresql\8.1\bin initdb --locale=3DC --username=3Dpostgres -W -A md5 -E UNICODE -D f:\postg= resql I get the following: ---------------------------------------------------------------------------= --------- 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 f:/postgresql ... ok creating directory f:/postgresql/global ... ok creating directory f:/postgresql/pg_xlog ... ok creating directory f:/postgresql/pg_xlog/archive_status ... ok creating directory f:/postgresql/pg_clog ... ok creating directory f:/postgresql/pg_subtrans ... ok creating directory f:/postgresql/pg_twophase ... ok creating directory f:/postgresql/pg_multixact/members ... ok creating directory f:/postgresql/pg_multixact/offsets ... ok creating directory f:/postgresql/base ... ok creating directory f:/postgresql/base/1 ... ok creating directory f:/postgresql/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in f:/postgresql/base/1 ...=20 Execution of PostgeSQL by a user with administrative permissions is not per= mitted. The server must be started under an unpriviledged user ID to prevent possib= le system security compromises. See the documentation for more information = on how to properly start the server. child process was terminated by signal 1 initdb: removing contents of data directory "f:/postgresql" ---------------------------------------------------------------------------= ------------ 3)so I try the following command: runas /user:postgres cmd then run initdb again as previously and get the following: ---------------------------------------------------------------------------= ------------ 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 f:/postgresql ... initdb: could no= t change permissions of directory "F:/PostgreSQL": Permission denied' ---------------------------------------------------------------------------= ------------ I had no trouble installing on Win XP Pro on my desktop, but am stumped on = XPhome. Can anyone push me in the right direction? Thanks for your time :-)Dave --=20 ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/