【问题标题】:BOSH hadoop-release errorBOSH hadoop-release 错误
【发布时间】:2016-07-19 01:34:20
【问题描述】:

我正在尝试在本地 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?

【问题讨论】:

    标签: hadoop cloud-foundry cf-bosh


    【解决方案1】:

    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
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多