pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
I cannot get the db to initialize.  Please help.
3+ messages / 2 participants
[nested] [flat]

* I cannot get the db to initialize.  Please help.
@ 2003-03-12 21:50 P G <pg_dba@yahoo.com>
  2003-03-12 22:48 ` Re: I cannot get the db to initialize. Please help. Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: P G @ 2003-03-12 21:50 UTC (permalink / raw)
  To: pgsql-admin

Has anyone seen this error and managed to get it to
work?  I have installed the PostgreSQL 7.3.1 RPMs, but
I cannot get the database to initialize.  I keep
getting the following error.  BTW, this is on a Cobalt
RAQ550.

Any help would be appreciated.

TIA.
**************************************
[root admin]# su -l postgres -c '/usr/bin/initdb
--pgdata=/var/lib/pgsql/data'
The program
    '/usr/bin/postgres'
needed by initdb does not belong to PostgreSQL version
7.3.1, or
there may be a configuration problem.

This was the error message issued by that program:
/usr/bin/postgres: error while loading shared
libraries: cannot open shared obje
ct file: cannot load shared object file: No such file
or directory
[root admin]# rpm -qf /usr/bin/postgres
postgresql-server-7.3.1-1PGDG
[root admin]#

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com



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

* Re: I cannot get the db to initialize. Please help.
  2003-03-12 21:50 I cannot get the db to initialize.  Please help. P G <pg_dba@yahoo.com>
@ 2003-03-12 22:48 ` Tom Lane <tgl@sss.pgh.pa.us>
  2003-03-12 23:50   ` Re: I cannot get the db to initialize. Please help. P G <pg_dba@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2003-03-12 22:48 UTC (permalink / raw)
  To: P G <pg_dba@yahoo.com>; +Cc: pgsql-admin

P G <pg_dba@yahoo.com> writes:
> This was the error message issued by that program:
> /usr/bin/postgres: error while loading shared
> libraries: cannot open shared obje
> ct file: cannot load shared object file: No such file
> or directory

You probably need a shared library that you don't have, or don't have
the right version of.  Or maybe you just need to fix ldconfig to know
where the libraries are.  "ldd /usr/bin/postgres" should tell you what
it's looking for.

			regards, tom lane



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

* Re: I cannot get the db to initialize. Please help.
  2003-03-12 21:50 I cannot get the db to initialize.  Please help. P G <pg_dba@yahoo.com>
  2003-03-12 22:48 ` Re: I cannot get the db to initialize. Please help. Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-03-12 23:50   ` P G <pg_dba@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: P G @ 2003-03-12 23:50 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

Thanks, I forgot all about ldd.  Anyhow, I was able to
track down the problem pretty quickly with your
suggestion.

Thanks Again.

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> P G <pg_dba@yahoo.com> writes:
> > This was the error message issued by that program:
> > /usr/bin/postgres: error while loading shared
> > libraries: cannot open shared obje
> > ct file: cannot load shared object file: No such
> file
> > or directory
> 
> You probably need a shared library that you don't
> have, or don't have
> the right version of.  Or maybe you just need to fix
> ldconfig to know
> where the libraries are.  "ldd /usr/bin/postgres"
> should tell you what
> it's looking for.
> 
> 			regards, tom lane
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please
> send an appropriate
> subscribe-nomail command to majordomo@postgresql.org
> so that your
> message can get through to the mailing list cleanly


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com



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


end of thread, other threads:[~2003-03-12 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-12 21:50 I cannot get the db to initialize.  Please help. P G <pg_dba@yahoo.com>
2003-03-12 22:48 ` Re: I cannot get the db to initialize. Please help. Tom Lane <tgl@sss.pgh.pa.us>
2003-03-12 23:50   ` Re: I cannot get the db to initialize. Please help. P G <pg_dba@yahoo.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