[linux-baslangic] Re: postgresql de sorun

---------

From: orkun (temiz@deprem.gov.tr)
Date: Thu 10 Jul 2003 - 15:13:39 EEST

  • Next message: Olgun Adem KAYA: "[linux-baslangic] açılış problemi"

    Devrim GUNDUZ wrote:

    >Merhaba,
    >
    >On Wed, 9 Jul 2003, orkun wrote:
    >
    >
    >
    >>rh 9 da
    >>postgreyi bir turlu baslatamaz oldum.
    >>etc/rc.d/init.d/postgresql start denedim olmadi.
    >>kde > system stting > service den restart ettim
    >>basarili oldu diyor ama aslinda calismiyor.
    >>nedeni ne olabilir ?
    >>
    >>
    >
    >/etc/init.d/postgresql dosyasini acar misiniz?
    >
    >Orada soyle bir satir olacak:
    >
    >su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p
    >/usr/bin/postmaster -o '-p ${PGPORT} .....
    >
    >Simdi o satirda sunu ekleyin:
    >
    >-l /var/log/pgsql
    >
    >Yani,
    >su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -l /var/log/pgsql
    >
    >HEr olasiliga karsi:
    >
    >chown postgres:postgres /var/log/pgsql
    >
    >Simdi PostgreSQL'i yeniden baslatin.
    >
    >Ustteki log dosyasina olasi hatalari yazacaktir. Listeye atarsaniz
    >yardimci olmaya calisirim.
    >
    >Saygilar.
    >
    >
    >
    Devrim Bey
    yardiminiz için tesekkur ederim.
    dediginiz gibi yaptim. Ama log dosyasinin ici bostu.

    Ne kadar denediysem bana su cevabi verdi.

    etc/rc.d/init.d/postgresql stop [OLMADI]
    etc/rc.d/init.d/postgresql start [OLMADI]

    Sonra su komutu denedim.
     
    -bash-2.05b$ /usr/bin/postmaster -D /var/lib/pgsql/data
    Found a pre-existing shared memory block (key 5432001, id 0) still in use.
    If you're sure there are no old backends still running,
    remove the shared memory block with ipcrm(1), or just
    delete "/var/lib/pgsql/data/postmaster.pid".

    Ve bu cevabi aldim. Bu problem onceki surecte -elektrik kesintisi nedeniyle -
    postgre duzgun kapatilmadigi icin oldu saniyorum.
    Neyse postmaster.pid i yok ettim ve /usr/bin/postmaster -D /var/lib/pgsql/data
    komutu postgreyi calistirdi ve sorun halloldu.

    Duzgun kapatilmadigi durumlarda bu yaygin bir olaymidir ?

    saygilar.

    ______________________________________
    Scanned and protected by Inflex
    http://pldaniels.com/inflex

    ______________________________________
    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-baslangic listesinden cikmak  ve tum listeci islemleri icin
    http://liste.linux.org.tr/   adresini kullanabilirisniz.
    Bu listeden cikmak icin
    <a href="mailto:linux-baslangic-request?Subject=unsubscribe"> tiklayiniz </a>
    

  • Next message: Olgun Adem KAYA: "[linux-baslangic] açılış problemi"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.