無法順利安裝cacti系統 - Linux

By Elvira
at 2015-04-16T15:44
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
一下路徑不對 一下沒該指令 一下沒有檔案或目錄
誰知道到底是怎麼回事啊阿阿
--
--
照著下方連結的步驟執行遇到了幾個瓶頸上來求教
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

By Carolina Franco
at 2015-04-18T10:59
at 2015-04-18T10:59

By Oliver
at 2015-04-18T15:10
at 2015-04-18T15:10

By Valerie
at 2015-04-21T06:32
at 2015-04-21T06:32

By Rae
at 2015-04-21T23:39
at 2015-04-21T23:39

By Mia
at 2015-04-22T09:26
at 2015-04-22T09:26

By Frederica
at 2015-04-24T22:03
at 2015-04-24T22:03

By Oliver
at 2015-04-29T03:32
at 2015-04-29T03:32

By Ula
at 2015-05-02T17:58
at 2015-05-02T17:58

By Noah
at 2015-05-03T09:48
at 2015-05-03T09:48

By Hedda
at 2015-05-08T02:08
at 2015-05-08T02:08

By Queena
at 2015-05-10T01:03
at 2015-05-10T01:03

By Ophelia
at 2015-05-10T12:33
at 2015-05-10T12:33

By Ursula
at 2015-05-11T18:24
at 2015-05-11T18:24
Related Posts
APT和aptitude的問題

By Mia
at 2015-04-15T21:19
at 2015-04-15T21:19
可以不要讓AWK print新的一行嗎

By Jack
at 2015-04-15T17:22
at 2015-04-15T17:22
請問開不開防火牆的差別

By Carol
at 2015-04-15T12:55
at 2015-04-15T12:55
Bash 收email 的方法

By Ingrid
at 2015-04-15T09:41
at 2015-04-15T09:41
網站問題

By Valerie
at 2015-04-14T23:00
at 2015-04-14T23:00