Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <412F9A8B.5040305@cox.net>
Date: Fri, 27 Aug 2004 16:33:15 -0400
From: "David A. Cobb" <Superbiskit@cox.net>
Reply-To: Superbiskit@cox.net, Cygwin General Discussion <cygwin@cygwin.com>
User-Agent: Mozilla Thunderbird 0.7+ (Windows/20040822)
MIME-Version: 1.0
To: Cygwin General Discussion <cygwin@cygwin.com>
Subject: [BUG] Bad File Descriptor while trying to set up postgresql
Content-Type: multipart/mixed; boundary="------------020204030806070803050502"
X-IsSubscribed: yes

--------------020204030806070803050502
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

At first, this stopped me entirely from initializing postgres; however, 
today the initdb & createdb succeeded -- I don't know what changed.  In 
any case, references to the database directory during the initdb incur a 
Bad File Descriptor complaint when trying to set permissions.

The partition where the database lives is FAT32 -- it needs to be 
because it is also visible from my Linux dual-boot. 
I know permissions on a FAT32 volume are, at best, faked.  But IMHO it 
shouldn't incur this sort of error.

-- 
David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace, I am a Christian man; by my actions a great sinner." -- The Way of a Pilgrim: R.French, Tr.
Life is too short to tolerate crappy software!




--------------020204030806070803050502
Content-Type: text/plain;
 name="initdb_20040827.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="initdb_20040827.log"

Running in debug mode.

initdb: internal variables:
  PGDATA=/var/database/pgsql
  datadir=/usr/share/postgresql
  PGPATH=/usr/bin
  ENCODING=UTF-8
  ENCODINGID=6
  POSTGRES_SUPERUSERNAME=postgres
  POSTGRES_BKI=/usr/share/postgresql/postgres.bki
  POSTGRES_DESCR=/usr/share/postgresql/postgres.description
  POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
  PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
  PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
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 /var/database/pgsql... chmod: changing permissions of `/var/database/pgsql': Bad file descriptor

initdb: failed
total 0
drwxr-xr-x    2 postgres None            0 Aug  5 11:27 Debian_Packages
drwxr-xr-x    5 postgres None            0 Aug 25 13:25 Marathon
drwxr-xr-x    3 postgres None            0 Aug 25 11:22 Zeos
drwxr-xr-x    2 postgres None            0 Aug 25 22:24 pgsql

--------------020204030806070803050502
Content-Type: text/x-vcard; charset=utf-8;
 name="Superbiskit.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Superbiskit.vcf"

begin:vcard
fn:David A. Cobb
n:Cobb;David A.
adr:;;7 Lenox Av #1;West Warwick;RI;02893-3918;USA
email;internet:Superbiskit@cox.net
title:Independent Software Consultant
note:PGP Key ID#0x4C293929 effective 01/28/2004
x-mozilla-html:TRUE
version:2.1
end:vcard



--------------020204030806070803050502
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------020204030806070803050502--

