Problems when First Launching Website
Moderators: Developers, Moderators
Problems when First Launching Website
All
i have tried on a few ocasions to get this working.Any help would be greatly appreciated.
I have installed under windows 2003 iis 6.0
i recieve the follwoing when statring the web siter
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
any idea how to fix this
Cheers
jdude
i have tried on a few ocasions to get this working.Any help would be greatly appreciated.
I have installed under windows 2003 iis 6.0
i recieve the follwoing when statring the web siter
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
any idea how to fix this
Cheers
jdude
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
PHP is missing the mysql module.
How to install it on windows, I don't know.
Anyone else have more of a clue on this than me?
How to install it on windows, I don't know.
Anyone else have more of a clue on this than me?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Cacti User
- Posts: 99
- Joined: Sat Feb 28, 2004 10:16 pm
- Location: Melbourne, Australia
- Contact:
Are all you IIS services running? Is this cacti site the only site configured under IIS? Are you 100% positive you remove PHP5 correctly? Are you running PHP in ISAPI or CGI mode with IIS? Is MySQL running?
Create a new file in your Cacti Website root, and call it phpinfo.php. Once you've done this copy the following code into it;
Create a new file in your Cacti Website root, and call it phpinfo.php. Once you've done this copy the following code into it;
Now access it through you web browser (e.g http://yourdomain.com/cacti/phpinfo.php) and let us know the details.<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Dominic Ryan
www.iis-aid.com
www.iis-aid.com
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
IIS is a science with PHP. I am a developer and guess which Web Server I use. I'll give you a clue, there are not I's in Team.
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?
Well I guess i spoke too soon. I am still having Issues
I was able to launch the web site and crerate some devices but graphs Not SHowing .They appear to be there But i cant see them Just a blank screen.
Also poller .php is generating errors. They are attached in this word document
In seeeting here are my chosen options
rrdtool patch c:/rrdtool/rrdtool.exe correct
php binary path c:/php/php.exe
cacti log file pathC:\apache2\Apache2\htdocs\cacti/log/cacti.log
cactid Poller path (~was blank but i entered c:\cactid\cactid.exe
poller type cmd.php
Any help appreciated
Joe
I was able to launch the web site and crerate some devices but graphs Not SHowing .They appear to be there But i cant see them Just a blank screen.
Also poller .php is generating errors. They are attached in this word document
In seeeting here are my chosen options
rrdtool patch c:/rrdtool/rrdtool.exe correct
php binary path c:/php/php.exe
cacti log file pathC:\apache2\Apache2\htdocs\cacti/log/cacti.log
cactid Poller path (~was blank but i entered c:\cactid\cactid.exe
poller type cmd.php
Any help appreciated
Joe
Ok i fixed this
The php.ini file did not recognise the paramaters in the mail
I uncommented the loadmodsule statements in the actual file and the errors dissapeared
Now i have another issue
I have created the graphs and Devices but when i view them all i see is a blank bos.It looks like they are there bnut cacti cant display them
Jdude
The php.ini file did not recognise the paramaters in the mail
I uncommented the loadmodsule statements in the actual file and the errors dissapeared
Now i have another issue
I have created the graphs and Devices but when i view them all i see is a blank bos.It looks like they are there bnut cacti cant display them
Jdude
Ok this is completley wrecking My head .I still cannot get graphs to show up
2 installs on 2 different servers
Output of cacti File sis as follows
Nothig In rra directoty
poller runs as a local user called poller.It has rights to everything
01/28/2005 03:17:58 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1106839077 --end=1106925477 --title="Cork2 - Traffic - 127.0.0.1 (4D:53:20:54:43:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-Jan-27 15:17:57 To 2005-Jan-28 15:17:57\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"" COMMENT:"" LINE1:cdeff#002A97:"" COMMENT:""
01/28/2005 03:17:57 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1106839075 --end=1106925475 --title="Cork2 - Traffic - 162.109.194.2 (43:6F:6D:70:61:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-Jan-27 15:17:55 To 2005-Jan-28 15:17:55\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_29.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_29.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"" COMMENT:"" LINE1:cdeff#002A97:"" COMMENT:""
01/28/2005 03:17:56 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1106839075 --end=1106925475 --title="Cork2 - Traffic - 127.0.0.1 (4D:53:20:54:43:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-Jan-27 15:17:55 To 2005-Jan-28 15:17:55\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"" COMMENT:"" LINE1:cdeff#002A97:"" COMMENT:""
2 installs on 2 different servers
Output of cacti File sis as follows
Nothig In rra directoty
poller runs as a local user called poller.It has rights to everything
01/28/2005 03:17:58 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1106839077 --end=1106925477 --title="Cork2 - Traffic - 127.0.0.1 (4D:53:20:54:43:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-Jan-27 15:17:57 To 2005-Jan-28 15:17:57\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"" COMMENT:"" LINE1:cdeff#002A97:"" COMMENT:""
01/28/2005 03:17:57 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1106839075 --end=1106925475 --title="Cork2 - Traffic - 162.109.194.2 (43:6F:6D:70:61:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-Jan-27 15:17:55 To 2005-Jan-28 15:17:55\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_29.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_29.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"" COMMENT:"" LINE1:cdeff#002A97:"" COMMENT:""
01/28/2005 03:17:56 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1106839075 --end=1106925475 --title="Cork2 - Traffic - 127.0.0.1 (4D:53:20:54:43:)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-Jan-27 15:17:55 To 2005-Jan-28 15:17:55\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/cork2_traffic_in_28.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"" COMMENT:"" LINE1:cdeff#002A97:"" COMMENT:""
Who is online
Users browsing this forum: No registered users and 2 guests