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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/