From: Alex. N. Karpov <ank@spy.isp.nsc.ru>
To: pgsql-admin@postgresql.org
Subject: Troubles with starting postgresql
Date: Tue, 20 Jun 2006 22:02:52 +0700
Message-ID: <44980E1C.3020705@spy.isp.nsc.ru> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ank@spy.isp.nsc.ru
Subject: Re: Troubles with starting postgresql
In-Reply-To: <44980E1C.3020705@spy.isp.nsc.ru>
References: <44980E1C.3020705@spy.isp.nsc.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox