Fatal error when starting cacti
Moderators: Developers, Moderators
Fatal error when starting cacti
i've setup a new server using IIS instead of apache. but when i browse to http://localhost i got an error message of :
Fatal error: Call to undefined function mysql_connect() in C:\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
can anybody tell me how to overcome this problem !
THanks
Fatal error: Call to undefined function mysql_connect() in C:\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
can anybody tell me how to overcome this problem !
THanks
-
- Cacti User
- Posts: 97
- Joined: Thu Mar 24, 2005 4:59 am
- Location: Brussels, Belgium
Read my updated install guide here: http://bsod2600.home.comcast.net/install_windows.html
Sounds like you need to apply the old password setting for mysql.
Sounds like you need to apply the old password setting for mysql.
| 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, did you try the mysql password update I linked to?
Did you make sure to update the cacti/include/config.php ?
Did you make sure to update the cacti/include/config.php ?
| 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 |
Now i know !? why ! it is because of my apache is using different php.ini file. diffrent from c:\php. my windows use c:\windows\php.ini insteed.
To all cacti user using windows. if u encounter this problem. please have a look in ur windows directory c:\windows and seach for php.ini in it. If it's there just add all the line (the extension value).
TQ all for guiding me !
and now i'm having a problem with graph. no graph showing :
ERROR: opening 'C:/Apache2/htdocs/cacti/rra/ag_kk_traffic_in_11.rrd': No such file or directory
To all cacti user using windows. if u encounter this problem. please have a look in ur windows directory c:\windows and seach for php.ini in it. If it's there just add all the line (the extension value).
TQ all for guiding me !
and now i'm having a problem with graph. no graph showing :
ERROR: opening 'C:/Apache2/htdocs/cacti/rra/ag_kk_traffic_in_11.rrd': No such file or directory
1) did you wait 2 polling cycles?
2) are the rrd files being created?
3) did you read my updated windows guide and follow it?
2) are the rrd files being created?
3) did you read my updated windows guide and follow it?
| 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 |
Means cacti wasnt able to poll all your devices in under 5 minutes. Turn the logging level to debug for one cycle and look in your log for the cause.
| 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 0 guests