X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D9B0ED1B1D1 for ; Thu, 17 Jun 2004 09:12:03 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88139-03 for ; Thu, 17 Jun 2004 12:11:59 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 3F126D1B7D4 for ; Thu, 17 Jun 2004 09:11:49 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i5HCBgQC043485 for ; Thu, 17 Jun 2004 12:11:42 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i5HBucn0040280 for pgsql-admin@postgresql.org; Thu, 17 Jun 2004 11:56:38 GMT From: "Harry" X-Newsgroups: comp.databases.postgresql.admin Subject: initdb problem (Win2K Pro, cygwin) Date: Thu, 17 Jun 2004 13:59:17 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 56 Message-ID: <40d186f8$0$23872$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source X-Complaints-To: staff@sunsite.dk To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.8 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME X-Spam-Level: X-Archive-Number: 200406/248 X-Sequence-Number: 13908 Hi all, When I try to run 'initdb' in a cygwin environment, I got this output: $ /usr/local/postgresql7.4.1/bin/initdb -d -D /usr/local/postgresql7.4.1/data Running in debug mode. initdb: internal variables: PGDATA=/usr/local/postgresql7.4.1/data datadir=/usr/local/postgresql7.4.1/share PGPATH=/usr/local/postgresql7.4.1/bin ENCODING= ENCODINGID=0 POSTGRES_SUPERUSERNAME=laohuang POSTGRES_BKI=/usr/local/postgresql7.4.1/share/postgres.bki POSTGRES_DESCR=/usr/local/postgresql7.4.1/share/postgres.description POSTGRESQL_CONF_SAMPLE=/usr/local/postgresql7.4.1/share/postgresql.conf.samp le PG_HBA_SAMPLE=/usr/local/postgresql7.4.1/share/pg_hba.conf.sample PG_IDENT_SAMPLE=/usr/local/postgresql7.4.1/share/pg_ident.conf.sample The files belonging to this database system will be owned by user "laohuang". This user must also own the server process. The database cluster will be initialized with locale C. fixing permissions on existing directory /usr/local/postgresql7.4.1/data... ok creating directory /usr/local/postgresql7.4.1/data/base... ok creating directory /usr/local/postgresql7.4.1/data/global... ok creating directory /usr/local/postgresql7.4.1/data/pg_xlog... ok creating directory /usr/local/postgresql7.4.1/data/pg_clog... ok selecting default max_connections... 10 selecting default shared_buffers... 50 creating configuration files... ok creating template1 database in /usr/local/postgresql7.4.1/data/base/1... DEBUG: invoking IpcMemoryCreate(size=1081344) FATAL: could not create shared memory segment: Function not implemented DETAIL: Failed system call was shmget(key=1, size=1081344, 03600). DEBUG: proc_exit(1) DEBUG: shmem_exit(1) DEBUG: exit(1) initdb: failed What is the problem? Is it related with path settings? Thanks. laohuang