Fatal error when starting cacti

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Fatal error when starting cacti

Post by sirprotos »

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
BelgianViking
Cacti User
Posts: 97
Joined: Thu Mar 24, 2005 4:59 am
Location: Brussels, Belgium

Post by BelgianViking »

Check your IIS configuration, and certainly all ISAPI filter stuff.
[size=75][color=#EE5019]| Cacti 0.8.6g | MySQL 4.1.14 w Query Cache | Net-SNMP 5.2.1 | IIS 6 | fast-cgi | PHP 5.0.3 | RRDtool 1.2.9 | Windows 2003 Server SP1 | Cactid 0.8.6f |
| Dell 2450 - 2x P3 733 MHz, 1GB RAM |[/size][/color]
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

i've change to apache... but still got the same problem
about the IIS config, i've double check it and all is done.

PLs somebody help me with this !
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

i've read ur updated guided but i found that u state that only user with PHP4 and sql 4.1 where need to do that !

Is there any other things that needs to be done

TQ
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Yes, did you try the mysql password update I linked to?
Did you make sure to update the cacti/include/config.php ?
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

yeah.. thanks SIFUs..... right now i'm strugling to make my cactid run ..... i got this msg.....

10/25/2005 03:18:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

what is this means !?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests