关于启动ldirectord的一个报错.

我的目的是想通过HEARTBEAT+LDIRECTORD做调度器DR的双机热备.HEARTBEAT安装很正常.2台DR上都正常启动.用HEARTBEAT安装包里自带的LDIRECTORD启动LDIRECTORD.报错.

[root@TestServer init.d]# ./ldirectord start
Starting ldirectord Can't locate Mail/Send.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/ldirectord line 3042.
BEGIN failed--compilation aborted at /usr/sbin/ldirectord line 3042.
[FAILED]

查了网上一些资料.估计是PERL的问题.于是乎又安装了几个PERL包
perl-XML-Dumper-0.71-2
perl-XML-NamespaceSupport-1.08-6
perl-XML-Twig-3.13-6
perl-XML-LibXML-1.58-1
perl-IO-Socket-SSL-0.999-1.el4.rf
perl-Authen-SASL-2.10-1.el4.rf
perl-Filter-1.30-6
perl-URI-1.30-4
perl-DateManip-5.42a-3
perl-HTML-Parser-3.35-6
perl-libwww-perl-5.79-5
perl-libxml-perl-0.07-30
perl-XML-Encoding-1.01-26
perl-Net-SSLeay-1.25-3.2.el4.rf
perl-Convert-ASN1-0.18-3
perl-XML-Grove-0.46alpha-27
perl-LDAP-0.31-5
perl-XML-LibXML-Common-0.13-7
perl-GSSAPI-0.23-1.el4.rf
perl-Digest-HMAC-1.01-2.0.el2.rf
perl-5.8.5-16.RHEL4
perl-DBI-1.40-8
perl-HTML-Tagset-3.03-30
perl-XML-Parser-2.34-5
perl-libxml-enno-1.02-31
perl-XML-SAX-0.12-7
perl-Crypt-SSLeay-0.51-5
perl-Mail-IMAPClient-2.2.9-1.2.el4.rf
perl-Digest-SHA1-2.07-1.2.el4.rf

请高手指点呀.我一点PERL知识都没有...给条明路呀.....谢谢谢谢了

Forums:

已经搞定了.在CPAN下了个发邮件的包,email-send装上好,根据提示把生成的PM文件拷到对应文件.LDIRECTORD起来了,我看日志,也正常.做了相关测试,能正常监控RS的状态.只是我这种做法好像不够专业吧.谁能解释解释.谢谢.上篇中我到底少了什么包也还不清楚.希望向高手学习.谢谢.

在Fedora 下,需要下列的perl相关包:

perl-Compress-Zlib-1.41-1.2.2.i386.rpm
perl-HTML-Parser-3.50-1.i386.rpm
perl-HTML-Tagset-3.10-2.1.noarch.rpm
perl-libwww-perl-5.805-1.1.noarch.rpm
perl-MailTools-1.74-1.fc5.noarch.rpm
perl-TimeDate-1.16-3.2.noarch.rpm
perl-URI-1.35-2.2.noarch.rpm

把酒当歌,黎曼几何。

This inedtrucos a pleasingly rational point of view.

Way to go on this essya, helped a ton.

谢谢,就是少了perl-MailTools-1.74-1.fc5.noarch.rpm这个.只是需要选AS4的版本.