無法順利安裝cacti系統 - Linux

Elvira avatar
By Elvira
at 2015-04-16T15:44

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

--
Tags: Linux

All Comments

Carolina Franco avatar
By Carolina Franco
at 2015-04-18T10:59
噓的人我看連字都寫不好
Oliver avatar
By Oliver
at 2015-04-18T15:10
幹 我怎麼噓了
Valerie avatar
By Valerie
at 2015-04-21T06:32
等等補推 = =
Rae avatar
By Rae
at 2015-04-21T23:39
Mia avatar
By Mia
at 2015-04-22T09:26
apt-get remove libsnmp15 (僅有套件名即可)
但官方源沒有libsnmp15這個套件... 你怎麼裝的?ppa?
Frederica avatar
By Frederica
at 2015-04-24T22:03
啊 你是直接抓deb下來點兩下裝的 難怪造成衝突
Oliver avatar
By Oliver
at 2015-04-29T03:32
而且你還抓錯arch,抓到i386的了...建議去了解一下套件管理
Ula avatar
By Ula
at 2015-05-02T17:58
嗚嗚嗚,我不只抓了i386的,我連amd64都有裝Q_Q
Noah avatar
By Noah
at 2015-05-03T09:48
可是沒有libsnmp15,那我要怎麼辦Q_Q
Hedda avatar
By Hedda
at 2015-05-08T02:08
我用ubuntu 12.04裝正常,無腦apt-get 就搞定了...
hc.cyc.edu.tw/modules/tadnews/index.php?nsn=76
Queena avatar
By Queena
at 2015-05-10T01:03
14.04沒裝過
Ophelia avatar
By Ophelia
at 2015-05-10T12:33
樓上救星!我用虛擬機試裝也沒問題
Ursula avatar
By Ursula
at 2015-05-11T18:24
不知道(都用CentOS裝...)

APT和aptitude的問題

Mia avatar
By Mia
at 2015-04-15T21:19
最近再網路上看到了aptitude這個指令,他是個比apt還要聰明的東西, 所以最近想要使用這個取代原本使用的apt-get, 但是網路上查了一下apt-get似乎會跟aptitude有衝突,不可以同時使用... 問題: 1. 為什麼網路上教學文都用apt-get install/remove/pu ...

可以不要讓AWK print新的一行嗎

Jack avatar
By Jack
at 2015-04-15T17:22
大家好我是linux新手 /過awk 好像沒有類似文章 現在學校要寫一個bash 的 shell script awk -F\and#34; and#39; { if($1 ~ /#include/ andamp;andamp; $2 ~ /\andlt;/ ) print( $2 )} and#39; ...

請問開不開防火牆的差別

Carol avatar
By Carol
at 2015-04-15T12:55
最近為了某些原因開了SSH和VPN ( PPTP ) 的服務,因此在小烏龜上面設定了這兩個port的forwarding, 由於之前PPTP在防火牆那邊會出現一些問題以至於無法連上,所以目前為止是都沒有開啟防火牆的, 但是我有時候必須要PPPOE撥接使用到公用IP,深怕我的系統會因此被入侵。 問題: ...

Bash 收email 的方法

Ingrid avatar
By Ingrid
at 2015-04-15T09:41
請問有辦法透過指令的方式收電子郵件並存成檔案嗎? 還是必須透過telnet直接用pop3或imap通訊協定的方式結合expect去做呢 感謝 - ...

網站問題

Valerie avatar
By Valerie
at 2015-04-14T23:00
這幾天自己架了ap及2台db來測試sql 2012 always-on的功能 小弟剛入門 有幾個問題想請問一下 ap的部份使用apahce+resin resin指向db的設定有哪些部份需要修改?? ip是兩台都要指嗎??? 還是指向cluster所設定出來的ip??? 另外要怎麼測試ap有沒有正確 ...