mmm-启动mmm-agent服务错误信息-Starting MMM Agent daemon... Can't locate Log/Log4perl.pm in @INC
来源:互联网 发布:java json 缺少双引号 编辑:程序博客网 时间:2024/05/17 04:18
在配置相关的mmm架构中,有些包需要安装,比如使用perl编译的相关包数据,在编译的时候有时候会提示以下错误信息如:
Starting MMM Agent daemon... Can't locate Log/Log4perl.pm in @INC。。。。。。。。。。。。。。。。。
这里我们可以使用perl -MCPAN -e shell进行编译,然后再内部进行编译相关的包会更加的简洁使用,而且方便,如下我编译的包;
cpan> install HTML::TokeParser::SimpleRunning install for module HTML::TokeParser::SimpleRunning make for O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/O/OV/OVID/CHECKSUMSChecksum for /root/.cpan/sources/authors/id/O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gz okHTML-TokeParser-Simple-3.15/HTML-TokeParser-Simple-3.15/Build.PLHTML-TokeParser-Simple-3.15/ChangesHTML-TokeParser-Simple-3.15/lib/HTML-TokeParser-Simple-3.15/lib/HTML/HTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/HTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/HTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/HTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Comment.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Declaration.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Tag/HTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Tag/End.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Tag/Start.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Tag.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token/Text.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple/Token.pmHTML-TokeParser-Simple-3.15/lib/HTML/TokeParser/Simple.pmHTML-TokeParser-Simple-3.15/Makefile.PLHTML-TokeParser-Simple-3.15/MANIFESTHTML-TokeParser-Simple-3.15/META.ymlHTML-TokeParser-Simple-3.15/READMEHTML-TokeParser-Simple-3.15/t/HTML-TokeParser-Simple-3.15/t/01get_tag.tHTML-TokeParser-Simple-3.15/t/01get_token.tHTML-TokeParser-Simple-3.15/t/02munge_html.tHTML-TokeParser-Simple-3.15/t/03constructor.tHTML-TokeParser-Simple-3.15/t/04internals.tHTML-TokeParser-Simple-3.15/t/data/HTML-TokeParser-Simple-3.15/t/data/test.htmlHTML-TokeParser-Simple-3.15/t/pod-coverage.tHTML-TokeParser-Simple-3.15/t/pod.t CPAN.pm: Going to build O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gzChecking if your kit is complete...Looks goodWarning: prerequisite Sub::Override 0 not found.Writing Makefile for HTML::TokeParser::Simple---- Unsatisfied dependencies detected during [O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gz] ----- Sub::OverrideShall I follow them and prepend them to the queueof modules we are processing right now? [yes] Running make test Delayed until after prerequisitesRunning make install Delayed until after prerequisitesRunning install for module Sub::OverrideRunning make for O/OV/OVID/Sub-Override-0.09.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/O/OV/OVID/Sub-Override-0.09.tar.gzChecksum for /root/.cpan/sources/authors/id/O/OV/OVID/Sub-Override-0.09.tar.gz okSub-Override-0.09/Sub-Override-0.09/ChangesSub-Override-0.09/lib/Sub-Override-0.09/Makefile.PLSub-Override-0.09/MANIFESTSub-Override-0.09/META.jsonSub-Override-0.09/META.ymlSub-Override-0.09/READMESub-Override-0.09/README.mdSub-Override-0.09/t/Sub-Override-0.09/xt/Sub-Override-0.09/xt/pod-coverage.tSub-Override-0.09/xt/pod.tSub-Override-0.09/t/override.tSub-Override-0.09/lib/Sub/Sub-Override-0.09/lib/Sub/Override.pm/bin/tar: Read 4608 bytes from - CPAN.pm: Going to build O/OV/OVID/Sub-Override-0.09.tar.gzWARNING: META_MERGE is not a known parameter.Checking if your kit is complete...Looks goodWarning: prerequisite Test::Fatal 0.010 not found.'META_MERGE' is not a known MakeMaker parameter name.Writing Makefile for Sub::Override---- Unsatisfied dependencies detected during [O/OV/OVID/Sub-Override-0.09.tar.gz] ----- Test::FatalShall I follow them and prepend them to the queueof modules we are processing right now? [yes] Running make test Delayed until after prerequisitesRunning make install Delayed until after prerequisitesRunning install for module Test::FatalRunning make for R/RJ/RJBS/Test-Fatal-0.010.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-0.010.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/R/RJ/RJBS/CHECKSUMSChecksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Test-Fatal-0.010.tar.gz okTest-Fatal-0.010Test-Fatal-0.010/READMETest-Fatal-0.010/ChangesTest-Fatal-0.010/LICENSETest-Fatal-0.010/dist.iniTest-Fatal-0.010/META.ymlTest-Fatal-0.010/MANIFESTTest-Fatal-0.010/tTest-Fatal-0.010/t/basic.tTest-Fatal-0.010/META.jsonTest-Fatal-0.010/Makefile.PLTest-Fatal-0.010/lib/TestTest-Fatal-0.010/lib/Test/Fatal.pm/bin/tar: Read 3584 bytes from -Test-Fatal-0.010/t/like-exception.tTest-Fatal-0.010/t/release-pod-syntax.t CPAN.pm: Going to build R/RJ/RJBS/Test-Fatal-0.010.tar.gzWARNING: LICENSE is not a known parameter.Checking if your kit is complete...Looks goodWarning: prerequisite Try::Tiny 0.07 not found.'LICENSE' is not a known MakeMaker parameter name.Writing Makefile for Test::Fatal---- Unsatisfied dependencies detected during [R/RJ/RJBS/Test-Fatal-0.010.tar.gz] ----- Try::TinyShall I follow them and prepend them to the queueof modules we are processing right now? [yes] Running make test Delayed until after prerequisitesRunning make install Delayed until after prerequisitesRunning install for module Try::TinyRunning make for D/DO/DOY/Try-Tiny-0.12.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/D/DO/DOY/Try-Tiny-0.12.tar.gzFetching with LWP: http://mirrors.sohu.com/CPAN/authors/id/D/DO/DOY/CHECKSUMSChecksum for /root/.cpan/sources/authors/id/D/DO/DOY/Try-Tiny-0.12.tar.gz okTry-Tiny-0.12/Try-Tiny-0.12/lib/Try-Tiny-0.12/lib/Try/Try-Tiny-0.12/lib/Try/Tiny.pmTry-Tiny-0.12/META.ymlTry-Tiny-0.12/t/Try-Tiny-0.12/t/when.tTry-Tiny-0.12/t/context.tTry-Tiny-0.12/t/basic.tTry-Tiny-0.12/t/given_when.tTry-Tiny-0.12/t/finally.tTry-Tiny-0.12/Makefile.PLTry-Tiny-0.12/ChangesTry-Tiny-0.12/MANIFEST.SKIPTry-Tiny-0.12/MANIFESTTry-Tiny-0.12/META.json CPAN.pm: Going to build D/DO/DOY/Try-Tiny-0.12.tar.gzWARNING: META_MERGE is not a known parameter.Checking if your kit is complete...Looks good'META_MERGE' is not a known MakeMaker parameter name.Writing Makefile for Try::Tinycp lib/Try/Tiny.pm blib/lib/Try/Tiny.pmManifying blib/man3/Try::Tiny.3pm /usr/bin/make -- OKRunning make testPERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.tt/basic.........ok t/context.......ok t/finally.......ok t/given_when....skipped all skipped: Perl 5.10 is requiredt/when..........skipped all skipped: Perl 5.10 requiredAll tests successful, 2 tests skipped.Files=5, Tests=76, 1 wallclock secs ( 0.07 cusr + 0.01 csys = 0.08 CPU) /usr/bin/make test -- OKRunning make installManifying blib/man3/Try::Tiny.3pmInstalling /usr/lib/perl5/site_perl/5.8.8/Try/Tiny.pmInstalling /usr/share/man/man3/Try::Tiny.3pmWriting /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Try/Tiny/.packlistAppending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OKRunning make for R/RJ/RJBS/Test-Fatal-0.010.tar.gz Is already unwrapped into directory /root/.cpan/build/Test-Fatal-0.010 CPAN.pm: Going to build R/RJ/RJBS/Test-Fatal-0.010.tar.gzcp lib/Test/Fatal.pm blib/lib/Test/Fatal.pmManifying blib/man3/Test::Fatal.3pm /usr/bin/make -- OKRunning make testPERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.tt/basic.................ok t/like-exception........ok t/release-pod-syntax....skipped all skipped: these tests are for release candidate testingAll tests successful, 1 test skipped.Files=3, Tests=12, 0 wallclock secs ( 0.05 cusr + 0.00 csys = 0.05 CPU) /usr/bin/make test -- OKRunning make installInstalling /usr/lib/perl5/site_perl/5.8.8/Test/Fatal.pmInstalling /usr/share/man/man3/Test::Fatal.3pmWriting /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Test/Fatal/.packlistAppending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OKRunning make for O/OV/OVID/Sub-Override-0.09.tar.gz Is already unwrapped into directory /root/.cpan/build/Sub-Override-0.09 CPAN.pm: Going to build O/OV/OVID/Sub-Override-0.09.tar.gzcp lib/Sub/Override.pm blib/lib/Sub/Override.pmManifying blib/man3/Sub::Override.3pm /usr/bin/make -- OKRunning make testPERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.tt/override....ok All tests successful.Files=1, Tests=28, 0 wallclock secs ( 0.02 cusr + 0.00 csys = 0.02 CPU) /usr/bin/make test -- OKRunning make installInstalling /usr/lib/perl5/site_perl/5.8.8/Sub/Override.pmInstalling /usr/share/man/man3/Sub::Override.3pmWriting /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Sub/Override/.packlistAppending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OKRunning make for O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gz Is already unwrapped into directory /root/.cpan/build/HTML-TokeParser-Simple-3.15 CPAN.pm: Going to build O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gzcp lib/HTML/TokeParser/Simple/Token/Declaration.pm blib/lib/HTML/TokeParser/Simple/Token/Declaration.pmcp lib/HTML/TokeParser/Simple/Token/Tag.pm blib/lib/HTML/TokeParser/Simple/Token/Tag.pmcp lib/HTML/TokeParser/Simple/Token/Tag/End.pm blib/lib/HTML/TokeParser/Simple/Token/Tag/End.pmcp lib/HTML/TokeParser/Simple.pm blib/lib/HTML/TokeParser/Simple.pmcp lib/HTML/TokeParser/Simple/Token/Comment.pm blib/lib/HTML/TokeParser/Simple/Token/Comment.pmcp lib/HTML/TokeParser/Simple/Token/Text.pm blib/lib/HTML/TokeParser/Simple/Token/Text.pmcp lib/HTML/TokeParser/Simple/Token.pm blib/lib/HTML/TokeParser/Simple/Token.pmcp lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pm blib/lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pmcp lib/HTML/TokeParser/Simple/Token/Tag/Start.pm blib/lib/HTML/TokeParser/Simple/Token/Tag/Start.pmManifying blib/man3/HTML::TokeParser::Simple::Token::Tag.3pmManifying blib/man3/HTML::TokeParser::Simple::Token::Declaration.3pmManifying blib/man3/HTML::TokeParser::Simple::Token::Tag::End.3pmManifying blib/man3/HTML::TokeParser::Simple::Token::Comment.3pmManifying blib/man3/HTML::TokeParser::Simple.3pmManifying blib/man3/HTML::TokeParser::Simple::Token::Text.3pmManifying blib/man3/HTML::TokeParser::Simple::Token.3pmManifying blib/man3/HTML::TokeParser::Simple::Token::ProcessInstruction.3pmManifying blib/man3/HTML::TokeParser::Simple::Token::Tag::Start.3pm /usr/bin/make -- OKRunning make testPERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.tt/01get_tag........ok t/01get_token......ok t/02munge_html.....ok t/03constructor....ok t/04internals......ok t/pod-coverage.....skipped all skipped: Test::Pod::Coverage required for testing POD coveraget/pod..............skipped all skipped: Test::Pod 1.14 required for testing PODAll tests successful, 2 tests skipped.Files=7, Tests=170, 0 wallclock secs ( 0.18 cusr + 0.03 csys = 0.21 CPU) /usr/bin/make test -- OKRunning make installInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/Text.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/Declaration.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/Tag.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/ProcessInstruction.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/Comment.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/Tag/Start.pmInstalling /usr/lib/perl5/site_perl/5.8.8/HTML/TokeParser/Simple/Token/Tag/End.pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::Comment.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::Tag::End.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::Declaration.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::ProcessInstruction.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::Tag.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::Text.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token::Tag::Start.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple.3pmInstalling /usr/share/man/man3/HTML::TokeParser::Simple::Token.3pmWriting /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/HTML/TokeParser/Simple/.packlistAppending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OKcpan> hDisplay Information command argument description a,b,d,m WORD or /REGEXP/ about authors, bundles, distributions, modules i WORD or /REGEXP/ about anything of above r NONE reinstall recommendations ls AUTHOR about files in the author's directoryDownload, Test, Make, Install... get download make make (implies get) test MODULES, make test (implies make) install DISTS, BUNDLES make install (implies test) clean make clean look open subshell in these dists' directories readme display these dists' README filesOther h,? display this menu ! perl-code eval a perl command o conf [opt] set and query options q quit the cpan shell reload cpan load CPAN.pm again reload index load newer indices autobundle Snapshot force cmd unconditionally do cmdcpan> qTerminal does not support GetHistory.Lockfile removed.[root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# [root@DB1 mmm_deps]# service mysql-mmm-agent startDaemon bin: '/usr/sbin/mmm_agentd'Daemon pid: '/var/run/mmm_agentd.pid'Starting MMM Agent daemon... Ok[root@DB1 mmm_deps]#
- mmm-启动mmm-agent服务错误信息-Starting MMM Agent daemon... Can't locate Log/Log4perl.pm in @INC
- Starting MMM Agent Daemon: Configuration file /etc/mysql-mmm/mmm_agent.conf is world readable! at /u
- mmm
- mmm
- MMM
- mmm
- mmm
- mmm
- Can't locate Switch.pm in @INC
- Can't locate CPAN.pm in @INC
- Can't locate CompEMdbconsole.pm in @INC
- Can't locate Switch.pm in @INC
- Can't locate Switch.pm in @INC
- bdd 启动 data processing进程报错 Can't locate LWP.pm in @INC
- Can't locate Config/IniFiles.pm in @INC
- Can't locate CPAN.pm in @INC的解决办法
- mysqlhotcopy 解决Can't locate DBI.pm in @INC
- "Can't locate Net/SNMP.pm in @INC....."
- Windows下删除.svn文件的最简单方法
- oracle 日志模式切换
- Poj 1113 Hoj 1605 Wall
- Teach Yourself Programming in Ten Years——用十年教会自己编程
- 位运算
- mmm-启动mmm-agent服务错误信息-Starting MMM Agent daemon... Can't locate Log/Log4perl.pm in @INC
- Boost智能指针——weak_ptr
- 【APP设计】设计移动 App 需要注意的 10 点
- HTTPS传输原理
- 第四章——SQLServer2008-2012资源及性能监控(1)
- Sniffer Pro 4.7.5注册不成功问题(unable to communicate with server)
- VC程序在没装VC的机器中运行
- 国内HTML5前端开发框架汇总
- Unity3d 分别创建了两个线程客户端 服务器连接的简单示例