Hello,
I had a problem with mysql which used the CPU at 100 %. I uninstalled it and reinstalled (I read the cacti manuel). Now, i would like to recover all informations about cacti (data sources ...) but i don't know how may I make it ...
When I have to enter my Cacti user name and password, above, i have this message :
Warning: reset() [function.reset]: Passed variable is not an array or object in C:\Apache2.2\htdocs\cacti\lib\functions.php on line 146
Warning: Variable passed to each() is not an array or object in C:\Apache2.2\htdocs\cacti\lib\functions.php on line 147
Warning: reset() [function.reset]: Passed variable is not an array or object in C:\Apache2.2\htdocs\cacti\lib\functions.php on line 146
Warning: Variable passed to each() is not an array or object in C:\Apache2.2\htdocs\cacti\lib\functions.php on line 147
Problem with Mysql 5.051
Moderators: Developers, Moderators
1) ** README BEFORE POSTING ** Sticky
2) Looks like a possible NTFS permission problem on the cacti files, re-read the installation guide.
3) did you save your mysql cacti data directory? if not, then all your data is gone and you have to start fresh. otherwise, just put it back into the mysql data folder and it should work.
2) Looks like a possible NTFS permission problem on the cacti files, re-read the installation guide.
3) did you save your mysql cacti data directory? if not, then all your data is gone and you have to start fresh. otherwise, just put it back into the mysql data folder and it should work.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Did you create and initialize your database. This problem looks mighty familiar from that perspective.
TheWitness
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?
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?
I think i found my problem. I didn't save my mysql cacti data directory.
So, I reinstalled cacti, and the error message disapearred. Then, I
added a new device, snmp ok, but i have nobody graph ... For example, when i use the graph debug mode, i have :
ERROR: opening 'C:/Apache2.2/htdocs/cacti/rra/X_cpu_system_22.rrd': No such file or directory
And, in the device menu, i have :
Description_____ID____Graphs____Data Sources___Status____Event Count
X_____________4________23__________29______Unknow________0
Hostname____Current (ms)______Average (ms)____Availability
192.168.y.y_______0______________0______________100
So, I reinstalled cacti, and the error message disapearred. Then, I
added a new device, snmp ok, but i have nobody graph ... For example, when i use the graph debug mode, i have :
ERROR: opening 'C:/Apache2.2/htdocs/cacti/rra/X_cpu_system_22.rrd': No such file or directory
And, in the device menu, i have :
Description_____ID____Graphs____Data Sources___Status____Event Count
X_____________4________23__________29______Unknow________0
Hostname____Current (ms)______Average (ms)____Availability
192.168.y.y_______0______________0______________100
1) Did you wait 10 min for the graph to get created?
2) Is the device returning data during cacti polling?
3) Since its a new installation, sure you configured the NTFS security properly, user accounts, ec?
2) Is the device returning data during cacti polling?
3) Since its a new installation, sure you configured the NTFS security properly, user accounts, ec?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 4 guests