www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46EC4C06.3000508@x-ray.at> |
Date: | Sat, 15 Sep 2007 23:17:58 +0200 |
From: | Reini Urban <rurban AT x-ray DOT at> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Whither /dev/null ? |
References: | <1189782531 DOT 24064 DOT 8 DOT camel AT mercury DOT sprymusic> <31b7d2790709140815q69ff65ffo931da15326c8efb7 AT mail DOT gmail DOT com> <5abc24640709140824l300a47d6g16180aa66bab75ea AT mail DOT gmail DOT com> |
In-Reply-To: | <5abc24640709140824l300a47d6g16180aa66bab75ea@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Andrew Louie schrieb: >> Did you check the Cygwin User's Guide? >> http://cygwin.com/cygwin-ug-net/using-specialnames.html >> >> It sort of explains it. >> >> -Jason >> > > I wonder if this problem I'm having with postgresql is related: > > $initdb -D /usr/local/pgsql/data > The files belonging to this database system will be owned by user "louiea". > This user must also own the server process. > > The database cluster will be initialized with locale C. > > fixing permissions on existing directory /usr/local/pgsql/data ... ok > creating directory /usr/local/pgsql/data/global ... ok > creating directory /usr/local/pgsql/data/pg_xlog ... ok > creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok > creating directory /usr/local/pgsql/data/pg_clog ... ok > creating directory /usr/local/pgsql/data/pg_subtrans ... ok > creating directory /usr/local/pgsql/data/base ... ok > creating directory /usr/local/pgsql/data/base/1 ... ok > creating directory /usr/local/pgsql/data/pg_tblspc ... ok > selecting default max_connections ... sh: line 1: 3612 Bad system > call "/usr/sbin/postgres.exe" -boot -x0 -F -c > shared_buffers=500 -c max_connections=100 template1 < "/dev/null" > > "/dev/null" 2>&1 > > I wonder if the Bad system call is due to trying to read/write to /dev/null. No, the bad system call is due to a missing IPC dameon. You must run cygserver. In the postgresql cygwin README is a longer explanation and the postgresql package for cygwin contains a /etc/rc.d/init.d/postgresql starter script which would have detected this. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |