[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postgresql Kurulum Sonrası Hatası



merhaba;

Postgresql i denemek ve öğrenmek amacıyla debian sistemime kurduğumda
aşağıdaki hatayı alıyorum,;

Preconfiguring packages ...
Selecting previously deselected package postgresql.
(Reading database ... 155587 files and directories currently installed.)
Unpacking postgresql (from .../postgresql_7.4.6-7_i386.deb) ...
Setting up postgresql (7.4.6-7) ...

Creating config file /etc/postgresql/postmaster.conf with new version
Creating missing home directory /var/lib/postgres for postgres
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale tr_TR.

fixing permissions on existing directory /var/lib/postgres/data... ok
creating directory /var/lib/postgres/data/base... ok
creating directory /var/lib/postgres/data/global... ok
creating directory /var/lib/postgres/data/pg_xlog... ok
creating directory /var/lib/postgres/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /var/lib/postgres/data/base/1... FATAL:
 XX000: failed to initialize DateStyle to "ISO, MDY"
LOCATION:  InitializeGUCOptions, guc.c:1867

initdb: failed
dpkg: error processing postgresql (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------------------------


/etc/init.d den çalıştırmaya çalıştığımda ise,

Stopping PostgreSQL database server: postmasterpg_ctl: could not find
/var/lib/postgres/data/postmaster.pid
Is postmaster running?
.
Starting PostgreSQL database server: postmastergrep:
/etc/postgresql/postgresql.conf: Böyle bir dosya ya da dizin yok
(FAILED)
ERROR: pg_controldata: could not open file
"/var/lib/postgres/data/global/pg_control" for reading: Böyle bir
dosya ya da dizin yok
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.
---------------------------------


ne yapabilirim?

şimdiden teşekkürler;

-- 
do or do not there is no try -- Master Yoda --



Reply to: