Re: pg_stop_backup running for 2h10m?

From: François Beausoleil <francois(at)teksol(dot)info>
To: depesz(at)depesz(dot)com
Cc: Forums postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_stop_backup running for 2h10m?
Date: 2013-04-24 13:31:01
Message-ID: 9CC57302-10F8-4678-BBD3-028EC6B57051@teksol.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Le 2013-04-24 à 09:15, hubert depesz lubaczewski a écrit :

> On Tue, Apr 23, 2013 at 03:08:52PM -0400, François Beausoleil wrote:
>> I used omnipitr to launch a base backup, but I fumbled a couple of
>> things, so I Ctrl+C'd *once* the console where I had
>> omnipitr-backup-master running. omnipitr-backup-master correctly
>> launched pg_stop_backup, but pg_stop_backup has been active for 2h10
>> minutes, as reported by pg_stat_activity.
>
> Most likely your archive_command is not doing its job. Why - hard to
> tell without knowing more about the setup, but that's the direction you
> should be looking in.

Yes, after looking at more logs, I found out I had a permission issue. I ran backup-master as root, and omnipitr-archive wasn't able to write the the local backup directory. There should be a mention of who should run the tool in the docs, as I was confused.

Thanks!
François

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Reichstadt 2013-04-24 13:39:29 DISTINCT ON changes sort order on its own it seems
Previous Message Adrian Klaver 2013-04-24 13:26:36 Re: Regarding template1 database