11 月 062014
 

参考url:http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/

 

遇到的问题,我在使用smokeping最新版的时候安装完一直报:

Software error:
Attempt to reload Carp/Heavy.pm aborted.
Compilation failed in require at (eval 18) line 2.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
Software error:
[Thu Nov  6 15:03:57 2014] (eval 18): Attempt to reload Carp/Heavy.pm aborted.
[Thu Nov  6 15:03:57 2014] (eval 18): Compilation failed in require at (eval 18) line 2.

后来测试发现 http 安装一个 mod_fcgid 模块,然后重启httpd 就好了,老版本好像没这个问题,我用的是smokeping-2.6.11 版本。

特此记录下。

后来在查看对比的图形时,一直发现没有数据。后来才知道,config中host 写slave一定要注意。

host = /jk/dx-chat85/sxbj~SL-SOCKET-CDN-SXBJCTC1

不能写成 host = /jk/dx-chat85/sxbj  因为sxbj是主的,由于我这边禁止主的检测结果,所以一直是nan,改成这样的就有数据了,搞了我一下午查这个问题。

并且给了当年的文档的附件,可以参考着看,虽然tr都没有了。而且安装也不要那么麻烦了!

[gview file=”https://www.hmouse.cn/wp-content/uploads/2014/11/smokeping编译安装.docx”] [gview file=”https://www.hmouse.cn/wp-content/uploads/2014/11/smokeping安装文档.docx”]

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny