Thread: Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster
From
espeake@oreillyauto.com
Date:
We use puppet to mange the configuration of our servers and I have a master/slave setup in my test environment as I work on my project. Two servers with identical setup other than the slave contains the recovery.conf file. My master server will run with no problems with the puppet configuration. My slave will not. As a test I built the slave and setup streaming replication and made sure that everything was working. Then when I run puppet against the sever It will start and gives this error. Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster I have been trying to find an answer on the internet on various sites and lists and I have found nothing yet. Running on Ubuntu 12.04 wit postgresql version 9.1 Thank you, Eric Speake Web Systems Administrator O'Reilly Auto Parts(417) 862-2674 Ext. 1975 This communication and any attachments are confidential, protected by Communications Privacy Act 18 USCS � 2510, solely forthe use of the intended recipient, and may contain legally privileged material. If you are not the intended recipient,please return or destroy it immediately. Thank you.
Re: Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster
From
Raymond O'Donnell
Date:
On 29/04/2014 20:27, espeake@oreillyauto.com wrote: > > We use puppet to mange the configuration of our servers and I have a > master/slave setup in my test environment as I work on my project. > Two servers with identical setup other than the slave contains the > recovery.conf file. My master server will run with no problems with > the puppet configuration. My slave will not. As a test I built the > slave and setup streaming replication and made sure that everything > was working. Then when I run puppet against the sever It will start > and gives this error. > > Use of uninitialized value $info{"pgdata"} in concatenation (.) or > string at /usr/bin/pg_ctlcluster I don't know anything about Puppet (though I hope to learn it soon!), but nonetheless the error seems clear enough - a variable is being used without first having been initialised. Where would similar variables be set? - that'd be a good place to start looking. Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
Re: Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster
From
"Maton, Brett"
Date:
> Use of uninitialized value $info{"pgdata"} in concatenation (.) or
> string at /usr/bin/pg_ctlcluster
> string at /usr/bin/pg_ctlcluster
That looks like a Perl error, I'd guess that your environment variables or configuration aren't correctly set.
Brett
On 29 April 2014 21:54, Raymond O'Donnell <rod@iol.ie> wrote:
On 29/04/2014 20:27, espeake@oreillyauto.com wrote:I don't know anything about Puppet (though I hope to learn it soon!),
>
> We use puppet to mange the configuration of our servers and I have a
> master/slave setup in my test environment as I work on my project.
> Two servers with identical setup other than the slave contains the
> recovery.conf file. My master server will run with no problems with
> the puppet configuration. My slave will not. As a test I built the
> slave and setup streaming replication and made sure that everything
> was working. Then when I run puppet against the sever It will start
> and gives this error.
>
> Use of uninitialized value $info{"pgdata"} in concatenation (.) or
> string at /usr/bin/pg_ctlcluster
but nonetheless the error seems clear enough - a variable is being used
without first having been initialised.
Where would similar variables be set? - that'd be a good place to start
looking.
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie
--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support
Re: Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster
From
David G Johnston
Date:
espeake wrote > at /usr/bin/pg_ctlcluster This is a Debian/Ubuntu supplied script; not PostgreSQL core. The main packaging site is located here: http://wiki.postgresql.org/wiki/Apt and includes contact links/references. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Use-of-uninitialized-value-info-pgdata-in-concatenation-or-string-at-usr-bin-pg-ctlcluster-tp5801902p5801921.html Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.