pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
initdb failure
4+ messages / 4 participants
[nested] [flat]

* initdb failure
@ 2004-08-06 14:59 John Wilcher <wilche_j@bellsouth.net>
  2004-08-07 02:04 ` Re: initdb failure mike g <mike@thegodshalls.com>
  0 siblings, 1 reply; 4+ messages in thread

From: John Wilcher @ 2004-08-06 14:59 UTC (permalink / raw)
  To: pgsql-cygwin

Hi!

I received the following error after attempting to initialize the database
within Cygwin.

selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /user/local/pgsql/data/ba

initdb: failed
initdb: removing data directory "/user/local/pgsql/data"

Any help is appreciated.  Here is my configuration dump:

$ cygcheck -s

Cygwin Configuration Diagnostics
Current System Time: Fri Aug 06 10:48:18 2004

Windows XP Home Edition Ver 5.1 Build 2600

Path:   C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        C:\cygwin\usr\X11R6\bin
        c:\WINDOWS\system32
        c:\WINDOWS
        c:\WINDOWS\System32\Wbem
        c:\Program Files\PuTTY
        c:\java\apache-ant-1.6.1\bin
        c:\java\j2sdk1.4.2_04
        .\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(John) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(John) GID: 513(None)
0(root)              513(None)
544(Administrators)  545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\John'
MAKE_MODE = `unix'
PWD = `/home/John'
USER = `John'

Use `-r' to scan registry

c:  hd  NTFS   28576Mb  28% CP CS UN PA FC
d:  hd  FAT       62Mb  67% CP    UN           FLASH DISK
e:  cd           N/A    N/A

C:\cygwin      /          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:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
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

   61k 2003/08/09 C:\cygwin\bin\cygbz2-1.dll
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
  841k 2004/03/17 C:\cygwin\bin\cygcrypto-0.9.7.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
  107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll
   17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll
  190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   29k 2003/08/10 C:\cygwin\bin\cyghistory5.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
   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
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.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
   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
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll
  171k 2004/03/17 C:\cygwin\bin\cygssl-0.9.7.dll
   61k 2003/12/04 C:\cygwin\bin\cygz.dll
 1126k 2004/05/26 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.5.10
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 116
        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: Tue May 25 22:07:00 EDT 2004
        CVS tag: cr-0x5e6
        Shared id: cygwin1S4


Cygwin Package Information
Package              Version
_update-info-dir     00227-1
ash                  20040127-1
base-files           2.6-1
base-passwd          1.1-1
bash                 2.05b-16
bzip2                1.0.2-5
crypt                1.1-1
cygrunsrv            1.0-1
cygwin               1.5.10-3
diffutils            2.8.7-1
editrights           1.01-1
fileutils            4.1-2
findutils            4.1.7-4
gawk                 3.1.4-3
gdbm                 1.8.3-7
grep                 2.5-1
groff                1.18.1-2
gzip                 1.3.5-1
less                 381-1
libbz2_1             1.0.2-5
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-7
libgdbm3             1.8.3-3
libgdbm4             1.8.3-7
libgettextpo0        0.14.1-1
libiconv2            1.9.2-1
libintl1             0.10.40-1
libintl2             0.12.1-3
libintl3             0.14.1-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-4
libpcre              4.1-1
libpcre0             4.5-1
libreadline4         4.1-2
libreadline5         4.3-5
login                1.9-7
man                  1.5k-3
mktemp               1.5-3
ncurses              5.3-4
openssl              0.9.7d-1
postgresql           7.4.3-1
readline             4.3-5
sed                  4.0.9-2
sh-utils             2.0.15-4
tar                  1.13.25-5
termcap              20021106-2
terminfo             5.3_20030726-1
texinfo              4.2-4
textutils            2.0.21-1
which                1.5-2
zlib                 1.2.1-1
Use -h to see help about each section

Thanks!

John Wilcher





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: initdb failure
  2004-08-06 14:59 initdb failure John Wilcher <wilche_j@bellsouth.net>
@ 2004-08-07 02:04 ` mike g <mike@thegodshalls.com>
  0 siblings, 0 replies; 4+ messages in thread

From: mike g @ 2004-08-07 02:04 UTC (permalink / raw)
  To: john@wilcherfamily.com; +Cc: pgsql-cygwin

Hello,

That would be because cygserver is not running or not included in your
path.

If you search the list a few folks have posted scripts which can be used
on XP Home to start the db.

Mike

On Fri, 2004-08-06 at 09:59, John Wilcher wrote:
> Hi!
> 
> I received the following error after attempting to initialize the database
> within Cygwin.
> 
> selecting default shared_buffers... Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> 50
> creating configuration files... ok
> creating template1 database in /user/local/pgsql/data/ba
> 
> initdb: failed
> initdb: removing data directory "/user/local/pgsql/data"
> 
> Any help is appreciated.  Here is my configuration dump:
> 
> $ cygcheck -s
> 
> Cygwin Configuration Diagnostics
> Current System Time: Fri Aug 06 10:48:18 2004
> 
> Windows XP Home Edition Ver 5.1 Build 2600
> 
> Path:   C:\cygwin\usr\local\bin
>         C:\cygwin\bin
>         C:\cygwin\bin
>         C:\cygwin\usr\X11R6\bin
>         c:\WINDOWS\system32
>         c:\WINDOWS
>         c:\WINDOWS\System32\Wbem
>         c:\Program Files\PuTTY
>         c:\java\apache-ant-1.6.1\bin
>         c:\java\j2sdk1.4.2_04
>         .\
> 
> Output from C:\cygwin\bin\id.exe (nontsec)
> UID: 1006(John) GID: 513(None)
> 513(None)
> 
> Output from C:\cygwin\bin\id.exe (ntsec)
> UID: 1006(John) GID: 513(None)
> 0(root)              513(None)
> 544(Administrators)  545(Users)
> 
> SysDir: C:\WINDOWS\System32
> WinDir: C:\WINDOWS
> 
> HOME = `C:\cygwin\home\John'
> MAKE_MODE = `unix'
> PWD = `/home/John'
> USER = `John'
> 
> Use `-r' to scan registry
> 
> c:  hd  NTFS   28576Mb  28% CP CS UN PA FC
> d:  hd  FAT       62Mb  67% CP    UN           FLASH DISK
> e:  cd           N/A    N/A
> 
> C:\cygwin      /          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:\cygwin\bin\bash.exe
> Found: C:\cygwin\bin\cat.exe
> Found: C:\cygwin\bin\cp.exe
> Not Found: cpp (good!)
> Found: C:\cygwin\bin\find.exe
> Not Found: gcc
> Not Found: gdb
> Found: C:\cygwin\bin\grep.exe
> Not Found: ld
> Found: C:\cygwin\bin\ls.exe
> Not Found: make
> 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
> 
>    61k 2003/08/09 C:\cygwin\bin\cygbz2-1.dll
>     7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
>   841k 2004/03/17 C:\cygwin\bin\cygcrypto-0.9.7.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
>   107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll
>    17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll
>   190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll
>    17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
>    29k 2003/08/10 C:\cygwin\bin\cyghistory5.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
>    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
>   156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
>   175k 2002/01/09 C:\cygwin\bin\cygncurses++6.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
>    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
>   108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
>   148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll
>   171k 2004/03/17 C:\cygwin\bin\cygssl-0.9.7.dll
>    61k 2003/12/04 C:\cygwin\bin\cygz.dll
>  1126k 2004/05/26 C:\cygwin\bin\cygwin1.dll
>     Cygwin DLL version info:
>         DLL version: 1.5.10
>         DLL epoch: 19
>         DLL bad signal mask: 19005
>         DLL old termios: 5
>         DLL malloc env: 28
>         API major: 0
>         API minor: 116
>         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: Tue May 25 22:07:00 EDT 2004
>         CVS tag: cr-0x5e6
>         Shared id: cygwin1S4
> 
> 
> Cygwin Package Information
> Package              Version
> _update-info-dir     00227-1
> ash                  20040127-1
> base-files           2.6-1
> base-passwd          1.1-1
> bash                 2.05b-16
> bzip2                1.0.2-5
> crypt                1.1-1
> cygrunsrv            1.0-1
> cygwin               1.5.10-3
> diffutils            2.8.7-1
> editrights           1.01-1
> fileutils            4.1-2
> findutils            4.1.7-4
> gawk                 3.1.4-3
> gdbm                 1.8.3-7
> grep                 2.5-1
> groff                1.18.1-2
> gzip                 1.3.5-1
> less                 381-1
> libbz2_1             1.0.2-5
> libgdbm              1.8.0-5
> libgdbm-devel        1.8.3-7
> libgdbm3             1.8.3-3
> libgdbm4             1.8.3-7
> libgettextpo0        0.14.1-1
> libiconv2            1.9.2-1
> libintl1             0.10.40-1
> libintl2             0.12.1-3
> libintl3             0.14.1-1
> libncurses5          5.2-1
> libncurses6          5.2-8
> libncurses7          5.3-4
> libpcre              4.1-1
> libpcre0             4.5-1
> libreadline4         4.1-2
> libreadline5         4.3-5
> login                1.9-7
> man                  1.5k-3
> mktemp               1.5-3
> ncurses              5.3-4
> openssl              0.9.7d-1
> postgresql           7.4.3-1
> readline             4.3-5
> sed                  4.0.9-2
> sh-utils             2.0.15-4
> tar                  1.13.25-5
> termcap              20021106-2
> terminfo             5.3_20030726-1
> texinfo              4.2-4
> textutils            2.0.21-1
> which                1.5-2
> zlib                 1.2.1-1
> Use -h to see help about each section
> 
> Thanks!
> 
> John Wilcher
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* initdb failure
@ 2007-01-24 01:29 said samadli <saidsamadli@yahoo.com>
  2007-01-27 23:40 ` Re: initdb failure Reini Urban <rurban@x-ray.at>
  0 siblings, 1 reply; 4+ messages in thread

From: said samadli @ 2007-01-24 01:29 UTC (permalink / raw)
  To: pgsql-cygwin

hi,
  i have just installed latest cygwin windows on 2000 and i have a problem with initdb, 
  it says
   
  postgres@vozdux /usr/share/postgresql
$ initdb -D /usr/share/postgresql/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.
  fixing permissions on existing directory /usr/share/postgresql/data ... ok
creating directory /usr/share/postgresql/data/global ... ok
creating directory /usr/share/postgresql/data/pg_xlog ... ok
creating directory /usr/share/postgresql/data/pg_xlog/archive_status ... ok
creating directory /usr/share/postgresql/data/pg_clog ... ok
creating directory /usr/share/postgresql/data/pg_subtrans ... ok
creating directory /usr/share/postgresql/data/pg_twophase ... ok
creating directory /usr/share/postgresql/data/pg_multixact/members ... ok
creating directory /usr/share/postgresql/data/pg_multixact/offsets ... ok
creating directory /usr/share/postgresql/data/base ... ok
creating directory /usr/share/postgresql/data/base/1 ... ok
creating directory /usr/share/postgresql/data/pg_tblspc ... ok
selecting default max_connections ... sh: line 1:  9184 Bad system call
"/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=500 -c max_connections=1
00 template1 < "/dev/null" > "/dev/null" 2>&1
sh: line 1:  9180 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=250 -c max_connections=50 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9200 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=200 -c max_connections=40 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9192 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=150 -c max_connections=30 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9252 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=100 -c max_connections=20 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9224 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=50 -c max_connections=10 template1 < "/dev/null" > "/dev/null"
 2>&1
10
selecting default shared_buffers ... sh: line 1:  9236 Bad system call         "
/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=1000 -c max_connections=1
0 template1 < "/dev/null" > "/dev/null" 2>&1
sh: line 1:  9216 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=900 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9244 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=800 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9312 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=700 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9284 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=600 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9296 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=500 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9276 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=400 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9368 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=300 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9272 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=200 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  8676 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=100 -c max_connections=10 template1 < "/dev/null" > "/dev/null
" 2>&1
sh: line 1:  9364 Bad system call         "/usr/sbin/postgres.exe" -boot -x0 -F
-c shared_buffers=50 -c max_connections=10 template1 < "/dev/null" > "/dev/null"
 2>&1
50
creating configuration files ... ok
creating template1 database in /usr/share/postgresql/data/base/1 ... child proce
ss was terminated by signal 12
initdb: removing contents of data directory "/usr/share/postgresql/data"
  postgres@vozdux /usr/share/postgresql
$
   
  this error s what could be the problem i have changed max_connection betwwen 100 and 5 it didn't work? thank you for the hep from now?

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: initdb failure
  2007-01-24 01:29 initdb failure said samadli <saidsamadli@yahoo.com>
@ 2007-01-27 23:40 ` Reini Urban <rurban@x-ray.at>
  0 siblings, 0 replies; 4+ messages in thread

From: Reini Urban @ 2007-01-27 23:40 UTC (permalink / raw)
  To: said samadli <saidsamadli@yahoo.com>; +Cc: pgsql-cygwin

said samadli schrieb:
> hi,
> i have just installed latest cygwin windows on 2000 and i have a problem 
> with initdb,

That looks like an old cygwin portgresql 7.4
You need to start cygserver before. Best is to read the cygwin README 
before and try out /etc/rc.d/init.d/postgresql in postgresql > 8.0

> it says
>  
> postgres@vozdux <mailto:postgres@vozdux> /usr/share/postgresql
> $ initdb -D /usr/share/postgresql/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.
> fixing permissions on existing directory /usr/share/postgresql/data ... ok
> creating directory /usr/share/postgresql/data/global ... ok
> creating directory /usr/share/postgresql/data/pg_xlog ... ok
> creating directory /usr/share/postgresql/data/pg_xlog/archive_status ... ok
> creating directory /usr/share/postgresql/data/pg_clog ... ok
> creating directory /usr/share/postgresql/data/pg_subtrans ... ok
> creating directory /usr/share/postgresql/data/pg_twophase ... ok
> creating directory /usr/share/postgresql/data/pg_multixact/members ... ok
> creating directory /usr/share/postgresql/data/pg_multixact/offsets ... ok
> creating directory /usr/share/postgresql/data/base ... ok
> creating directory /usr/share/postgresql/data/base/1 ... ok
> creating directory /usr/share/postgresql/data/pg_tblspc ... ok
> selecting default max_connections ... sh: line 1:  9184 Bad system call
> "/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=500 -c 
> max_connections=1
> 00 template1 < "/dev/null" > "/dev/null" 2>&1
> sh: line 1:  9180 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=250 -c max_connections=50 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9200 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=200 -c max_connections=40 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9192 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=150 -c max_connections=30 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9252 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=100 -c max_connections=20 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9224 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=50 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null"
>  2>&1
> 10
> selecting default shared_buffers ... sh: line 1:  9236 Bad system 
> call         "
> /usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=1000 -c 
> max_connections=1
> 0 template1 < "/dev/null" > "/dev/null" 2>&1
> sh: line 1:  9216 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=900 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9244 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=800 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9312 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=700 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9284 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=600 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9296 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=500 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9276 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=400 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9368 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=300 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9272 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=200 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  8676 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=100 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null
> " 2>&1
> sh: line 1:  9364 Bad system call         "/usr/sbin/postgres.exe" -boot 
> -x0 -F
> -c shared_buffers=50 -c max_connections=10 template1 < "/dev/null" > 
> "/dev/null"
>  2>&1
> 50
> creating configuration files ... ok
> creating template1 database in /usr/share/postgresql/data/base/1 ... 
> child proce
> ss was terminated by signal 12
> initdb: removing contents of data directory "/usr/share/postgresql/data"
> postgres@vozdux <mailto:postgres@vozdux> /usr/share/postgresql
> $
>  
> this error s what could be the problem i have changed max_connection 
> betwwen 100 and 5 it didn't work? thank you for the hep from now?


-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-01-27 23:40 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-06 14:59 initdb failure John Wilcher <wilche_j@bellsouth.net>
2004-08-07 02:04 ` mike g <mike@thegodshalls.com>
2007-01-24 01:29 initdb failure said samadli <saidsamadli@yahoo.com>
2007-01-27 23:40 ` Reini Urban <rurban@x-ray.at>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox