Mam problem, otóż chiałem uruchomić zainstalowaną bazę danych jednak przy próbie uruchomienia ostrzymuję komunikat:
Kod
[postgres@arcoserver data]$ psql
psql: could not connect to server: Nie ma takiego pliku ani katalogu
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: Nie ma takiego pliku ani katalogu
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Zatem pewnie nie mam uruchomionego postmastera. Jednak przy próbie odpalenia odpalenia otrzymuje:
Kod
[postgres@arcoserver data]$ postmaster -D /var/lib/postgres/data/
FATAL: database files are incompatible with server
DETAIL: The data directory was initialized by PostgreSQL version 8.0, which is not compatible with this version 8.2.5.
FATAL: database files are incompatible with server
DETAIL: The data directory was initialized by PostgreSQL version 8.0, which is not compatible with this version 8.2.5.
Generalnie baza jest pusta więc nie potrzebuje jej trzymać. Jak utworzyć nową bazę juz na wersji 8.2.5

PS. Dobra, poradziłem sobie..usunąłem zawartość /data , z racji tego, że stara baza nie była potrzeba, a następnie utworzyłem nową bazę(tym razem w innym miejscu)
Kod
initdb -D /home/katalog_usera/postgres/data
A następnie:
Kod
pg_ctl -D /home/katalog_usera/postgres/data
Baza hula. Pytanie poboczne.. Dlaczego nigdzie nie widze procesu postmastera?

Kod
[root@arcoserver var]# ps -A |grep postmaster
[root@arcoserver var]#
[root@arcoserver var]#
Jest tylko
Kod
[root@arcoserver var]# ps -A |grep postgres
2700 pts/0 00:00:00 postgres
2702 ? 00:00:00 postgres
2703 ? 00:00:00 postgres
2700 pts/0 00:00:00 postgres
2702 ? 00:00:00 postgres
2703 ? 00:00:00 postgres