Re: [Linux] postgresql de çalışma sorunu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: orkun (temiz@deprem.gov.tr)
Date: Wed 31 Aug 2005 - 10:41:28 EEST


orkun wrote:

> Devrim GUNDUZ wrote:
>
>>
>> Merhaba,
>>
>> On Mon, 29 Aug 2005, orkun wrote:
>>
>>> postgresql de postmaster calıştığı halde:
>>>
>> <kesildi>
>>
>>> 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"?
>>
>>
>>
>> Hrrmm... Öncelikle, PostgreSQL sürümü ne, dağıtım ne?
>>
>> ps -ef|grep postmaster
>>
>> ile postmaster'in gerçekten çalışıp çalışmadığına bakar mısınız?
>>
>> psql ile veritabanına bağlanabiliyor musunuz? Bu mesaj nereden
>> geliyor? PHP vs ile bağlanmaya çalışırken mi?
>>
>> İyi çalışmalar,
>> --
>> Devrim GUNDUZ
>> Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
>> devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
>> http://www.gunduz.org
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Linux mailing list
>> Linux@liste.linux.org.tr
>> http://liste.linux.org.tr/mailman/listinfo/linux
>>
>>
> -- postgresql 8.03;
>
> uygulama programını daha sonra istediği porttan şu şekilde
> çalıştırdım :
>
> postgres@landslide:/home/orkun$ /usr/local/pgsql/bin/postmaster -i -D
> /usr/local/pgsql/data/ -k /var/ run/postgresql/
>
> postmaster çalışıyor:
>
> orkun@landslide:~$ ps -ef|grep postmaster
> postgres 4062 3176 0 09:40 pts/0 00:00:00
> /usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data/ -k
> /var/run/postgresql/
> orkun 4149 3792 0 09:42 pts/4 00:00:00 grep postmaster
>
>
> ancak aynı anda uygulama dışından psql ile çalıştırmak gerekiyor.
>
> Ancak:
>
> postgres@landslide:/home/orkun$ /usr/local/pgsql/bin/psql bzk
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>
> ön tanımlı porttan dinleme yapıyor.
> sanırım psql yi uygulamadaki porttan dinletmem gerekiyor.
> bunu nasil yapabilirim ?
>
> saygılar.
>
>
> Ahmet Temiz
>
>
> ______________________________________
> XamimeLT - installed on mailserver for domain @deprem.gov.tr
> Queries to: postmaster@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.
>
> _______________________________________________
> Linux mailing list
> Linux@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux
>
>
Günduz Bey tekrar merhaba,

Önceki mailde uygulama preogramının grass-gis olduğunu
yazmayı atlamişım.

daha sonraki denemelerde sorun çözüldü gibi postgredb yi aynı anda
hem grassdan hemde psql den şu şekilde dinleyebiliyorum.

ln -s /var/run/postgresql/.s.PGSQL.5432 /tmp/.s.PGSQL.5432

daha düzgün bir çözüm bulamadım.

saygılar

Ahmet

______________________________________
XamimeLT - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster@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.

_______________________________________________
Linux mailing list
Linux@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.