暂无图片
antdb数据库连接时,为什么显示“adb_ctl: could not open PID file “/ssd/adb40sy/data/cd/adb_hba.conf/postmaster.pid”: Not a directory”。
我来答
分享
暂无图片 匿名用户
antdb数据库连接时,为什么显示“adb_ctl: could not open PID file “/ssd/adb40sy/data/cd/adb_hba.conf/postmaster.pid”: Not a directory”。

如题,antdb数据库连接时,出为什么显示“adb_ctl: could not open PID file “/ssd/adb40sy/data/cd/adb_hba.conf/postmaster.pid”: Not a directory”。

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
暂无图片
亚信安慧AntDB数据库

解决方式

通过adb_ctl reload重新加载配置文件时,只需要指定 -D ,即数据库的数据目录,勿需指定到具体的配置文件。
程序会自动重新加载改动后的配置信息。
以下给出一个示例说明:

--错误的方式
adb_ctl -D /ssd/adb40sy/data/cd/adb_hba.conf reload
--正确的方式
adb_ctl -D /ssd/adb40sy/data/cd/ reload

原因说明

adb_ctl reload -D 指定数据目录路径即可,勿需指定到某个具体的配置文件。

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏