[QUESTIONS] What else can I do?

Eze Ogwuma zcaceog@ucl.ac.uk
16 Nov 1997 22:31:25 +0000


Sergio Tirado Ochoa <stirado@campus.gym.itesm.mx> writes:

It would seem that the version of postgresql that you have installed
is a version compiled for the new glibc libraries. 

Get the postgresql RPMS from ftp.redhat.com's contrib directory or a
sunsite mirror. 

Remove the previous installation of postgresql and the postgres user
you created. Make sure you delete /var/lib/postgresql.

Delete glibc-crypt-2.0.4-1.i386.rpm.

Delete libc.so.6. **If you upgraded from libc.so.5 using rpm you must
"upgrade" back to it using --oldpackage**. If you just added libc.so.6
as an extra library, delete it.

Install the new postgresql rpm's with "rpm -ivh". There should be no
complaints, no need to create any users.

su from root to daemon.

createuser <your login name>
Allow the creation of new users and databases.
exit.

Login as yourself.

"createdb <your login name>" or "createdb <database name>"

If the database name is the same as your login name type:

"psql"

otherwise type:

"psql <database name>"

This should all work without problem.

> STEP ONE
> 
> I installed Red Hat Linux release 4.2 (Biltmore) Kernel 2.0.30 on an i586
> on a brand new HP Vectra VL computer. I installed *everything*. I ended up
> with a brand new fat Unix server.
> 
> STEP TWO
> 
> I created the user pgsql, downloaded postgresql-6.2.1-2.i586.rpm and
> installed it.

Where did you get this from?


> STEP THREE
> 
> After rebooting I logged on as pgsql and tried to run postmaster. It
> complained and asked for cryptlib so I looked for it and found
> glibc-crypt-2.0.4-1.i386.rpm and installed it.
>
> STEP FOUR
> 
> I logged on as pgsql and tried to run postmaster. It complained and asked
> for libc.so.6 so I looked for it, found it and installed it.
> 
> STEP FIVE
> 
> I logged on as pgsql and tried to run postmaster. It complained and asked
> for ld-linux.so.2 so I looked for it, found it and installed it.
> 
> STEP SIX
> 
> I logged on as pgsql and tried to run postmaster. It complained and told me
> "Segmentation fault (core dumped)".
> 
> What else can I do?
> 
> --
> I suggest error messages could be more friendly and instead of saying 
> 
> postmaster: can't load library 'libcrypt.so.1'
> 
> they should say 
> 
> postmaster: can't load library 'libcrypt.so.1', check
> /usr/doc/postgresql-6.2.1-2/findit.txt to see where you can find it
> 
> It would make our lives easier.
> 
> Maybe I'm asking for too much but the XMas spirit got to me already.
> 
> --
> Sergio Tirado Ochoa            mailto:stirado@campus.gym.itesm.mx
> Director de Informática        http://www.enlace.com.mx/~stirado
> ITESM Campus Guaymas           Tels: 1-0315 ext. 124 & 1-2150
> --
> This message is made with 100% recycled electrons
> 
> 

-- 
Eze Ogwuma