BOSH hadoop-release错误

时间:2016-07-19 01:34:20

标签: hadoop cloudfoundry cf-bosh

我尝试在本地VM上的BOSH-lite中部署hadoop-release,同时部署我的Error while reserving job: PG:: Error: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on 5432?

1 个答案:

答案 0 :(得分:0)

PostgreSQL 出现,无法在您的BOSH lite上运行。我想检查一下。您能否ssh vcap@192.168.50.4(密码c1oudc0w)并输入ss -ltn并确认postgres端口(5432)已绑定:

LISTEN      0    128                 127.0.0.1:5432        *:*

并且postgres正在运行ps auxwww | grep postgres

vcap      1453  0.1  0.1  56728  7344 ? S<   13:30   0:00 /var/vcap/data/packages/postgres/4b9f6514001f7c3f7d4394920d6aced9435a3bbd-6cb375e19ce352db095a4b18cf4c56b2bf9b952f/bin/postgres -D /var/vcap/store/postgres -h 127.0.0.1 -p 5432
vcap      1566  0.0  0.0  56728  3368 ? S<s  13:30   0:00 postgres: writer process
vcap      1567  0.0  0.0  56728  2280 ? S<s  13:30   0:00 postgres: wal writer process
vcap      1568  0.0  0.0  57688  4600 ? S<s  13:30   0:00 postgres: autovacuum launcher process
vcap      1569  0.0  0.0  19772  3012 ? S<s  13:30   0:00 postgres: stats collector process
vcap      1845  0.0  0.1  58880  9204 ? S<s  13:30   0:00 postgres: bosh bosh 127.0.0.1(36956) idle