Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 52
- Joined: Sun Sep 18, 2005 3:38 pm
For info. When installing not to C: Drive ( i installed on E: ). The mysql.ini would need to be updated with the new basedir="e:/mysql/" and datadir="e:/mysql/data/"
also
As the IIS wwwroot was on the C: drive. I had to move the e:\inetpub\wwwroot\cacti into c:\inetpub\wwwroot\cacti. Not sure if there is an enviroment variable for the webroot or you could ask where is the web root folder during the install?
also
The php.ini would also need to be updated extension_dir = "e:\php\ext"
you may be able to set an enviroment varible ie PHPROOT="E:PHP" then use %PHPROOT% in the ini files?
Thanks
also
As the IIS wwwroot was on the C: drive. I had to move the e:\inetpub\wwwroot\cacti into c:\inetpub\wwwroot\cacti. Not sure if there is an enviroment variable for the webroot or you could ask where is the web root folder during the install?
also
The php.ini would also need to be updated extension_dir = "e:\php\ext"
you may be able to set an enviroment varible ie PHPROOT="E:PHP" then use %PHPROOT% in the ini files?
Thanks
Ah, you're very right about all of those. I'll work on that this weekend and hopefully release an update Monday.
| 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 |
Beat Install issues... help!!
I have installed the beta exe, and followed the follow-up directions and I am unable to get this Cacti up and running. I think it is close as I had to tweak a few settings eg the MY SQL service path, Add the MIBDIRS variable and C:\CACTI\cygwin\bin to the path. Any how I can get logged in my sql now. When I try to access the CACTI site I now get the following error:
Cannot connect to the configuration database. For tips on troubleshooting this error, search for article 823287 in the Microsoft Knowledge Base at http://support.microsoft.com.
I check this article...and from what I can tell I am setup properly. In addition I recieve the following error when the batch job runs:
"Warning: mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\CACTI\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.
inc.php on line 355"
I am not sure if this grabs the password from the cactid.conf.dist file, but I tired changing that password and that was no go.
Please help... I would like to get this up an running.
Cannot connect to the configuration database. For tips on troubleshooting this error, search for article 823287 in the Microsoft Knowledge Base at http://support.microsoft.com.
I check this article...and from what I can tell I am setup properly. In addition I recieve the following error when the batch job runs:
"Warning: mysql_pconnect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\CACTI\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.
inc.php on line 355"
I am not sure if this grabs the password from the cactid.conf.dist file, but I tired changing that password and that was no go.
Please help... I would like to get this up an running.
1) As you can see from where the installer put everything, it's highly recommended to use C:\ as the root location the installer asks for.
2) As for why the mibsdir or cygwin wasn't added to the system variables, I'm not sure. In testing, it has done this all the time. The installer code for adding the system paths is no different than the other sections, which apparently got added fine.
3) Did you previously have mysql installed? What was the mysql path before you 'tweaked it'?
4) Your getting that denied error because MySQL won't allow the cacti user account to connect. Cacti uses /cacti/include/config.php to specify the username for connecting using PHP. cactid.conf is only used by cactid for connecting to the cacti mysql database.
5) Did you restart the server before trying to get cacti working?
2) As for why the mibsdir or cygwin wasn't added to the system variables, I'm not sure. In testing, it has done this all the time. The installer code for adding the system paths is no different than the other sections, which apparently got added fine.
3) Did you previously have mysql installed? What was the mysql path before you 'tweaked it'?
4) Your getting that denied error because MySQL won't allow the cacti user account to connect. Cacti uses /cacti/include/config.php to specify the username for connecting using PHP. cactid.conf is only used by cactid for connecting to the cacti mysql database.
5) Did you restart the server before trying to get cacti working?
| 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 was not sure as to where the install would go if I did not specify where to install the filese, so during the install I installed everything to c:\cacti. I would also recommend that if things should be installed on the root c:\ you should have a splash screen stating such, or have it grayed out with a CHANGE button just incase you want to change the install path.
MYSQL services would not start up, so I had to modify the path of the serivces, before MY SQL would start. MY SQL was never installed on this box, but MS SQL 2005 is running on this box as well.
The server has been rebooted on several occassions after the Cacti install.
MYSQL services would not start up, so I had to modify the path of the serivces, before MY SQL would start. MY SQL was never installed on this box, but MS SQL 2005 is running on this box as well.
The server has been rebooted on several occassions after the Cacti install.
There is a problem with the 1.2 installer and different paths than C:\ still. It doesn't update the paths in my.ini or php.ini. When I release the 1.3 installer this week, it will address those issues, among other problems I've noticed.
| 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, that would be a good idea if you're not going to install it on C:\. Otherwise, you could always follow the installation guide in my signature and install cacti that way.
I've got to figure one more thing out with the NSIS installer (trying to dynamically show a install confirmation page with all the various paths stuff will go in) and then I'll release the 1.3 version.
I've got to figure one more thing out with the NSIS installer (trying to dynamically show a install confirmation page with all the various paths stuff will go in) and then I'll release the 1.3 version.
| 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 |
-
- Cacti User
- Posts: 52
- Joined: Sun Sep 18, 2005 3:38 pm
I have moved the wwwroot from c: to e: due to space running out on C with the RRA's.
I have updated the IIS Admin default site root to now use e:\inetpub\wwwroot
But now my graph drawing seems to have gone to pot.
If i select Preview View ( only 8 graphs )
The main page displays but no graphs just empty spaces where they should be? If i hit the browser stop button i two or three graphs show up.
In Graph management, if i select debug mode. Nothing happens untill i hit stop again then all i see is RRDTOOL commands no results?
Thanks
I have updated the IIS Admin default site root to now use e:\inetpub\wwwroot
But now my graph drawing seems to have gone to pot.
If i select Preview View ( only 8 graphs )
The main page displays but no graphs just empty spaces where they should be? If i hit the browser stop button i two or three graphs show up.
In Graph management, if i select debug mode. Nothing happens untill i hit stop again then all i see is RRDTOOL commands no results?
Thanks
Dwayne_Dibbley: The graphs are not working because there is a bug in the 1.2 installer. Basically it does not properly update the paths in my.ini, php.ini and the mysql database. You can manually do this until I release the 1.3 installer, which fixes the path problem.
| 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 |
Successful Install and tweaks
Hello-
Thanks for all of the great posts thus far. I used the Beta3 Windows Installer on XP (new install) and wanted to post the non-default things I had to do to make it work:
1) From command prompt, type:
CACLS %COMSPEC% /E /G %COMPUTERNAME%\IUSR_%COMPUTERNAME%:R
Note: Replace the %COMPUTERNAME% variable with the actual computer name.
2) Once logged into cacti, change the RRD Font Path (I did not have the font referenced by the installer). Try:
C:\WINDOWS\FONTS\ARIAL.TTF
3) To access Cacti Web Service from another system, permit tcp/80 connections in Windows Firewall:
Create an exception in Windows Firewall for tcp/80. Call it something like "web server".
I can now create and view graphs within Cacti. I hope this helps!
Thanks for all of the great posts thus far. I used the Beta3 Windows Installer on XP (new install) and wanted to post the non-default things I had to do to make it work:
1) From command prompt, type:
CACLS %COMSPEC% /E /G %COMPUTERNAME%\IUSR_%COMPUTERNAME%:R
Note: Replace the %COMPUTERNAME% variable with the actual computer name.
2) Once logged into cacti, change the RRD Font Path (I did not have the font referenced by the installer). Try:
C:\WINDOWS\FONTS\ARIAL.TTF
3) To access Cacti Web Service from another system, permit tcp/80 connections in Windows Firewall:
Create an exception in Windows Firewall for tcp/80. Call it something like "web server".
I can now create and view graphs within Cacti. I hope this helps!
-
- Posts: 3
- Joined: Sun Oct 01, 2006 11:02 pm
srikrishnak: did you use the installer? What OS? Did you restart the server yet? Did you wait 15 minutes?
| 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