無法順利安裝cacti系統 - Linux

Table of Contents

小弟使用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


一下路徑不對 一下沒該指令 一下沒有檔案或目錄

誰知道到底是怎麼回事啊阿阿




--
RickyOrange:噓的人我看連字都寫不好06/06 10:59
RickyOrange:幹 我怎麼噓了06/06 11:00
RickyOrange:等等補推 = = 06/06 11:00
RickyOrange:呼06/06 11:03

--

All Comments

Carolina Franco avatarCarolina Franco2015-04-18
噓的人我看連字都寫不好
Oliver avatarOliver2015-04-18
幹 我怎麼噓了
Valerie avatarValerie2015-04-21
等等補推 = =
Rae avatarRae2015-04-21
Mia avatarMia2015-04-22
apt-get remove libsnmp15 (僅有套件名即可)
但官方源沒有libsnmp15這個套件... 你怎麼裝的?ppa?
Frederica avatarFrederica2015-04-24
啊 你是直接抓deb下來點兩下裝的 難怪造成衝突
Oliver avatarOliver2015-04-29
而且你還抓錯arch,抓到i386的了...建議去了解一下套件管理
Ula avatarUla2015-05-02
嗚嗚嗚,我不只抓了i386的,我連amd64都有裝Q_Q
Noah avatarNoah2015-05-03
可是沒有libsnmp15,那我要怎麼辦Q_Q
Hedda avatarHedda2015-05-08
我用ubuntu 12.04裝正常,無腦apt-get 就搞定了...
hc.cyc.edu.tw/modules/tadnews/index.php?nsn=76
Queena avatarQueena2015-05-10
14.04沒裝過
Ophelia avatarOphelia2015-05-10
樓上救星!我用虛擬機試裝也沒問題
Ursula avatarUrsula2015-05-11
不知道(都用CentOS裝...)