Skip site navigation (1) Skip section navigation (2)

Re: Install from source

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
Cc: "PGSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Install from source
Date: 2000-08-30 20:44:05
Message-ID: 001901c012c3$09eb1d60$330a0a0a@Adam (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Yeah, I caught the first stupid mistake.  What happened was I was logged in
as postgres and su'ed to root to remove the previous RPM of postgres 6.5.  I
then did the compiling, etc.  I exited and went back to the postgres user.
Well, removing the RPM removed the user that the RPM made so the owner of
/home/postgres became uid 26 as opposed to postgres which was what I was
technically logged in as.  And since I was in the home directory trying to
dump the logfile, permission was denied.

As for the later, yeah, I went by the short instructions and and the
ldconfig step was skipped.  I guess I tried to get out of it too easy. :)

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
Cc: "PGSQL General" <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, August 30, 2000 4:36 PM
Subject: Re: [GENERAL] Install from source

> "Adam Lang" <aalang(at)rutgersinsurance(dot)com> writes:
> > OK, I downloaded the source and followed the directions from here
> > ( and when I run
> > command: /usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data
> >> logfile 2>&1 &
> > I get the error:
> > [1] 28156
> > bash: logfile: Permission denied
> Do you have write permission in the directory you're doing this in?
> > I try to createdb anyway and I get:
> > /usr/local/pgsql/bin/psql: error in loading shared libraries:
> > cannot open shared object file: No such file or directory
> > createdb: database creation failed
> > [1]+  Exit 1                  /usr/local/pgsql/bin/postmaster -i -D
> > /usr/local/pgsql/data>logfile 2>&1
> Sounds like you have not done the incantation to make the shared
> libraries available --- see step 8 in
> The ldconfig method is probably what you want to use.
> regards, tom lane

In response to

pgsql-general by date

Next:From: Adam LangDate: 2000-08-30 20:46:54
Subject: Re: Install from source
Previous:From: Tom LaneDate: 2000-08-30 20:36:18
Subject: Re: Install from source

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group