Avatar billede ellebaek Nybegynder
20. oktober 2004 - 16:08 Der er 1 kommentar og
1 løsning

Installer i cygwin

Jeg har tidligere oprettet dette spg: http://eksperten.dk/spm/508098

Her kom kbu med en glimrende guide til installation af postgreSQL under cygwin..

Jeg har dog visse problemer med den, jeg får følgende:
$ bash --login initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "Jens".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... 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_clog... ok
selecting default max_connections... initdb: line 572:  1792 Bad system call
    "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1

initdb: line 572:  2772 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 572:  1768 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 572:  3204 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 572:  2864 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 572:  3400 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
10
selecting default shared_buffers... initdb: line 585:  1388 Bad system call
    "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  3828 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  1944 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  1736 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  1044 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  1652 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  172 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  1376 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  2812 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  3380 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
initdb: line 585:  4080 Bad system call        "$PGPATH"/postgres -boot -x0 $TE
ST_OPT template1 </dev/null >/dev/null 2>&1
50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... initdb: line 644:
  2752 Bad system call        "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BOOTSTRA
P_TALK_ARG template1

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

jeg har registreret alle miljøvariable osv.

Nogen der har nogen forslag til dette problem ?
På forhånd tak.
Mvh. Jens
Avatar billede ellebaek Nybegynder
20. oktober 2004 - 16:09 #1
Skal lige siges at jeg ikke er ved computeren igen før i morgen...
Avatar billede ellebaek Nybegynder
29. oktober 2004 - 23:12 #2
trist´...

Så må jeg klare mig uden :-/
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Computerworld tilbyder specialiserede kurser i database-management

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester