作者purplvampire (阿修雷)
看板Linux
标题[问题] 无法顺利安装cacti系统
时间Thu Apr 16 15:44:10 2015
小弟使用Ubuntu14.04.1 LTS x86_64版
照着下方连结的步骤执行遇到了几个瓶颈上来求教
http://www.chenshake.com/configuring-ubuntu-12-04-install-cacti/
另外也参考了两个网站
这个在解压缩的档名不正确
http://zhouxia.blog.51cto.com/6029585/1339792
这个在遇到设定Mysql时遇到瓶颈时可用
http://ppt.cc/ECGh
目前遇到无法解决的问题
1.在执行Spine开发环境时
#apt-get install dpkg-dev file gcc g++ libc6-dev make patch perl autoconf \
automake dh-make debhelper devscripts fakeroot gnupg \
xutils lintian pbuilder checkinstall libtool libsnmp-dev libsnmp-base\
libsnmp15 libmysqlclient-dev dbconfig-common libphp-adodb dos2unix
跳出错误讯息
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsnmp-base : Breaks: libsnmp15 (< 5.7.2~dfsg-5) but
5.4.3~dfsg-2.4ubuntu1.2 is to be installed
libsnmp15 : Depends: libperl5.14 (>= 5.14.2) but it is not going to be
installed
libsnmp30 : Breaks: libsnmp15 but 5.4.3~dfsg-2.4ubuntu1.2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by
held packages.
尝试移除有问题的SNMP版本时又跳出错误讯息
#apt-get remove libsnmp15_5.4.3~dfsg-2.4ubuntu1.2_i386.deb
E: Unable to locate package libsnmp15_5.4.3~dfsg-2.4ubuntu1.2_i386.deb
E: Couldn't find any package by regex
'libsnmp15_5.4.3~dfsg-2.4ubuntu1.2_i386.deb'
可是原先没安装时又说没有libsnmp15,真是烦死了
2.执行spine的解压编译时又遇到问题
#./configure
configure: error: Cannot find MySQL headers. Use --with-mysql= to specify
non-default path.
#make
make: *** No targets specified and no makefile found. Stop.
#make install
make: *** No rule to make target `install'. Stop.
#cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf
cp: cannot stat ‘/usr/local/spine/etc/spine.conf.dist’: No such file or
directory
一下路径不对 一下没该指令 一下没有档案或目录
谁知道到底是怎麽回事啊阿阿
--
1F:嘘 RickyOrange:嘘的人我看连字都写不好06/06 10:59
2F:→ RickyOrange:干 我怎麽嘘了06/06 11:00
3F:→ RickyOrange:等等补推 = = 06/06 11:00
4F:推 RickyOrange:呼06/06 11:03
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 202.169.173.134
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1429170255.A.5FD.html
5F:推 Adama: apt-get remove libsnmp15 (仅有套件名即可) 04/16 15:56
6F:→ Adama: 但官方源没有libsnmp15这个套件... 你怎麽装的?ppa? 04/16 15:56
7F:→ Adama: 啊 你是直接抓deb下来点两下装的 难怪造成冲突 04/16 15:58
8F:→ Adama: 而且你还抓错arch,抓到i386的了...建议去了解一下套件管理 04/16 15:59
9F:→ purplvampire: 呜呜呜,我不只抓了i386的,我连amd64都有装Q_Q 04/16 16:03
10F:→ purplvampire: 可是没有libsnmp15,那我要怎麽办Q_Q 04/16 16:04
11F:推 hirokofan: 我用ubuntu 12.04装正常,无脑apt-get 就搞定了... 04/16 16:34
12F:→ hirokofan: hc.cyc.edu.tw/modules/tadnews/index.php?nsn=76 04/16 16:34
13F:→ hirokofan: 14.04没装过 04/16 16:35
14F:→ purplvampire: 楼上救星!我用虚拟机试装也没问题 04/17 07:54
15F:推 cem236321: 不知道(都用CentOS装...) 04/17 22:21