免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2170 | 回复: 0
打印 上一主题 下一主题

smokeping 启动不了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-02 10:47 |只看该作者 |倒序浏览
我自己搭建了一个smokeping  在配置文件配好之后 一直提示错误 启动不起来  大侠们能否帮助一下   错误信息

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/smokeping/lib /usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /etc/smokeping/lib/Smokeping/Slave.pm line 8.
BEGIN failed--compilation aborted at /etc/smokeping/lib/Smokeping/Slave.pm line 8.
Compilation failed in require at /etc/smokeping/lib/Smokeping.pm line 18.
BEGIN failed--compilation aborted at /etc/smokeping/lib/Smokeping.pm line 18.
Compilation failed in require at /etc/smokeping/bin/smokeping.dist line 8.
BEGIN failed--compilation aborted at /etc/smokeping/bin/smokeping.dist line 8.

vim  /etc/smokeping/lib/Smokeping.pm 我没有动过配置文件
   1 # -*- perl -*-
  2 package Smokeping::Slave;
  3 use warnings;
  4 use strict;
  5 use Data:umper;
  6 use Storable qw(nstore retrieve);
  7 use Digest::HMAC_MD5 qw(hmac_md5_hex);
  8 use LWP::UserAgent;
  9 use Safe;
10 use Smokeping;
11 # keep this in sync with the Slave.pm part
12 # only update if you have to force a parallel upgrade
13 my $PROTOCOL = "2";
14
15 =head1 NAME
16
17 Smokeping::Slave - Slave functionality for Smokeping
18
19 =head1 OVERVIEW
20
21 The Module inmplements the functionality required to run in slave mode.


vim /etc/smokeping/bin/smokeping.dist
1 #!/usr/bin/perl -w
  2 # -*-perl-*-
  3
  4 use lib qw(/usr/lib/perl5);
  5 use lib qw(/etc/smokeping/lib);
  6 use strict;
  7 use warnings;
  8 use Smokeping 2.004002;
  9
10 Smokeping::main("/etc/smokeping/etc/config.dist";
11
12 =head1 NAME
13
14 smokeping - Commandline tool for SmokePing
15
16 =head1 SYNOPSIS
17
18 B<smokeping> [ B<--email> | B<--makepod> | B<--version> | B<--restart> ]


忘帮忙解决 谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP