X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A0DA29FA64B for ; Tue, 20 Jun 2006 12:32:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 54580-05 for ; Tue, 20 Jun 2006 12:32:42 -0300 (ADT) X-Greylist: delayed 00:29:50.25729 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 079EA9FA65C for ; Tue, 20 Jun 2006 12:32:41 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from spy.isp.nsc.ru (spy.isp.nsc.ru [194.226.178.66]) by svr4.postgresql.org (Postfix) with ESMTP id 983745AF02A for ; Tue, 20 Jun 2006 15:02:49 +0000 (GMT) Received: from [192.168.1.3] ([192.168.1.3]) by spy.isp.nsc.ru (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k5KF2bS1002646 for ; Tue, 20 Jun 2006 22:02:40 +0700 Message-ID: <44980E1C.3020705@spy.isp.nsc.ru> Date: Tue, 20 Jun 2006 22:02:52 +0700 From: "Alex. N. Karpov" User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Troubles with starting postgresql Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/160 X-Sequence-Number: 22122 Hello! I have troubles with starting postmaster... > spy:/etc/init.d# ./postgresql > Starting PostgreSQL database server: postmaster(FAILED) > ERROR: 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 1) Disks are not full 2) Daemon doesn't write logs into logfile, although I have these keys in /etc/postgresql/postgresql.conf: > syslog = 1 # range 0-2; 0=stdout; 1=both; 2=syslog > syslog_ident = 'postgres' > client_min_messages = debug5 > log_min_messages = debug5 > log_error_verbosity = defaul > log_min_error_statement = debug5 > log_min_duration_statement = 0 > silent_mode = false I check all files in /var/log/. The only thing it write to /var/log/postgresql/postgres.log is: > FATAL: XX000: failed to initialize lc_messages to "" > LOCATION: InitializeGUCOptions, guc.c:1867 Before installing postgresql from packages I has removed all postgres dirs that I found: /etc/postgresql/ /usr/lib/postgresql/ /usr/share/postgresql/ System: debian sarge Kernel: 2.6.9 I have tried with psql versions 7.4.7 and 7.4.13-3. I also tried 8.1.4-1, but not heavily (my unsaved database was created by psql 7.4) I don't know what I have to do next. What I do wrong? --------- Thank you Alex. Karpov