免费注册 查看新帖 |

Chinaunix

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

求教cacti的spine引擎安装错误的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-07 11:34 |只看该作者 |倒序浏览
我从官方网站上下了spine(也就是以前的cactid)poller引擎,按照说明安装编译的时候,出这样的错误:
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = 1.4.3) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

似乎在提示我版本有不匹配的地方,不懂!
请教一下!

论坛徽章:
0
2 [报告]
发表于 2008-03-27 09:52 |只看该作者
难道没有人知道这个是什么问题吗

论坛徽章:
0
3 [报告]
发表于 2008-03-27 10:27 |只看该作者
难道没有人用spine来做引擎的吗?

论坛徽章:
0
4 [报告]
发表于 2008-03-31 15:26 |只看该作者
正好我最近也碰到这个问题,共同探讨,我已解决。方法如下,也是从网上找来的,说不清为什么:
编译Spine/Cactid之前,先确认已经安装以下packages:

net-snmp-devel
mysql
mysql-devel
openssl-devel
Compiling Spine

2.下载最新版本的Spine/Cactid 并编译成为二进制可执行文件:

# tar xvzf cacti-spine-0.8.7.tar.gz
# cd spine-0.8.7
# ./configure

=================================================================================
出现如下错误:
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = 1.5.6) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.



google到cacti的官方支持论坛有答案,只要运行下列命令即可解决

aclocal
cd /usr/share/libtool/libltdl
libtoolize --force
cd /opt/cacti-spine-0.87
autoconf
autoheader
automake

做完以上步骤后
#./configure
# make
# mkdir /usr/local/spine
# cp spine  spine.conf  /usr/local/spine

编辑 spine.conf 文件,输入数据库名、数据库用户名和密码等信息.


即可

论坛徽章:
0
5 [报告]
发表于 2008-03-31 19:20 |只看该作者
spine是做什么的呢,能不能给新手结束一下。谢谢!

论坛徽章:
0
6 [报告]
发表于 2008-03-31 22:51 |只看该作者
用来代替 cmd.php的,如果监控的点比较多可以用它来提高计算效率。

论坛徽章:
0
7 [报告]
发表于 2008-04-01 08:00 |只看该作者
有一个疑问,用spine这句话怎么理解*/5 * * * * /usr/local/php5/bin/php /usr/local/apache2/htdocs/cacti/poller.php > /dev/null 2>&1这里还是用poller.php

论坛徽章:
0
8 [报告]
发表于 2008-04-01 12:24 |只看该作者
哦,讲错。应该是代替poller.php 。
楼上真是心细。呵呵

论坛徽章:
0
9 [报告]
发表于 2008-04-01 16:11 |只看该作者
用spine后*/5 * * * * /usr/local/php5/bin/php /usr/local/apache2/htdocs/cacti/poller.php > /dev/null 2>&1这句话怎么还用poller.php和spine冲突吗?

论坛徽章:
0
10 [报告]
发表于 2008-07-10 22:38 |只看该作者
aclocal
cd /usr/share/libtool/libltdl
libtoolize --force
cd /opt/cacti-spine-0.87
autoconf
autoheader
automake

做完以上步骤后
#./configure
# make

为什么我make的时候出错?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP