'Weird' errors

Поиск
Список
Период
Сортировка
От Martin Gainty
Тема 'Weird' errors
Дата
Msg-id BLU142-W17185E4033EE4C0BDB4E95AEE10@phx.gbl
обсуждение исходный текст
Ответы Re: 'Weird' errors  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
experiencing weird 14001 errors .no logs not evt nothing to go by so i completely rebuilt the cygwin postgres

ran cygwin
then i ran the initdb as follows

$ ./postgresql-8.4.1/src/bin/initdb/initdb.exe -D /pgsql/data
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.
The default database encoding has accordingly been set to SQL_ASCII.
The default text search configuration will be set to "english".

creating directory /pgsql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... sh: line 1:  2752 Bad system call
"/cygdrive/c/Postgres/postgresql-8.4.1/src/bin/initdb/postgres.exe" --boot -x0 -
F -c max_connections=100 -c shared_buffers=1000 < "/dev/null" > "/dev/null" 2>&1

<snip>these Bad System calls go on for pages ...</snip>

400kB
creating configuration files ... ok
creating template1 database in /pgsql/data/base/1 ... child process was terminated by signal 12
initdb: removing data directory "/pgsql/data"

#########so lets try just one system call at command line and determine where the error is########
postgres@desktop
/cygdrive/c/Postgres$ /cygdrive/c/Postgres/postgresql-8.4.1/src/bin/initdb/postgres.exe --boot -x0-F -c max_connections=100 -c shared_buffers=1000 < "/dev/null" > "/dev/null" 2>&1

no error

???????why does initdb choke on these system calls but cygwin command line works fine?????????

Postgres version>postgresql-8.4.1
$ cygcheck -V
cygcheck version 1.90.4.1
System Checker for Cygwin
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
Compiled on Jun 12 2008

apologies in advance for posting to wrong list
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.





Hotmail: Free, trusted and rich email service. Get it now.

В списке pgsql-general по дате отправления:

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Multiple counts on criteria - Approach to a problem
Следующее
От: Peter Hunsberger
Дата:
Сообщение: Re: creation of foreign key without checking prior data?