Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <03c001c587d0$4661a980$0200000a@agamemnon> From: "Jon A. Lambert" To: "Cygwin Mail List" References: <038e01c58612$834a8700$0200000a AT agamemnon> <42D26875 DOT 8080909 AT byu DOT net> <01d801c586f2$c2573570$0200000a AT agamemnon> Subject: Re: Postgres not working anymore Date: Wed, 13 Jul 2005 13:28:24 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_03BD_01C587AE.BEE20570" X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes ------=_NextPart_000_03BD_01C587AE.BEE20570 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit I dunno. I still cannot execute initdb script with latest coreutils. Or is this some sort of bash/ash problem? cygcheck output attached and initdb script is pristine. -------------- $ initdb -D /var/postgresql/data The files belonging to this database system will be owned by user "jlambert". This user must also own the server process. The database cluster will be initialized with locale C. creating directory /var/postgresql/data... ok creating directory /var/postgresql/data/base... ok creating directory /var/postgresql/data/global... ok creating directory /var/postgresql/data/pg_xlog... ok creating directory /var/postgresql/data/pg_clog... ok selecting default max_connections... /usr/bin/initdb: line 564: 2904 Bad system call "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 /dev/ null 2>&1 /usr/bin/initdb: line 564: 484 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 3476 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 3516 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 3684 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 3600 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 10 selecting default shared_buffers... /usr/bin/initdb: line 578: 964 Bad system call "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 /dev/n ull 2>&1 /usr/bin/initdb: line 578: 2764 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 368 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3784 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3316 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3456 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 2840 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 2692 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3068 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3512 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 2656 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 50 creating configuration files... ok creating template1 database in /var/postgresql/data/base/1... /usr/bin/initdb: l ine 644: 3628 Bad system call "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $ BOOTSTRAP_TALK_ARG template1 initdb: failed initdb: removing data directory "/var/postgresql/data" ------=_NextPart_000_03BD_01C587AE.BEE20570 Content-Type: text/plain; format=flowed; name="cygcheck.txt"; reply-type=response Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cygcheck.txt" Cygwin Configuration Diagnostics Current System Time: Wed Jul 13 13:27:46 2005 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\apps\ruby\bin c:\xampp\perl\bin c:\bin c:\Program Files\Java\jdk1.5.0_04\bin c:\apps\apache-ant-1.6.0\bin c:\WINDOWS\SYSTEM32 c:\WINDOWS c:\WINDOWS\SYSTEM32\WBEM c:\apps\BCC55\Bin c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11 c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt c:\Program Files\Rational\common c:\Program Files\Rational\ClearQuest c:\Program Files\Rational\Rational Test c:\Program Files\doxygen\bin c:\Program Files\Rational\Rose\TopLink\ c:\PROGRA~1\Tcl\bin c:\apps\Python23 C:\cygwin\bin c:\PROGRA~1\ATT\Graphviz\bin c:\PROGRA~1\ATT\Graphviz\bin\tools c:\Program Files\UltraEdit c:\apps\fsc\PCOBOL32 c:\PROGRA~1\IBM\SQLLIB\BIN c:\PROGRA~1\IBM\SQLLIB\FUNCTION c:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL c:\Program Files\Subversion\bin c:\WINDOWS c:\WINDOWS\COMMAND Output from C:\cygwin\bin\id.exe (nontsec) UID: 1004(jlambert) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1004(jlambert) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER = `jlambert' PWD = `/home/jlambert' CYGWIN = `error_start=c:\cygwin\bin\dumper.exe codepage:oem ' HOME = `/home/jlambert' MAKE_MODE = `unix' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 38162Mb 77% CP CS UN PA FC GATEWAY d: hd NTFS 19571Mb 94% CP CS UN PA FC drive2 e: cd N/A N/A f: cd N/A N/A C:\cygwin / system binmode c:\backups /backups system binmode c: /c system binmode d: /d system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: c:\bin\awk.exe Found: \bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: c:\apps\BCC55\Bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: c:\apps\BCC55\Bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe 93k 2005/02/17 C:\cygwin\bin\cygapr-0-0.dll 68k 2005/02/17 C:\cygwin\bin\cygaprutil-0-0.dll 56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 858k 2005/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll 1042k 2005/07/07 C:\cygwin\bin\cygcrypto-0.9.8.dll 895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll 965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll 1240k 2005/05/14 C:\cygwin\bin\cygdb_cxx-4.3.dll 174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll 40k 2005/07/10 C:\cygwin\bin\cygform-8.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 48k 2003/08/09 C:\cygwin\bin\cygform7.dll 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll 158k 2004/10/16 C:\cygwin\bin\cyggmp-3.dll 288k 2004/10/16 C:\cygwin\bin\cyggmpxx-3.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll 24k 2005/06/26 C:\cygwin\bin\cyghistory6.dll 311k 2005/06/22 C:\cygwin\bin\cyghttpd2core.dll 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 41k 2005/06/01 C:\cygwin\bin\cygltdl-3.dll 146k 2004/12/21 C:\cygwin\bin\cygmagic-1.dll 21k 2005/07/10 C:\cygwin\bin\cygmenu-8.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll 21k 2004/10/22 C:\cygwin\bin\cygminires.dll 71k 2004/10/16 C:\cygwin\bin\cygmp-3.dll 95k 2004/10/16 C:\cygwin\bin\cygmpfr-0.dll 67k 2005/07/10 C:\cygwin\bin\cygncurses++-8.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 225k 2005/07/10 C:\cygwin\bin\cygncurses-8.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll 92k 2004/07/10 C:\cygwin\bin\cygneon-24.dll 11k 2005/07/10 C:\cygwin\bin\cygpanel-8.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll 1256k 2005/07/09 C:\cygwin\bin\cygperl5_8.dll 230k 2005/07/11 C:\cygwin\bin\cygpng12.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll 144k 2005/06/26 C:\cygwin\bin\cygreadline6.dll 685k 2005/01/18 C:\cygwin\bin\cygruby18.dll 171k 2005/04/11 C:\cygwin\bin\cygssl-0.9.7.dll 217k 2005/07/07 C:\cygwin\bin\cygssl-0.9.8.dll 134k 2005/06/10 C:\cygwin\bin\cygsvn_client-1-0.dll 27k 2005/06/10 C:\cygwin\bin\cygsvn_delta-1-0.dll 22k 2005/06/10 C:\cygwin\bin\cygsvn_diff-1-0.dll 15k 2005/06/10 C:\cygwin\bin\cygsvn_fs-1-0.dll 127k 2005/06/10 C:\cygwin\bin\cygsvn_fs_base-1-0.dll 88k 2005/06/10 C:\cygwin\bin\cygsvn_fs_fs-1-0.dll 9k 2005/06/10 C:\cygwin\bin\cygsvn_ra-1-0.dll 85k 2005/06/10 C:\cygwin\bin\cygsvn_ra_dav-1-0.dll 19k 2005/06/10 C:\cygwin\bin\cygsvn_ra_local-1-0.dll 55k 2005/06/10 C:\cygwin\bin\cygsvn_ra_svn-1-0.dll 98k 2005/06/10 C:\cygwin\bin\cygsvn_repos-1-0.dll 130k 2005/06/10 C:\cygwin\bin\cygsvn_subr-1-0.dll 25k 2005/06/10 C:\cygwin\bin\cygsvn_swig_py-1-0.dll 146k 2005/06/10 C:\cygwin\bin\cygsvn_wc-1-0.dll 1381k 2005/07/12 C:\cygwin\bin\cygxml2-2.dll 60k 2005/07/09 C:\cygwin\bin\cygz.dll 1265k 2005/07/03 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.18 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 132 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Sat Jul 2 20:30:04 EDT 2005 Shared id: cygwin1S4 Service : cron Display name : Cron daemon Current State : Running Controls Accepted : Stop Command : /usr/sbin/cron -D Service : cygserver Display name : CYGWIN cygserver Current State : Running Controls Accepted : Stop Command : /usr/sbin/cygserver Service : sshd Display name : CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D Service : postmaster Current State : Stopped Command : /usr/bin/postmaster -D /var/postgresql/data -i Cygwin Package Information Package Version _update-info-dir 00279-1 alternatives 1.3.20a-1 apache2 2.0.54-1 apache2-devel 2.0.54-1 apache2-manual 2.0.54-1 apr 0.9.6-1 apr-util 0.9.6-1 ash 20040127-3 autoconf 2.59-2 autoconf2.1 2.13-1 autoconf2.5 2.59-1 automake1.9 1.9.5-2 base-files 3.5-1 base-passwd 2.2-1 bash 3.0-7 binutils 20050610-1 bison 20030307-1 byacc 1.9-1 bzip2 1.0.3-1 ccache 2.2-1 chere 0.6-1 clear 1.0-1 coreutils 5.3.0-9 cron 3.0.1-19 crypt 1.1-1 ctags 5.5-4 cvs 1.11.17-1 cvsutils 0.2.3-1 cygrunsrv 1.10-1 cygutils 1.2.9-1 cygwin 1.5.18-1 cygwin-doc 1.4-2 d 1.2.0-1 db4.3 4.3.28-1 diffutils 2.8.7-1 doxygen 1.4.2_20050421-1 editrights 1.01-1 enscript 1.6.3-3 expat 1.95.8-1 file 4.12-1 findutils 20041227-1 flex 2.5.4a-3 gawk 3.1.4-3 gcc 3.3.3-3 gcc-ada 3.3.3-3 gcc-core 3.3.3-3 gcc-g++ 3.3.3-3 gcc-g77 3.3.3-3 gcc-gdc 3.3.3-3 gcc-gpc 3.3.3-3 gcc-java 3.3.3-3 gcc-mingw-ada 20040810-1 gcc-mingw-core 20040810-1 gcc-mingw-g++ 20040810-1 gcc-mingw-g77 20040810-1 gcc-mingw-gpc 20040810-1 gcc-mingw-java 20040810-1 gdb 20041228-3 gdbm 1.8.3-7 gmp 4.1.4-2 gnupg 1.4.1-1 grep 2.5.1a-2 groff 1.18.1-2 gzip 1.3.5-1 hexedit 1.2.10-1 indent 2.2.9-1 inetutils 1.3.2-29 irc 20010101-3 less 381-1 libapr0 0.9.6-1 libaprutil0 0.9.6-1 libbz2_1 1.0.3-1 libcharset1 1.9.2-1 libdb4.2 4.2.52-1 libdb4.2-devel 4.2.52-1 libdb4.3 4.3.28-1 libdb4.3-devel 4.3.28-1 libgc 6.4-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libltdl3 1.5.18-1 libncurses-devel 5.4-2 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libncurses8 5.4-2 libneon24 0.24.7-1 libpcre 4.1-1 libpcre0 4.5-1 libpng12 1.2.8-2 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-2 libtool1.5 1.5.18-1 libxml2 2.6.20-1 libxml2-devel 2.6.20-1 libxml2-doc 2.6.20-1 libxml2-python 2.6.20-1 login 1.9-7 lynx 2.8.5-2 m4 1.4.3-1 make 3.80-1 man 1.5p-1 mingw-runtime 3.7-1 minires 1.00-1 minires-devel 1.00-1 mktemp 1.5-3 nano 1.2.2-1 ncftp 3.1.7-1 ncurses 5.4-2 ncurses-demo 5.4-2 neon 0.24.7-1 openssh 4.1p1-2 openssl 0.9.8-2 openssl-devel 0.9.8-2 openssl097 0.9.7g-1 patch 2.5.8-8 patchutils 0.2.30-1 pcre 4.5-1 pcre-devel 4.5-1 pcre-doc 4.5-1 perl 5.8.7-2 pinfo 0.6.8-1 ping 1.0-1 postgresql 7.4.5-1 procps 3.2.5-1 python 2.4.1-1 rcs 5.7-3 readline 5.0-2 rebase 2.3-1 rsync 2.6.3-1 ruby 1.8.2-2 sed 4.1.4-1 sharutils 4.3.80-1 splint 3.1.1-1 ssmtp 2.60.9-3 subversion 1.2.0-1 subversion-devel 1.2.0-1 subversion-python 1.2.0-1 swig 1.3.24-1 tar 1.13.25-7 tcltk 20030901-1 tcsh 6.14.00-4 termcap 20050421-1 terminfo 5.4_20041009-1 texinfo 4.8-1 time 1.7-1 unzip 5.50-5 w32api 3.2-1 wget 1.9.1-2 which 1.7-1 zip 2.3-6 zlib 1.2.2-2 Use -h to see help about each section ------=_NextPart_000_03BD_01C587AE.BEE20570 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/ ------=_NextPart_000_03BD_01C587AE.BEE20570--