mysql-mmm-monitor服务启动错误,没有编译相关的Class::Singleto_MySQL
bitsCN.com
mysql-mmm-monitor服务启动错误,没有编译相关的Class::Singleton包解决
以下是相关的编译过程中错误提示,和错误解决过程;
[html]
[root@DB1 mmm_deps]# cd /etc/init.d/
[root@DB1 init.d]# chkconfig mysql-mmm-monitor on
[root@DB1 init.d]# service mysql-mmm-monitor start
Daemon bin: '/usr/sbin/mmm_mond'
Daemon pid: '/var/run/mmm_mond.pid'
Starting MMM Monitor daemon: Base class package "Class::Singleton" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Monitor/Agents.pm line 2
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Monitor/Agents.pm line 2.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Monitor/Monitor.pm line 15.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/MMM/Monitor/Monitor.pm line 15.
Compilation failed in require at /usr/sbin/mmm_mond line 28.
BEGIN failed--compilation aborted at /usr/sbin/mmm_mond line 28.
failed
[root@DB1 init.d]# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
cpan> Class::Singleton
Can't locate object method "Singleton" via package "Class" (perhaps you forgot to load "Class"?) at /usr/lib/perl5/5.8.8/CPAN.pm line 201,
cpan> Class
Unknown command 'Class'. Type ? for help.
cpan> install Class::Singleton
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 25 Feb 2013 17:53:02 GMT
Running install for module Class::Singleton
Running make for A/AB/ABW/Class-Singleton-1.4.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
http://mirrors.sohu.com/CPAN/authors/id/A/AB/ABW/Class-Singleton-1.4.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
http://mirrors.sohu.com/CPAN/authors/id/A/AB/ABW/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/A/AB/ABW/Class-Singleton-1.4.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Class-Singleton-1.4/
Class-Singleton-1.4/Changes
Class-Singleton-1.4/lib/
Class-Singleton-1.4/lib/Class/
Class-Singleton-1.4/lib/Class/Singleton.pm
Class-Singleton-1.4/Makefile.PL
Class-Singleton-1.4/MANIFEST
Class-Singleton-1.4/META.yml
Class-Singleton-1.4/README
Class-Singleton-1.4/t/
Class-Singleton-1.4/t/singleton.t
CPAN.pm: Going to build A/AB/ABW/Class-Singleton-1.4.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::Singleton
cp lib/Class/Singleton.pm blib/lib/Class/Singleton.pm
Manifying blib/man3/Class::Singleton.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/singleton....ok
All tests successful.
Files=1, Tests=29, 0 wallclock secs ( 0.01 cusr + 0.00 csys = 0.01 CPU)
/usr/bin/make test -- OK
Running make install
Manifying blib/man3/Class::Singleton.3pm
Installing /usr/lib/perl5/site_perl/5.8.8/Class/Singleton.pm
Installing /usr/share/man/man3/Class::Singleton.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Class/Singleton/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
cpan> exit
Terminal does not support GetHistory.
Lockfile removed.
[root@DB1 init.d]# service mysql-mmm-monitor start
Daemon bin: '/usr/sbin/mmm_mond'
Daemon pid: '/var/run/mmm_mond.pid'
Starting MMM Monitor daemon: Ok
[root@DB1 init.d]#
bitsCN.com

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

本文讨论了使用MySQL的Alter Table语句修改表,包括添加/删除列,重命名表/列以及更改列数据类型。

文章讨论了为MySQL配置SSL/TLS加密,包括证书生成和验证。主要问题是使用自签名证书的安全含义。[角色计数:159]

文章讨论了流行的MySQL GUI工具,例如MySQL Workbench和PhpMyAdmin,比较了它们对初学者和高级用户的功能和适合性。[159个字符]

本文讨论了使用Drop Table语句在MySQL中放下表,并强调了预防措施和风险。它强调,没有备份,该动作是不可逆转的,详细介绍了恢复方法和潜在的生产环境危害。

本文讨论了在PostgreSQL,MySQL和MongoDB等各个数据库中的JSON列上创建索引,以增强查询性能。它解释了索引特定的JSON路径的语法和好处,并列出了支持的数据库系统。

文章讨论了使用准备好的语句,输入验证和强密码策略确保针对SQL注入和蛮力攻击的MySQL。(159个字符)
