Re: Debian'da PostgreSQL kurulum sorunu

2005-10-10 Başlik Burak İnceefe
Yardımlarınız için çok teşekkür ederim.PostgreSQL sorunsuz çalışıyor.BurakOn 10/11/05, M.Tugrul YILMAZER <
[EMAIL PROTECTED]> wrote:Bir şeyi belirtmeyi unutmuşum.Postgres kullanıcısı iken initdb'yi 
çalıştırmasılısınız.Aksi takdirde sorun çıkar.--M.Tugrul YILMAZERhttp://www.corporem.org


Re: firefox

2005-10-10 Başlik özgür x
Merhaba 

Sorun flashblock* adlı eklentiden kaynaklanıyormuş.
İlk önce flash player eklentisini sildim, aynı sorun devam edince 
flashblock tan şüphelenip onu da kaldırdım ve problem
kalmadı. Daha sonra flash eklentisini tekrar yükledim ve sorunsuzca,
bahsettiğim sayfaları görüntülüyebildim. Ama flashblock eklentisi olmadan.

* flashblock : Flash uygulamalarının sizin izniniz olmadan çalıştırılmasını engeller.
Flash uygulamasının yerine bu alanda beliren butona tıklayarak uygulamanın çaslışmasını
sağlayabilirsiniz.


Re: Debian'da PostgreSQL kurulum sorunu

2005-10-10 Başlik M.Tugrul YILMAZER
Bir şeyi belirtmeyi unutmuşum.Postgres kullanıcısı iken initdb'yi 
çalıştırmasılısınız.Aksi takdirde sorun çıkar.

-- 
M.Tugrul YILMAZER
http://www.corporem.org


Re: Debian'da PostgreSQL kurulum sorunu

2005-10-10 Başlik M . Tugrul Yilmazer
 
10.10.2005 tarihinde Burak İnceefe <[EMAIL PROTECTED]> yazmış:
> İyi günler,
> 
> Debian stable makinama postgresql kurdum ama çalışmıyor.Bir türlü sorunu
> çözemedim.PostgreSQL 'i kapatırken ve açarken şu hataları alıyorum:
>  
> Kapanırken, 
> //
> Stopping PostgreSQL database server: postmasterpg_ctl: could not find
> /var/lib/postgres/data/postmaster.pid
> Is postmaster running?
> .
> //
> 
> 
> Açılırken,
> //
> Starting PostgreSQL database server: postmaster(FAILED) 
> ERROR: pg_controldata: could not open file
> "/var/lib/postgres/data/global/pg_control" for reading: No
> such file or directory
> ERROR: PostgreSQL postmaster did not start because of an unknown reason.
> PostgreSQL's init script (/etc/init.d/postgresql) attempted 
> to start the postmaster, however, this failed because of an unknown
> reason.
> 
> 
> 
> 
> 
> This should not happen and is a serious problem. Please examine the
> situation (please take a look at the log files). If you know the 
> reason why it failed and, then please file a bug report to Debian
> (unless the reason is something obvious like a full disk).
> 
> Debian PostgreSQL.
> //
> 
> 
> 
> 
> 
> Bu mesajlar üzerine bende
> /var/lib/postgres/data/global/pg_control dosyasını postgres
> hakları ile oluşturdum.Bu seferde kapanırken;
> 
> //
>  Stopping PostgreSQL database server:
> postmaster/usr/lib/postgresql/bin/pg_ctl: line 328: kill:
> (4566) - No such process
> pg_ctl: postmaster does not shut down
> (does not shutdown gracefully, now stopping
> immediately)/usr/lib/postgresql/bin/pg_ctl: line 328: kill:
> (4566) - No such process 
> pg_ctl: postmaster does not shut down
> (does not shutdown, killing the process)/etc/init.d/postgresql: line 81:
> kill: (4566) - No such process
> .
> //
> 
> 
> 
> Açılırken ise;
> //
> Starting PostgreSQL database server: postmaster(FAILED) 
> ERROR: Removing stale PID file and socket
> pg_controldata: could not read file
> "/var/lib/postgres/data/global/pg_control": Success
> ERROR: PostgreSQL postmaster did not start because of an unknown reason. 
> PostgreSQL's init script (/etc/init.d/postgresql) attempted
> to start the postmaster, however, this failed because of an unknown
> reason.
> 
> This should not happen and is a serious problem. Please examine the
>  situation (please take a look at the log files). If you know the
> reason why it failed and, then please file a bug report to Debian
> (unless the reason is something obvious like a full disk).
> 
> Debian PostgreSQL
> //
> 
> 
> böyle bir hata mesaı alıyorum. 
> 
> 
> Ama postgres kullanıcı oluşmuş.Postgres kullanıcısı ile createdb komutu ile
> veritabanı oluşturmaya çalışıyorum.Onda da şöy
> le bir hata alıyorum:
> 
> createdb: could not connect to database template1: could not connect to
> server: 8\u)@\u   %@ 
> Is the server running locally and accepting
> connections on Unix domain socket
> "/var/run/postgresql/.s.PGSQL.5432"?
> 
> 
> Sabahten beri uğraşıyorum ama bir türlü düzeltemedim.Kafayı yemek
> üzereyim.Bu sorunu nasıl düzeltirim yardımlarınızı bekliyorum.
> 
> Burak
>

Büyük bir ihtimalla initdb'yi düzgün bir şekilde çalışmadığı için böyle bir 
sorun oluşmuş.

İlk  önce /var/lib/postgres/data dizini altında ne varsa silin.Sonra bu 
dizinin(data) sahibini ve
grubunu postgres yaptıktan sonra çalıştırma  yetkilerini 700 şeklinde 
ayarlayın.Bu işlemlerden son-
ra initdb'yi aşağıdaki gibi çalıştırın.

/usr/lib/postgresql/bin/initdb -D /var/lib/postgres/data

Büyük bir ihtimalle postgresql 'iniz sorunsuz bir şekild

Debian'da PostgreSQL kurulum sorunu

2005-10-10 Başlik Burak İnceefe
İyi günler,Debian stable makinama postgresql kurdum ama çalışmıyor.Bir türlü sorunu çözemedim.PostgreSQL 'i kapatırken ve açarken şu hataları alıyorum: Kapanırken, //
Stopping PostgreSQL database server: postmasterpg_ctl: could not find /var/lib/postgres/data/postmaster.pidIs postmaster running?.//
Açılırken,//Starting PostgreSQL database server: postmaster(FAILED)
ERROR: pg_controldata: could not open file "/var/lib/postgres/data/global/pg_control" for reading: No such file or directoryERROR: PostgreSQL postmaster did not start because of an unknown reason.PostgreSQL's init script (/etc/init.d/postgresql) attempted
to start the postmaster, however, this failed because of an unknownreason.This should not happen and is a serious problem. Please examine thesituation (please take a look at the log files). If you know the
reason why it failed and, then please file a bug report to Debian(unless the reason is something obvious like a full disk).Debian PostgreSQL.//
Bu mesajlar üzerine bende /var/lib/postgres/data/global/pg_control dosyasını postgres hakları ile oluşturdum.Bu seferde kapanırken;//

Stopping PostgreSQL database server: postmaster/usr/lib/postgresql/bin/pg_ctl: line 328: kill: (4566) - No such processpg_ctl: postmaster does not shut down(does not shutdown gracefully, now stopping immediately)/usr/lib/postgresql/bin/pg_ctl: line 328: kill: (4566) - No such process
pg_ctl: postmaster does not shut down(does not shutdown, killing the process)/etc/init.d/postgresql: line 81: kill: (4566) - No such process.//
Açılırken ise;//Starting PostgreSQL database server: postmaster(FAILED)
ERROR: Removing stale PID file and socketpg_controldata: could not read file "/var/lib/postgres/data/global/pg_control": SuccessERROR: PostgreSQL postmaster did not start because of an unknown reason.
PostgreSQL's init script (/etc/init.d/postgresql) attemptedto start the postmaster, however, this failed because of an unknownreason.This should not happen and is a serious problem. Please examine the
situation (please take a look at the log files). If you know thereason why it failed and, then please file a bug report to Debian(unless the reason is something obvious like a full disk).Debian PostgreSQL
//böyle bir hata mesaı alıyorum.
Ama postgres kullanıcı oluşmuş.Postgres kullanıcısı ile createdb komutu ile veritabanı oluşturmaya çalışıyorum.Onda da şöyle bir hata alıyorum:createdb: could not connect to database template1: could not connect to server: 8\u)@\u   %@
    Is the server running locally and accepting    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?Sabahten beri uğraşıyorum ama bir türlü düzeltemedim.Kafayı yemek 
üzereyim.Bu sorunu nasıl düzeltirim yardımlarınızı bekliyorum.Burak