[GRASSLIST:8113] problem : grass to postgresql

orkun temiz at deprem.gov.tr
Mon Aug 29 07:44:25 EDT 2005


hello

Sory to ask same problem again.
But the problem with grass-postgresql still continues.

Although  postmaster  works normally out of grass:

$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data -p 5432
LOG:  database system was shut down at 2005-08-29 14:23:59 EEST
LOG:  checkpoint record is at 0/12C5AC04
LOG:  redo record is at 0/12C5AC04; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 5175; next OID: 3851158
LOG:  database system is ready

I can enter the database with :
psql sil
~~~~~~~~

But:
connection from grass to postgresql fails:

db.tables driver=pg database=sil
DBMI-Postgres driver error:
Cannot connect to Postgres: could not connect to server: No such file or 
directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


how can I solve the problem ?

regards

______________________________________
XamimeLT - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster at deprem.gov.tr
______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.

Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.




More information about the grass-user mailing list