Re: emergency outage requiring database restart

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: emergency outage requiring database restart
Date: 2016-10-20 20:16:04
Message-ID: 20161020201604.ntknvcckocy25ntt@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:

> single user mode dumps core :(
>
> bash-4.1$ postgres --single -D /var/lib/pgsql/9.5/data castaging
> LOG: 00000: could not change directory to "/root": Permission denied
> LOCATION: resolve_symlinks, exec.c:293
> Segmentation fault (core dumped)
>
> Core was generated by `postgres --single -D /var/lib/pgsql/9.5/data castaging'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x0000000000797d6f in ?? ()
> Missing separate debuginfos, use: debuginfo-install
> postgresql95-server-9.5.2-1PGDG.rhel6.x86_64
> (gdb) bt
> #0 0x0000000000797d6f in ?? ()
> #1 0x000000000079acf1 in RelationCacheInitializePhase3 ()
> #2 0x00000000007b35c5 in InitPostgres ()
> #3 0x00000000006b9b53 in PostgresMain ()
> #4 0x00000000005f30fb in main ()

Maybe
rm global/pg_internal.init
and try again?

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2016-10-20 20:24:20 Improve output of BitmapAnd EXPLAIN ANALYZE
Previous Message Tomas Vondra 2016-10-20 20:04:58 Re: Speed up Clog Access by increasing CLOG buffers