Thread: errors

errors

From
dinu paul
Date:
     i am getting the folling error ,when i using
initdb command in mac os x..

----------------------------------------------
bash-2.05a$ initdb -D /users/ampleuser/data
The files belonging to this database system will be
owned by user "ampleuser".
This user must also own the server process.

creating directory /users/ampleuser/data... ok
creating directory /users/ampleuser/data/base... ok
creating directory /users/ampleuser/data/global... ok
creating directory /users/ampleuser/data/pg_xlog... ok
creating directory /users/ampleuser/data/pg_clog... ok
creating template1 database in
/users/ampleuser/data/base/1... dyld:
/Library/PostgreSQL/bin/postgres Undefined symbols:
/Library/PostgreSQL/bin/postgres undefined reference
to _crypt expected to be defined in
/usr/lib/libcrypto.0.9.dylib
/Library/PostgreSQL/bin/initdb: line 473:   477 Broken
pipe             cat "$POSTGRES_BKI"
       478                       | sed -e
"s/POSTGRES/$POSTGRES_SUPERUSERNAME/g" -e
"s/ENCODING/$MULTIBYTEID/g"
       479 Trace/BPT trap          |
"$PGPATH"/postgres -boot -x1 $PGSQL_OPT
$BACKEND_TALK_ARG template1

initdb failed.
Removing /users/ampleuser/data.

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

Re: errors

From
Bruce Momjian
Date:
What PostgreSQL version are you using.  It should be 7.3.2 for OS X.

---------------------------------------------------------------------------

dinu paul wrote:
>
>      i am getting the folling error ,when i using
> initdb command in mac os x..
>
> ----------------------------------------------
> bash-2.05a$ initdb -D /users/ampleuser/data
> The files belonging to this database system will be
> owned by user "ampleuser".
> This user must also own the server process.
>
> creating directory /users/ampleuser/data... ok
> creating directory /users/ampleuser/data/base... ok
> creating directory /users/ampleuser/data/global... ok
> creating directory /users/ampleuser/data/pg_xlog... ok
> creating directory /users/ampleuser/data/pg_clog... ok
> creating template1 database in
> /users/ampleuser/data/base/1... dyld:
> /Library/PostgreSQL/bin/postgres Undefined symbols:
> /Library/PostgreSQL/bin/postgres undefined reference
> to _crypt expected to be defined in
> /usr/lib/libcrypto.0.9.dylib
> /Library/PostgreSQL/bin/initdb: line 473:   477 Broken
> pipe             cat "$POSTGRES_BKI"
>        478                       | sed -e
> "s/POSTGRES/$POSTGRES_SUPERUSERNAME/g" -e
> "s/ENCODING/$MULTIBYTEID/g"
>        479 Trace/BPT trap          |
> "$PGPATH"/postgres -boot -x1 $PGSQL_OPT
> $BACKEND_TALK_ARG template1
>
> initdb failed.
> Removing /users/ampleuser/data.
>
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
>        visit http://in.tv.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073