cacti 0.8-pre
Moderators: Developers, Moderators
cacti 0.8-pre
In case anyone missed the announement on the main raXnet page or to cacti-announce, I am now generating nightly pre-releases of cacti 0.8. You can download them at the downloads section:
http://www.raxnet.net/downloads/beta/
When you find bugs of any sort, please report them using bugzilla:
http://bugzilla.raxnet.net/
I will keep these pre-releases going until most of the major bugs are worked out. A big area of focus is the 0.6.8->0.8 database conversion tool, so it would help me out of you gave this a try (on the installation page). It will not touch your old 0.6.8 database, as it copies your old data over.
Note that the default database (cacti.sql) is subjected to change on a nightly basis. If you are having issues, please try dropping your 0.8 database and re-importing this file first.
If you have any installation related questions, let me know. Otherwise, have fun bug hunting!
-Ian
http://www.raxnet.net/downloads/beta/
When you find bugs of any sort, please report them using bugzilla:
http://bugzilla.raxnet.net/
I will keep these pre-releases going until most of the major bugs are worked out. A big area of focus is the 0.6.8->0.8 database conversion tool, so it would help me out of you gave this a try (on the installation page). It will not touch your old 0.6.8 database, as it copies your old data over.
Note that the default database (cacti.sql) is subjected to change on a nightly basis. If you are having issues, please try dropping your 0.8 database and re-importing this file first.
If you have any installation related questions, let me know. Otherwise, have fun bug hunting!
-Ian
cannot login after upgrade
I followed the docs/UPGRADE.htm instructions for pre-0.8 and everything went smooth until I tried to login. Fortunately, I was doing this on a test server.
plenty of space on the server, reviewed many threads in this forum.
nada....totally stumped on this one.. Is there a quick mysql hack I can do to change the password?
Thx
plenty of space on the server, reviewed many threads in this forum.
nada....totally stumped on this one.. Is there a quick mysql hack I can do to change the password?
Thx
mysql change of password doesn't work
Followed this thread:
http://www.raxnet.net/board/viewtopic.p ... e+password
still cannot login
running php cmd.php kicks back "there are no items in your poller cache..... ..go to Utilities and clear poller cache"
http://www.raxnet.net/board/viewtopic.p ... e+password
still cannot login
running php cmd.php kicks back "there are no items in your poller cache..... ..go to Utilities and clear poller cache"
1 step forward....
OK,
I dumped all the tables and was able to push the new schema into cacti.
Now I am able to log in and do whatever. The question remains on how to get the old data into cacti?
I dumped all the tables and was able to push the new schema into cacti.
Now I am able to log in and do whatever. The question remains on how to get the old data into cacti?
Re: mysql change of password doesn't work
The password hashes differ from 0.6.8 to 0.8. They are generated from PHP's md5() function now, so you can generate one manually using that function.egarnel wrote:Followed this thread:
http://www.raxnet.net/board/viewtopic.p ... e+password
still cannot login
running php cmd.php kicks back "there are no items in your poller cache..... ..go to Utilities and clear poller cache"
Did you do an upgrade or new install? The account for a new install should be admin/admin, while your old user accounts should work for an upgrade.
In terms of how to upgrade, following UPGRADE.htm probably will not work since it is 0.6.x specific. Here is what to do:
1) Create a new MySQL database, and import 'cacti.sql' into it.
2) Edit 'include/config.php' to point to this new database
3) When the install screen comes up, choose "Upgrade an old 0.6.8 install", and give it your 0.6.8 database name when asked.
4) Your data should be imported and the results displayed on the following screen.
Let me know if you have any further problems/questions.
-Ian
Ok,
I started from scratch:
1) created new database cacti_08 giving proper privs to cactiuser
2) imported cactil.sql schema into cacti_08 ( mysql cacti_08 < cacti.sql
3) edited include/config.php to point to cacti_08 with correct username/password
4) On the install page, I chose upgrade from 0.6.8 and clicked 'next'....
and received the following error
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1024 bytes) in /usr/local/cacti/install/update_to_0_8.php on line 779
I started from scratch:
1) created new database cacti_08 giving proper privs to cactiuser
2) imported cactil.sql schema into cacti_08 ( mysql cacti_08 < cacti.sql
3) edited include/config.php to point to cacti_08 with correct username/password
4) On the install page, I chose upgrade from 0.6.8 and clicked 'next'....
and received the following error
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1024 bytes) in /usr/local/cacti/install/update_to_0_8.php on line 779
Mabye this will help some upgraders
To upgrade the version of 0.8 I was running I had to update the mysql schema so here is what I did to export and recreate everything while all the data was restored in tact.
first export your database
mysqldump -t -u root -p cacti08 > cacti08.dmp
then you could drop the cacti08 database
then import the new schema
mysql -u root -p cacti08 < cacti.sql
then re-import your old data
mysq -f -u root -p cacti08 < cacti08.dmp
this restored all my data nicely (Thank god) I had well over 1000 interfaces in there, didn't want to add them by hand again
Hope this helps
let me know if I got something wrong here, but I believe this should work.
first export your database
mysqldump -t -u root -p cacti08 > cacti08.dmp
then you could drop the cacti08 database
then import the new schema
mysql -u root -p cacti08 < cacti.sql
then re-import your old data
mysq -f -u root -p cacti08 < cacti08.dmp
this restored all my data nicely (Thank god) I had well over 1000 interfaces in there, didn't want to add them by hand again
Hope this helps
let me know if I got something wrong here, but I believe this should work.
upgrade - blan screen
I have problems updating my cacti 0.6.8 install to 0.8. I have over 2400 monitored interfaces in th DB
Here is what I am trying to do.
I create a new database called "cactinew" and set the variables in config.php (I do not import the schema).
I run the install php page in my browser and select upgrade from 0.6.8
I enter the details of my current cacti DB and press next.
After that, the server returns a html page with no data in it. If I check my database, nothing has changed.
What am I doing wrong ?
Regards
Izit
Here is what I am trying to do.
I create a new database called "cactinew" and set the variables in config.php (I do not import the schema).
I run the install php page in my browser and select upgrade from 0.6.8
I enter the details of my current cacti DB and press next.
After that, the server returns a html page with no data in it. If I check my database, nothing has changed.
What am I doing wrong ?
Regards
Izit
I believe I have fixed these memory errors in the latest release. They were due to the message array getting too large and PHP's memory limit being too low. Both have been adjusted.egarnel wrote:Ok,
I started from scratch:
1) created new database cacti_08 giving proper privs to cactiuser
2) imported cactil.sql schema into cacti_08 ( mysql cacti_08 < cacti.sql
3) edited include/config.php to point to cacti_08 with correct username/password
4) On the install page, I chose upgrade from 0.6.8 and clicked 'next'....
and received the following error
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1024 bytes) in /usr/local/cacti/install/update_to_0_8.php on line 779
Let me know if you still have problems with this error.
-Ian
Re: upgrade - blan screen
After you create the new database (cactinew), you still need to import the schema from cacti.sql. In addition to some default data, this file contains all of the table structures for 0.8. Sorry about any confusion, I could have made this a bit more clear.izit wrote:I have problems updating my cacti 0.6.8 install to 0.8. I have over 2400 monitored interfaces in th DB
Here is what I am trying to do.
I create a new database called "cactinew" and set the variables in config.php (I do not import the schema).
I run the install php page in my browser and select upgrade from 0.6.8
I enter the details of my current cacti DB and press next.
After that, the server returns a html page with no data in it. If I check my database, nothing has changed.
What am I doing wrong ?
Regards
Izit
If I get more time to hack at things tomorrow, I am going to try and make the schema import more seemless. I also need to work on some better error feedback for the installer.
-Ian
I followed your intructions and it failed because of memory problems. I applied the latest release AND changed my php memory setting to 16MB and it was succesfull.
I do have another remark
Because of the large number of interfaces I monitor (2400) I get a very wide page when I look at data sources (example). I get over 120 pages because you split them. It is not really bad, but unhandy when you have to scroll to the right.
Regards
izit
I do have another remark
Because of the large number of interfaces I monitor (2400) I get a very wide page when I look at data sources (example). I get over 120 pages because you split them. It is not really bad, but unhandy when you have to scroll to the right.
Regards
izit
up and running
Cool.
last night's build worked. I also bumped up the memory setting in php.ini as well.
Quick question, though. Is the historical data stored in the database? or in path-to-cacti/rra ? If so, I should be able to tar up my rra file on the old server and move it to the new server to have all my weekly, monthly and yearly data
last night's build worked. I also bumped up the memory setting in php.ini as well.
Quick question, though. Is the historical data stored in the database? or in path-to-cacti/rra ? If so, I should be able to tar up my rra file on the old server and move it to the new server to have all my weekly, monthly and yearly data
Who is online
Users browsing this forum: No registered users and 1 guest