FAQ
On your vm xxx.xxx.xxx.229, have a try to edit /etc/postgresql/8.4/main/pg_hba.conf (assume you are using 8.4 postgresql) to add cloud_controller host into the "allowed client" list.

Regards,
Chunjie

----- Original Message -----

From: "Yongkun Anfernee Gui" <agui@rbcon.com>
To: vcap-dev@cloudfoundry.org
Sent: Thursday, June 14, 2012 11:26:03 AM
Subject: Re: [vcap-dev] Launch CloudFoundry by snapshot. Can not connect to server problem.


Make sure your CCDB (which is a postgresql) is working well.


Since you cloned a vm, probably you need to reconfig postgresql in
/etc/postgresql/8.4/main/postgresql.conf, change listen_addresses
and restart it.


Thanks,
Anfernee




On Thu, Jun 14, 2012 at 11:12 AM, 张 磊 wrote:


I have installed CF on one VM, and I want to scale it to a cluster by
snapshot and template function.

So I create a new VM by snapshot,and I changed the IPs of the host
in ../devbox/config files to the new VM (xxx.xxx.xxx.229).

But I can not get my CF start up well.

The CC log is below:

can not connect to server.Connection refused.
Is the server running on host "xxx.xxx.xxx.229" and
accepting TCP/IP connections on port 5432?

As I have changed the IP in config directory, are there anything else
I need to change in other directories? Or I cannot install CF like
this at all?

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupvcap-dev @
postedJun 14, '12 at 3:12a
activeJun 14, '12 at 3:36a
posts4
users3

People

Translate

site design / logo © 2022 Grokbase