I cannot get the db to initialize. Please help.

Started by P Gabout 23 years ago2 messagesgeneral
Jump to latest
#1P G
pg_dba@yahoo.com

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

#2Richard Huxton
dev@archonet.com
In reply to: P G (#1)
Re: I cannot get the db to initialize. Please help.

On Wednesday 12 Mar 2003 9:51 pm, P G wrote:

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.

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

Looks like you have an old version installed too. Check "rpm -qa" and try a
"locate postgres" to see if there's another version.

--
Richard Huxton