pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
We are facing "PANIC: could not read from control file:Success error while starting the database.
5+ messages / 4 participants
[nested] [flat]

* We are facing "PANIC: could not read from control file:Success error while starting the database.
@ 2018-10-04 15:29  Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  0 siblings, 3 replies; 5+ messages in thread

From: Raghavendra Rao J S V @ 2018-10-04 15:29 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hi All,

*archive_mode *is turned *on *unfortunately in my Postgres 9.2 database.

Due to that disk space is full 100%. We have removed few old xlog files.
Now space is available.But still we are facing below problem when we try to
start the database.

*PANIC: could not read from control file:Success*

Please help me to resolve the above error.

-- 
Regards,
Raghavendra Rao J S V

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: We are facing "PANIC: could not read from control file:Success error while starting the database.
@ 2018-10-04 15:50  Andreas Kretschmer <andreas@a-kretschmer.de>
  parent: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Andreas Kretschmer @ 2018-10-04 15:50 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org



Am 04.10.2018 um 17:29 schrieb Raghavendra Rao J S V:
> Hi All,
>
> *archive_mode *is turned *on *unfortunately in my Postgres 9.2 database.
>
> Due to that disk space is full 100%. We have removed few old xlog 
> files. Now space is available.But still we are facing below problem 
> when we try to start the database.
>

Don't delete WAL-files!

If you don't want the archive_mode you can set it to off (restart 
required) or set archive_command to, for instance: "cd ." or 
"/bin/true", that requires only a reload.
After some time (checkpoint) the files will disappear and the space 
should be back.



Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: We are facing "PANIC: could not read from control file:Success error while starting the database.
@ 2018-10-05 01:35  Thomas Munro <thomas.munro@enterprisedb.com>
  parent: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  2 siblings, 1 reply; 5+ messages in thread

From: Thomas Munro @ 2018-10-05 01:35 UTC (permalink / raw)
  To: raghavendrajsv@gmail.com; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

On Fri, Oct 5, 2018 at 4:29 AM Raghavendra Rao J S V
<raghavendrajsv@gmail.com> wrote:
> PANIC: could not read from control file:Success

That means that the pg_control file is the wrong size.  What size is
it?  What filesystem is this, that allowed an out-of-space condition
to result in a file being truncated?  Normally we only overwrite that
file, so after creation it should stay the same size.

-- 
Thomas Munro
http://www.enterprisedb.com




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: We are facing "PANIC: could not read from control file:Success error while starting the database.
@ 2018-10-05 05:33  Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  parent: Thomas Munro <thomas.munro@enterprisedb.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Raghavendra Rao J S V @ 2018-10-05 05:33 UTC (permalink / raw)
  To: thomas.munro@enterprisedb.com; +Cc: pgsql-general@lists.postgresql.org

On Fri, 5 Oct 2018 at 07:06, Thomas Munro <thomas.munro@enterprisedb.com>
wrote:

> On Fri, Oct 5, 2018 at 4:29 AM Raghavendra Rao J S V
> <raghavendrajsv@gmail.com> wrote:
> > PANIC: could not read from control file:Success
>
> That means that the pg_control file is the wrong size.  What size is
> it?  What filesystem is this, that allowed an out-of-space condition
> to result in a file being truncated?  Normally we only overwrite that
> file, so after creation it should stay the same size.
>

Size of the pg_control file is 42kb. We are using "CentOS Linux release
7.3.1611 (Core)".

Permissions and size of the file are present as expected.

Kindly guide me how to handle this kind of error?

Log file showing errors as below.



   Kindly guide me how to handle this kind of error?


> --
> Thomas Munro
> http://www.enterprisedb.com
>


-- 
Regards,
Raghavendra Rao J S V
Mobile- 8861161425

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: We are facing "PANIC: could not read from control file:Success error while starting the database.
@ 2018-10-05 06:38  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Laurenz Albe @ 2018-10-05 06:38 UTC (permalink / raw)
  To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; pgsql-general@lists.postgresql.org

Raghavendra Rao J S V wrote:
> archive_mode is turned on unfortunately in my Postgres 9.2 database. 
> 
> Due to that disk space is full 100%. We have removed few old xlog files. Now space is available.But still we are facing below problem when we try to start the database.
> 
> PANIC: could not read from control file:Success
> 
> Please help me to resolve the above error.

Time to restore from backup, and then upgrade to a more recent
PostgreSQL version.

Yours,
Laurenz Albe





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2018-10-05 06:38 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 15:29 We are facing "PANIC: could not read from control file:Success error while starting the database. Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2018-10-04 15:50 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2018-10-05 01:35 ` Thomas Munro <thomas.munro@enterprisedb.com>
2018-10-05 05:33   ` Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2018-10-05 06:38 ` Laurenz Albe <laurenz.albe@cybertec.at>

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