Re: [ADMIN] 6.5.3. installation problems - Mailing list pgsql-admin

From Karl DeBisschop
Subject Re: [ADMIN] 6.5.3. installation problems
Date
Msg-id 200001041635.LAA24428@skillet.infoplease.com
Whole thread Raw
In response to 6.5.3. installation problems  ("Bogdan BALAJ" <axis@interplus.ro>)
List pgsql-admin
>   From: "Bogdan BALAJ" <axis@interplus.ro>
>
>   I'm having some problms when installing PostgreSQL 6.5.3. After =
>   configure/make/make install, when I'm looking in installed directory, =
>   there isno data subdir.=20
>   Erros reprted:
>
>   on terminal says:
>   psql: error in loading shared libraries: libpq.so.2.0: cannot open =
>   shared object
>    file: No such file or directory
>   createdb: database creation failed on postgres.

This suggests you may still need to run ldconfig

>   pgserver.log says:
>   /usr/local/pgsql/bin/postmaster does not find the database system. =
>   Expected to
>   find it in the PGDATA directory "/usr/local/pgsql/data", but unable to =
>   open file
>    with pathname "/usr/local/pgsql/data/base/template1/pg_class".

This suggests you have not run initdb - look at the man pages for
postmaster and postgres - they describe the procedure for initializing
the database.

>   I'm running slakware 7.0 with kernel 2.2.13.
>
>   probably I'm doing something wrong on install. User/group permisions =
>   seems to be correct, also variables like PGDTA, PGLIB ... seems to have =
>   right value.

Hope these suggestions are useful

Karl DeBisschop

pgsql-admin by date:

Previous
From: neko@kredit.sth.szif.hu
Date:
Subject: missing headers
Next
From: "Dana Hudes"
Date:
Subject: weird fatal error starting postmaster