Hi all.
I have installed Cacti according to the great documents that I was able to get my hands on.
I installed:
Win2k3 SP1
Apache 2.0.55
PHP 5.1.2
MySQL 5.0.18
Cactid 0.8.6g
RRD Tool 1.2.9
and patched Cacti per the instructions via Cygwin
When I go to http://localhost/cacti
I get the dreaded:
Fatal error: Call to undefined function mysql_pconnect() in C:\apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 355
I had tried to be a good newbie and listened to the directions about the old password stuff. I have attempted to use mysqli and mysql with php -- neither seems to make a difference.
When I go into MySQL, here is the information for my users:
mysql> select host,user,password from mysql.user;
+-----------+-------+-------------------------------------------+
| host | user | password |
+-----------+-------+-------------------------------------------+
| localhost | root | *97F170E6A1AA8B3FEC55F3D9184ADC9708C35BA7 |
| localhost | cacti | 6524bd8e257546cb |
+-----------+-------+-------------------------------------------+
Does that look like the old password stuff is working right?
I'd appreciate any help you guys can provide. Please let me know if there is any additional data I can provide to give someone smarter than me the info they need.
Thanks in advance!
Yes, another Install Problem :(
Moderators: Developers, Moderators
Looks like its the old password. I ran into this problem last night on xp pro when doing a fresh install of the latest stuff (all in one installer coming soon!). Anyways, after I rebooted the computer, then I was able to login fine.
You rebooted yet?
You rebooted yet?
| 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 |
Yes, Twice...
Unfortunately, it didn't help.
Where can I look next?
Thanks for helping!
Where can I look next?
Thanks for helping!
Try reapplying the old password again:
shell> mysql --user=root --password mysql
shell> UPDATE mysql.user SET Password = OLD_PASSWORD('cactipw') WHERE Host = 'localhost' AND User = 'cactiuser';
mysql> FLUSH PRIVILEGES;
shell> mysql --user=root --password mysql
shell> UPDATE mysql.user SET Password = OLD_PASSWORD('cactipw') WHERE Host = 'localhost' AND User = 'cactiuser';
mysql> FLUSH PRIVILEGES;
| 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 |
I am lucky after a restart, but...
Seems same version as you application. I installed it yesterday. After the reboot, I can login and do some work.
Do you have a problem when you import from cacti.sql? In 1857, have a error, I skip it by change the availability value from 100.00000 to 99.99999.
I have other problems too, got this message by run c:/cacti/cactid.exe:
Do you have a problem when you import from cacti.sql? In 1857, have a error, I skip it by change the availability value from 100.00000 to 99.99999.
I have other problems too, got this message by run c:/cacti/cactid.exe:
Also i can not create graph for device, , reading document then.CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
No log handling enabled - turning on stderr logging
NOTIFICATION-LOG-MIB: Module not found
NET-SNMP-AGENT-MIB: Module not found
CACTID: ERROR: Problem with MySQL: 'Out of range value adjusted for column 'availability' at row 1'
CACTID: ERROR: Problem with MySQL: 'Out of range value adjusted for column 'availability' at row 1'
To avoid any errors when importing cacti.sql you must:
1) patch cacti first!
2) do NOT have sql-mode strict enabled in my.ini
To get rid of those NET-SNMP-AGENT-MIB messages, copy all NET-SNMP-*.mib files from the net-snmp mib directory to the php one.
1) patch cacti first!
2) do NOT have sql-mode strict enabled in my.ini
To get rid of those NET-SNMP-AGENT-MIB messages, copy all NET-SNMP-*.mib files from the net-snmp mib directory to the php one.
| 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 2 guests