Upgrade Cacti, Mysql, Rddtools, Net-snmp, Httpd Help Request

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jpimentel
Posts: 39
Joined: Wed Jan 18, 2006 11:09 am

Upgrade Cacti, Mysql, Rddtools, Net-snmp, Httpd Help Request

Post by jpimentel »

I would like to upgrade cacti to the latest version. I followed the guide ( http://www.cacti.net/downloads/docs/con ... How-To.pdf ), and am still using the versions listed here. Initially when I installed cacti I used newer program versions, but ran into problems. I would like to know what the prerequisites are for me to install cacti-0.8.6h.tar.gz. Am I safe to follow this guide ( http://www.cacti.net/downloads/docs/html/upgrade.html ) , and is there anything else you can recommend I do prior to the upgrade? I reviewed the forms looking for an answer to these questions, but was unable to find anything. I apologize if this sounds like a broken record.

httpd-2.0.52
mysql-4.0.21
php-4.3.8
rddtools-1.0.49
net-snmp-5.1.2
cacti-0.8.6.b ( not patched )
Fedora Core 2

Cheers,

Jason
JP
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What problems did you run into?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
jpimentel
Posts: 39
Joined: Wed Jan 18, 2006 11:09 am

Upgrade Cacti, Mysql, Rddtools, Net-snmp, Httpd Help Request

Post by jpimentel »

When I installed Fedora 4 with the latest version of mysql, rddtool, httpd, cacti, and net-snmp I got dependency errors. I recall when I installed mysql I got a glbic error, but that’s not helpful because I do not remember exactly what that error was. :roll:
Am I safe to install the never version of cacti with out updating mysql? Also does the new version of cacti depend on a certain version of rddtools and/or netsnmp? Have you upgraded cacti, and if so did you follow the same guide posted above?
JP
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Cacti is works very well with multiple version, get it installed, and let's work through problems from there.

Also, if you get errors installing any of the required components, resolve those before attempting to get cacti to work.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
jpimentel
Posts: 39
Joined: Wed Jan 18, 2006 11:09 am

Post by jpimentel »

I am in the process of backing up my linux partition on cd. I will upgrade cacti right after. Thanks ;)
JP
jpimentel
Posts: 39
Joined: Wed Jan 18, 2006 11:09 am

Post by jpimentel »

Ok here is my first error when following the back up guide listed in the original post.

I log into mysql

[root@localhost bin]# ./mysql -p -D root cactidb
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 369 to server version: 4.0.21-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

---------------------------------------------------------------------------------

mysql> mysqldump -l --add drop table cacti > mysql.cacti
-> ;
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump -l --add drop table cacti > mysql.cacti' at line 1
mysql>
JP
jpimentel
Posts: 39
Joined: Wed Jan 18, 2006 11:09 am

Post by jpimentel »

I managed to upgrade cacti, but it seems that there is a problem with permissions.

Clear Cacti Log File

Error: Unable to clear log, no write permissions.

Is there an easy way to fix this? I am not very good with linux, still learning.
JP
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Your web service accound needs rwx to the <path_cacti>/log directory.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jpimentel
Posts: 39
Joined: Wed Jan 18, 2006 11:09 am

Post by jpimentel »

Thanks, problem fixed.
JP
fla_roadkill
Posts: 31
Joined: Wed Jan 19, 2005 2:34 pm

Post by fla_roadkill »

Hi, did you have to do anything else to get your CACTI install working from that old version? Im upgrading but having an issue with Cacti updating the RRD files afterward. I tried on the same machine and on diff machines. On the same machine, i just made a new database and web directory, still have the issue.
Post Reply

Who is online

Users browsing this forum: tfrench01 and 2 guests