致命:未能在PGPOOL2中创建INET域插座2
priyank@infahmcpu0010:/etc/pgpool2$ pgpool -n
2022-06-20 18:48:40.282: main pid 33987: LOG: reading status file: 1 th backend is set to down status
2022-06-20 18:48:40.282: main pid 33987: LOG: health_check_stats_shared_memory_size: requested size: 12288
2022-06-20 18:48:40.282: main pid 33987: LOG: memory cache initialized
2022-06-20 18:48:40.282: main pid 33987: DETAIL: memcache blocks :64
2022-06-20 18:48:40.282: main pid 33987: LOG: allocating (136981824) bytes of shared memory segment
2022-06-20 18:48:40.282: main pid 33987: LOG: allocating shared memory segment of size: 136981824
2022-06-20 18:48:40.340: main pid 33987: LOG: health_check_stats_shared_memory_size: requested size: 12288
2022-06-20 18:48:40.340: main pid 33987: LOG: health_check_stats_shared_memory_size: requested size: 12288
2022-06-20 18:48:40.340: main pid 33987: LOG: memory cache initialized
2022-06-20 18:48:40.340: main pid 33987: DETAIL: memcache blocks :64
2022-06-20 18:48:40.341: main pid 33987: LOG: pool_discard_oid_maps: discarded memqcache oid maps
2022-06-20 18:48:40.344: main pid 33987: LOG: Setting up socket for 0.0.0.0:9999
2022-06-20 18:48:40.344: main pid 33987: FATAL: failed to create INET domain socket
2022-06-20 18:48:40.344: main pid 33987: DETAIL: bind on socket failed with error "Address already in use"
2022-06-20 18:48:40.347: main pid 33987: LOG: shutting down
所有配置都是完成的,但是每当开始pgpool2出现错误时
priyank@infahmcpu0010:/etc/pgpool2$ pgpool -n
2022-06-20 18:48:40.282: main pid 33987: LOG: reading status file: 1 th backend is set to down status
2022-06-20 18:48:40.282: main pid 33987: LOG: health_check_stats_shared_memory_size: requested size: 12288
2022-06-20 18:48:40.282: main pid 33987: LOG: memory cache initialized
2022-06-20 18:48:40.282: main pid 33987: DETAIL: memcache blocks :64
2022-06-20 18:48:40.282: main pid 33987: LOG: allocating (136981824) bytes of shared memory segment
2022-06-20 18:48:40.282: main pid 33987: LOG: allocating shared memory segment of size: 136981824
2022-06-20 18:48:40.340: main pid 33987: LOG: health_check_stats_shared_memory_size: requested size: 12288
2022-06-20 18:48:40.340: main pid 33987: LOG: health_check_stats_shared_memory_size: requested size: 12288
2022-06-20 18:48:40.340: main pid 33987: LOG: memory cache initialized
2022-06-20 18:48:40.340: main pid 33987: DETAIL: memcache blocks :64
2022-06-20 18:48:40.341: main pid 33987: LOG: pool_discard_oid_maps: discarded memqcache oid maps
2022-06-20 18:48:40.344: main pid 33987: LOG: Setting up socket for 0.0.0.0:9999
2022-06-20 18:48:40.344: main pid 33987: FATAL: failed to create INET domain socket
2022-06-20 18:48:40.344: main pid 33987: DETAIL: bind on socket failed with error "Address already in use"
2022-06-20 18:48:40.347: main pid 33987: LOG: shutting down
all configuration are done but whenever starting pgpool2 getting error
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如您在日志
使用”
2022-06-20 18:48:40.344:MAIN PID 33987:详细信息:绑定在套接字上失败的正常“已 使用命令
PGPOOL Stop
As you can see in the log
2022-06-20 18:48:40.344: main pid 33987: DETAIL: bind on socket failed with error "Address already in use"
You need to stop already running instance using command
pgpool stop