首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行"bucardo add数据库mybd“时出错

运行"bucardo add数据库mybd“时出错
EN

Server Fault用户
提问于 2016-02-19 23:05:06
回答 1查看 297关注 0票数 -1

这是消息错误:

代码语言:javascript
复制
install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 9) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed, or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql. at /usr/local/bin/bucardo line 308

有谁能帮我解决这个问题吗,谢谢

EN

回答 1

Server Fault用户

发布于 2016-02-20 00:42:50

您应该安装perl-DBD-Pg包。

代码语言:javascript
复制
# yum provides "*/DBD/Pg.pm"
Loaded plugins: fastestmirror, presto, security
Loading mirror speeds from cached hostfile
 * base: mirror.besthosting.ua
 * epel: mirror.yandex.ru
 * extras: mirror.besthosting.ua
 * ius: mirrors.ircam.fr
 * updates: mirror.besthosting.ua
perl-DBD-Pg-2.15.1-4.el6_3.x86_64 : A PostgreSQL interface for perl
Repo        : base
Matched from:
Filename    : /usr/lib64/perl5/vendor_perl/DBD/Pg.pm
Filename    : /usr/lib64/perl5/vendor_perl/Bundle/DBD/Pg.pm


# yum install perl-DBD-Pg
票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/758518

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档