pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
6.5.3. installation problems
2+ messages / 2 participants
[nested] [flat]

* 6.5.3. installation problems
@ 2000-01-04 15:03  Bogdan BALAJ <axis@interplus.ro>
  0 siblings, 1 reply; 2+ messages in thread

From: Bogdan BALAJ @ 2000-01-04 15:03 UTC (permalink / raw)
  To: pgsql-admin

Hi,

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. 
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.

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".

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.

Thanks,
Bogdan 

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

* Re: [ADMIN] 6.5.3. installation problems
@ 2000-01-04 16:35  Karl DeBisschop <kdebisschop@range.infoplease.com>
  parent: Bogdan BALAJ <axis@interplus.ro>
  0 siblings, 0 replies; 2+ messages in thread

From: Karl DeBisschop @ 2000-01-04 16:35 UTC (permalink / raw)
  To: 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



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


end of thread, other threads:[~2000-01-04 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-01-04 15:03 6.5.3. installation problems Bogdan BALAJ <axis@interplus.ro>
2000-01-04 16:35 ` Karl DeBisschop <kdebisschop@range.infoplease.com>

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