Re: Cannot change archive_command with a reload

From: CS DBA <cs_dba(at)consistentstate(dot)com>
To: Strahinja Kustudić <strahinjak(at)nordeus(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Cannot change archive_command with a reload
Date: 2014-02-02 16:03:29
Message-ID: 52EE6C51.3010708@consistentstate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

We're running version 9.2.4, on Redhat 5.1
I have tried changing the config file and running "service
postgresql-9.2 reload"

I've also tried (as user postgres): pg_ctl -D /var/lib/pgsql/9.2/data reload

no luck with either approach

On 2/2/14, 8:58 AM, Strahinja Kustudić wrote:
> What version of Postgres are you using? What OS? Have you tried
> editing the archive_command in postgresql.conf and then reload?
>
> Strahinja Kustudić| Lead System Engineer | Nordeus
>
>
> On Sun, Feb 2, 2014 at 4:52 PM, CS DBA <cs_dba(at)consistentstate(dot)com
> <mailto:cs_dba(at)consistentstate(dot)com>> wrote:
>
> Hi all;
>
> we have a cluster running with an archive command that is failing.
> I tried a reload and the value does not change
>
> Tried a set_config and I get this error:
>
> select set_config ('archive_command', 'cp %p /data/wal_tmp/%f &&
> mv /data/wal_tmp/%f /data/wal/&f', 'false');
> ERROR: parameter "archive_command" cannot be changed now
>
>
> Thoughts?
>
> Thanks in advance
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org
> <mailto:pgsql-admin(at)postgresql(dot)org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Raghavendra 2014-02-02 16:19:51 Re: Cannot change archive_command with a reload
Previous Message Strahinja Kustudić 2014-02-02 15:58:43 Re: Cannot change archive_command with a reload