PID file "/usr/local/apache-hawq/hawq-data-directory/masterdd/postmaster.pid" does not exist

查看日志文件

2018-10-22 16:55:09.748428 CST,,,p242818,th-1872819712,,,,0,,,seg-10000,,,,,"LOG","XX000","could not bind IPv4 socket: Address already in use (pqcomm.c:449)",,"Is another postmaster already running on port 5432? If not, wait a few seconds and retry.",,,,,,"StreamServerPort","pqcomm.c",449,
2018-10-22 16:55:09.748591 CST,,,p242818,th-1872819712,,,,0,,,seg-10000,,,,,"LOG","XX000","could not bind IPv6 socket: Address already in use (pqcomm.c:449)",,"Is another postmaster already running on port 5432? If not, wait a few seconds and retry.",,,,,,"StreamServerPort","pqcomm.c",449,
2018-10-22 16:55:09.748739 CST,,,p242818,th-1872819712,,,,0,,,seg-10000,,,,,"WARNING","01000","could not create listen socket for ""*""",,,,,,,,"PostmasterMain","postmaster.c",1278,
2018-10-22 16:55:09.748820 CST,,,p242818,th-1872819712,,,,0,,,seg-10000,,,,,"FATAL","XX000","could not create any TCP/IP sockets (postmaster.c:1283)",,,,,,,,"PostmasterMain","postmaster.c",1283,1    0x8ca63e postgres errstart + 0x1ee
2    0x7a5218 postgres PostmasterMain + 0xc18
3    0x4a5779 postgres main + 0x519
4    0x7f0c8c1f7b35 libc.so.6 __libc_start_main + 0xf5
5    0x4a57f6 postgres <symbol not found> + 0x4a57f6
说明5432端口被占用,检测那个程序占用当前端口

解决方式:kill -9 删除端口占用的程序

猜你喜欢

转载自blog.csdn.net/xuexi_39/article/details/83275441