global/pg_database (postgres 8.4.6)
Bonjour,
j'ai installer postgres 8.4.6 sur notre serveur redhat4. Lorsque j'ecris psql template1 il m'affiche ceci:
Code:
1 2 3
|
bash-3.00$ psql template1
psql: FATAL: could not open file "global/pg_database": No such file or directory |
je ne comprends pas pouquoi il me dis cela. est ce que j'ai mal fait quelque chose ou loupé une étape lors de l'installation?
De plus dans le fichier logfile il me dit cela:
Code:
1 2 3 4
|
postmaster cannot access the server configuration file "/usr/local/pgsql/data/postgresql.conf": No such file or directory
FATAL: lock file "postmaster.pid" already exists
HINT: Is another postmaster (PID 24693) running in data directory "/var/lib/pgsql/data"? |
il n'existe pas de dossier pgsql dans usr/local. pourquoi va-t-il là-bas?
merci d'avance.