[HOWTO] Installing Cacti on Ubuntu
Moderators: Developers, Moderators
[HOWTO] Installing Cacti on Ubuntu
For anyone interested, I wrote up a quick guide on how to install Cacti on Ubuntu and added it to the Ubuntu Wiki pages yesteday.
https://wiki.ubuntu.com/CactiHowTo
I tried installing it roughly 4 or 5 times on two different boxes using these instructions and had no issues so i'd be interested to know if others have any success with it or not... that is if you ever have any desire to getting it running on Ubuntu.
https://wiki.ubuntu.com/CactiHowTo
I tried installing it roughly 4 or 5 times on two different boxes using these instructions and had no issues so i'd be interested to know if others have any success with it or not... that is if you ever have any desire to getting it running on Ubuntu.
Re: Installing Cacti on Ubuntu
I just installed cacti following your excelent notes.tspec wrote:For anyone interested, I wrote up a quick guide on how to install Cacti on Ubuntu and added it to the Ubuntu Wiki pages yesteday.
https://wiki.ubuntu.com/CactiHowTo
I tried installing it roughly 4 or 5 times on two different boxes using these instructions and had no issues so i'd be interested to know if others have any success with it or not... that is if you ever have any desire to getting it running on Ubuntu.
Not big problems. Only problem was to find out how to find a way to get "sudo apt-get install cacti". Apt-get was not finding "universe". It was finding only a local disribution point which was not including cacti. Need to uncomment some rows to get it. And a basic installation does not install a root user at all.
Cacti version seems to be 0.8.6f. My guestion is how to get cacti 0.8.6g.
I am myself a Windows man. This was really my first linux application installation.
\xphu
|Cacti user since 0.8.4|
ditto "Need to uncomment some rows to get it. And a basic installation does not install a root user at all"
Being new to ubuntu and a novice at linux, it took a while to figure out..
Edit the /etc/apt/sources.list file before doing any "apt-get install ..."
also "sudo passwd root" from your user account to activiate the root account; then log in as root
Do an "apt-get update" then begin the install instructions.
I installed ubuntu and cacti multiple times for practice. Occasionally, the php5-mysql package would not configure correctly. This prevented my graphs from showing up. Everything else in cacti was working fine, just no graphs. I did a "php -m" and saw that mysql module was not listed.
I finally did a "dpkg-reconfigure php5-mysql" to correct the problem. This was an intermittent problem during my installs/ format/ re-installs. Not sure why it worked sometimes and not others.
Everything is pretty now. Thanks for the instructions.
Oh yeah, don't forget to "apache2ctl restart" after you do the dpkg-reconfigure.
Being new to ubuntu and a novice at linux, it took a while to figure out..
Edit the /etc/apt/sources.list file before doing any "apt-get install ..."
also "sudo passwd root" from your user account to activiate the root account; then log in as root
Do an "apt-get update" then begin the install instructions.
I installed ubuntu and cacti multiple times for practice. Occasionally, the php5-mysql package would not configure correctly. This prevented my graphs from showing up. Everything else in cacti was working fine, just no graphs. I did a "php -m" and saw that mysql module was not listed.
I finally did a "dpkg-reconfigure php5-mysql" to correct the problem. This was an intermittent problem during my installs/ format/ re-installs. Not sure why it worked sometimes and not others.
Everything is pretty now. Thanks for the instructions.
Oh yeah, don't forget to "apache2ctl restart" after you do the dpkg-reconfigure.
snmp error
Thanks for the great tutorial. Installing seems to be a breeze, it's configuring that I'm having trouble with.
Specifically I'm getting an snmp error message, it seems that no matter what I do I can't seem to fix that, or find any additional information that might tell me where to look.
Does anyone here have cacti monitoring the local network ports?
Or monitoring other ubuntu boxes over the network?
Specifically I'm getting an snmp error message, it seems that no matter what I do I can't seem to fix that, or find any additional information that might tell me where to look.
Does anyone here have cacti monitoring the local network ports?
Or monitoring other ubuntu boxes over the network?
-
- Posts: 1
- Joined: Wed Apr 12, 2006 6:00 pm
I have updated this page on the Ubuntu Wiki to support Ubuntu 6.06 LTS (Dapper Drake). Take a look!
https://wiki.ubuntu.com/CactiHowTo
Tristan Rhodes
https://wiki.ubuntu.com/CactiHowTo
Tristan Rhodes
-
- Posts: 1
- Joined: Fri Jun 16, 2006 3:50 pm
-
- Posts: 1
- Joined: Wed Jun 28, 2006 2:28 pm
- Location: Upstate NY
Xunbuntu cacti plugins
Anyone have any luck installing the Cacti Plugin arch. I can't get the Plugin stuff to work. When I follow the instructions to install the Plugin-Arch I completly break cacti. I get errors:
I did notice that the config.php file I have is rather different then the standard cacti config file.
I installed cacti using the package manager.
I'm running Xunbuntu ver. 6.06, MYSQL 5.0, cacti 0.8.6h.
I've checked the Unbuntu wiki site, google, and Cacti's site with no luck.
any ideas? Thanks!
If I look for /usr/share/cacti/site/lib/adodb I can't find it.Warning: include(/usr/share/cacti/site/lib/adodb/adodb.inc.php) [function.include]: failed to open stream: No such file or directory in /usr/share/cacti/site/include/config.php on line 166
Warning: include() [function.include]: Failed opening '/usr/share/cacti/site/lib/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/include/config.php on line 166
Fatal error: Call to undefined function NewADOConnection() in /usr/share/cacti/site/lib/database.php on line 40
I did notice that the config.php file I have is rather different then the standard cacti config file.
I installed cacti using the package manager.
I'm running Xunbuntu ver. 6.06, MYSQL 5.0, cacti 0.8.6h.
I've checked the Unbuntu wiki site, google, and Cacti's site with no luck.
any ideas? Thanks!
-
- Posts: 3
- Joined: Sun Jul 02, 2006 2:59 am
- Location: Johannesburg, Soutg Africa
- Contact:
This is one reason I don't always like apt-get. I'm already running Apache2, PHP5, MySQL 4.0.12 with some databases and security already setup.
So, when I installed cacti from apt-get, it couldn't create the database, which I then added manually afterwards.
Then I edited /etc/cacti/debian.php to insert my database details.
Problem now is, I get this error:
Any suggestions?
So, when I installed cacti from apt-get, it couldn't create the database, which I then added manually afterwards.
Then I edited /etc/cacti/debian.php to insert my database details.
Problem now is, I get this error:
Code: Select all
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 854
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/adodb/adodb.inc.php:854) in /usr/share/cacti/site/include/auth.php on line 31
[list][*]cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
[*]Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
[*]Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting[/list]
[url=http://www.softdux.com]SoftDux - The Leaders in Software[/url]
Use the coupon: [b][i]cacti-06[/i][/b] to get 20% off our packages
[*]Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
[*]Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting[/list]
[url=http://www.softdux.com]SoftDux - The Leaders in Software[/url]
Use the coupon: [b][i]cacti-06[/i][/b] to get 20% off our packages
cant login cacti
i type apt-get insatll cati
on ubuntu server 6.06
the cacti pass and mysql pass for cati was leaved blank
i try to get with http://mylocalip/cacti
but it doesnt work
then i try to remove
apt-get remove cacti
i was asking for a pass, i leve blnak
but i got the following:
uninstalling cacti ...
dbconfig-common: dumping mysql database cacti to /var/tmp/cacti.cacti.2006-08-14-15.23.mysql.wfcvfK
dpkg: error processing cacti (--remove):
the subprocess pre-removal script send output code error 1
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf
Replacing config file /etc/cacti/debian.php with new version
dbconfig-common: flushing administrative password
there were errors processing:
cacti
E: Sub-process /usr/bin/dpkg returned an error code (1)
on ubuntu server 6.06
the cacti pass and mysql pass for cati was leaved blank
i try to get with http://mylocalip/cacti
but it doesnt work
then i try to remove
apt-get remove cacti
i was asking for a pass, i leve blnak
but i got the following:
uninstalling cacti ...
dbconfig-common: dumping mysql database cacti to /var/tmp/cacti.cacti.2006-08-14-15.23.mysql.wfcvfK
dpkg: error processing cacti (--remove):
the subprocess pre-removal script send output code error 1
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf
Replacing config file /etc/cacti/debian.php with new version
dbconfig-common: flushing administrative password
there were errors processing:
cacti
E: Sub-process /usr/bin/dpkg returned an error code (1)
Does anybody know if I need to go through steps 7-13 under Installing Cacti for Ubuntu - Part 1?
I'm asking because I don't have the cacti.sql file located anywhere and it seems that from step 12 it's extracted.
I'm installing on Ubuntu Server 6.06
I've completed all steps under:
-Installing Cacti on Ubuntu Server 6.06 (Dapper Drake)
-Setup Cacti
-Recommended: Create a root password for MySQL
I'm asking because I don't have the cacti.sql file located anywhere and it seems that from step 12 it's extracted.
I'm installing on Ubuntu Server 6.06
I've completed all steps under:
-Installing Cacti on Ubuntu Server 6.06 (Dapper Drake)
-Setup Cacti
-Recommended: Create a root password for MySQL
Re: Xunbuntu cacti plugins
I have same problem - Ubuntu 6.06 LTS, Cacti 0.8.6h, Apache2, MySQL 5.0.hiltonadmin wrote:Anyone have any luck installing the Cacti Plugin arch. I can't get the Plugin stuff to work. When I follow the instructions to install the Plugin-Arch I completly break cacti. I get errors:If I look for /usr/share/cacti/site/lib/adodb I can't find it.Warning: include(/usr/share/cacti/site/lib/adodb/adodb.inc.php) [function.include]: failed to open stream: No such file or directory in /usr/share/cacti/site/include/config.php on line 166
Warning: include() [function.include]: Failed opening '/usr/share/cacti/site/lib/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/include/config.php on line 166
Fatal error: Call to undefined function NewADOConnection() in /usr/share/cacti/site/lib/database.php on line 40
I did notice that the config.php file I have is rather different then the standard cacti config file.
I installed cacti using the package manager.
I'm running Xunbuntu ver. 6.06, MYSQL 5.0, cacti 0.8.6h.
I've checked the Unbuntu wiki site, google, and Cacti's site with no luck.
any ideas? Thanks!
After installing Cacti (apt-get install cacti), I will use the patch, copy file config.php from files-0-8-6h/include to site/include and edit it for my creditionals. Also, I edit url_path, but now i saw only an error page...
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You may check, if the database is already in place. Run mysql from command line an issue the commandMatsB wrote:Does anybody know if I need to go through steps 7-13 under Installing Cacti for Ubuntu - Part 1?
I'm asking because I don't have the cacti.sql file located anywhere and it seems that from step 12 it's extracted.
I'm installing on Ubuntu Server 6.06
I've completed all steps under:
-Installing Cacti on Ubuntu Server 6.06 (Dapper Drake)
-Setup Cacti
-Recommended: Create a root password for MySQL
Code: Select all
show databases;
Reinhard
Done... sorry for the wait. Here is a crude mark up. As soon as I have time to make them nicer looking I will.
http://technotim.dyndns.org/index.php?o ... &Itemid=13
if you dig it, then digg it.
http://technotim.dyndns.org/index.php?o ... &Itemid=13
if you dig it, then digg it.
My Site
www.techtronic.us
www.techtronic.us
Who is online
Users browsing this forum: No registered users and 0 guests