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

Re: [cobalt-users] postgress will not start -RAQ4



| Error:
| ====
|
| No data directory -- can't proceed.
| /usr/bin/postmaster does not find the database system.  Expected to find
it
| in the PGDATA directory "/var/lib/pgsql/data", but unable to open file
with
| pathname "/var/lib/pgsql/data/base/template1/pg_class".
|
| /var/lib/pgsql/data/base/template1/pg_class exists and I have checked it
| against another RAQ4 and it is identical. The script to start postgres is
| correct - again checked against another RAQ4.
|
| Any suggestions how to get postgres started, as the GUI can not show a
site
| list.
|
| TIA
|
| Steve Bassi


Forget that .........
I have fixed it ...

This is what the RAQ owner said to me after I fixed it ....

"I bet that was me!!! When i wanted to transfer the database files from the
server to my hard drive i had to change the permissions as it wouldn't let
me download. So i used the chown command but also i put the -R in there"

Silly me didnt think to check that they were still owned by postgres.

Sorry for the post

Bassi