[GRASSLIST:8110] Re:postgresql connection failes
orkun
temiz at deprem.gov.tr
Mon Aug 29 04:52:24 EDT 2005
Michele wrote:
>
>
>>Michele wrote:
>>
>>
>>
>>>Hi,
>>>You can recompile GRASS with the new path to postgresql specified in the "./configure" step:
>>>
>>>
>
>
>
>
>>>>hello
>>>>
>>>>after installation grass with posgresql support,
>>>>I reinstalled postgresql from source in different location.
>>>>Consequently, grass can not link to postgresql which I had
>>>>been able to connect to.
>>>>How can I ensure that grass can connect to postrgresql ?
>>>>
>>>>
>>>>regards
>>>>
>>>>Ahmet Temiz
>>>>
>>>>
>
>
>
>>thank you
>>
>>but although I recompiled grass with new path of postgresql, it gives
>>
>>
>
>
>
>> Is the server running locally and accepting
>> connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
>>
>>What should be done else ?
>>
>>
>>
>
>If you reinstall postgres from source you have to manually rebuild the database directory, user, etc..
>
>
>You have to follow carefully this instructions:
>
>http://www.postgresql.org/docs/7.4/static/creating-cluster.html
>http://www.postgresql.org/docs/7.4/static/postmaster-start.html
>
>
>you will also have to create a new database user and remember to use the database administrator user (eg postgres)
>
>postgres$ initdb -D /usr/local/pgsql/data
>^^^^^^^^
>
>to do administration task like starting and stopping the postmaster.
>
>Michele.
>
>
>
>____________________________________________________________
>Libero Flat, sempre a 4 Mega a 19,95 euro al mese!
>Abbonati subito su http://www.libero.it
>
>
>
>
>
>
>
>
thank you
I can run new postgresql alone using postmaster and psql.
But grass cannot connect to new postgre, although I have
recompiled grass with new path of postgresql.
Ahmet
______________________________________
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