Re: Postgres won't start

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres won't start
Дата
Msg-id 9366.1376009367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres won't start  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: Postgres won't start
Список pgsql-general
Oliver Elphick <olly@lfix.co.uk> writes:
> Linux Mint (from Ubuntu) version 9.1.
> Postgres will no longer start, but I cannot find out why.

> Command line:
> $ /usr/lib/postgresql/9.1/bin/pg_ctl start -D /home/postgresql/9.1/main -l
> /var/log/postgresql/postgresql-9.1-main.log -s -w -o '-c
> config_file="/etc/postgresql/9.1/main/postgresql.conf"'
> pg_ctl: could not start server
> Examine the log output.

> There is no error message in the log:

This log file seems suspiciously incomplete.  Is it the file mentioned in
the pg_ctl -l switch?  If so, that file would only be used until the
syslogger process took over logging (which we know it did since we see its
exit messages in there).  To find out what happened after that, you need
to look wherever your postgresql.conf is telling PG to log.

I wonder whether we shouldn't change the syslogger to emit something to
stderr when it takes over logging, saying "logging is now redirected to
<someplace>".  This isn't the first case I've seen of people forgetting
to look in the right place.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: Performance of ORDER BY RANDOM to select random rows?
Следующее
От: Brar Piening
Дата:
Сообщение: Re: Postgres won't start