[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RAQ4-postgres/gui errors and rebuild



----- Original Message ----- 
From: "MC Gonzalez" <mgonzalez@xxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, June 19, 2003 5:51 AM
Subject: Re: [cobalt-users] RAQ4-postgres/gui errors and rebuild


> On Wed, 2003-06-18 at 16:35, Ken Marcus - Precision Web Hosting
wrote:
> > Yes you will be just back where you started. But, I've done it at
> > least 5 times with no problem. The only problem I've had is when I
> > left the data directory owned by root instead of being owned by
the
> > postgres user. It should be:
> > drwx------    4 postgres postgres     1024 Jun  5 10:52 data
> >
>
> Thanks Ken!  If I may ask one more question to get this all straight
in
> my mind before jumping in later today, in the instructions it says:
>
> - Deleted all content under /var/lib/pgsql/data
>
> So I am sure, does this mean to rm all the files and directories
below
> this, or are only some of the files and directories data and some
should
> not be deleted?
>
> Learning way more about this than I ever wanted :)



I just do a:
mkdir /var/lib/pgsql/dataold
mv /var/lib/pgsql/data /var/lib/pgsql/dataold
mkdir /var/lib/pgsql/data
chown postgres:postgres /var/lib/pgsql/data



----
Ken Marcus
Precision Web Hosting
mailto:ken@xxxxxxxxxxxxxxxx
http://www.precisionweb.net