bosh hadoop发布错误

am46iovg  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(336)

我试图在本地vm上的boshlite中部署hadoop版本,同时部署 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?

xiozqbni

xiozqbni1#

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

相关问题