Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]

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

Moderators: Developers, Moderators

Post Reply
Dwayne_Dibbley
Cacti User
Posts: 52
Joined: Sun Sep 18, 2005 3:38 pm

Post by Dwayne_Dibbley »

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

Post by BSOD2600 »

Ah, you're very right about all of those. I'll work on that this weekend and hopefully release an update Monday.
nschultz
Posts: 9
Joined: Wed Mar 29, 2006 11:52 am

Beat Install issues... help!!

Post by nschultz »

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

Post by BSOD2600 »

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?
nschultz
Posts: 9
Joined: Wed Mar 29, 2006 11:52 am

Post by nschultz »

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.
nschultz
Posts: 9
Joined: Wed Mar 29, 2006 11:52 am

Post by nschultz »

One last note the install is on a W2K3 Standard. With all the lastest and greatest service packs.

Sharepoint Portal+Micrsoft Visual Studio Team Foundation Server are installed which runs on MS SQL 2005 (all 3 are installed locally on the server with CACTI)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
nschultz
Posts: 9
Joined: Wed Mar 29, 2006 11:52 am

Post by nschultz »

So should I uninstall this beta installer, and re-install your new release?
nschultz
Posts: 9
Joined: Wed Mar 29, 2006 11:52 am

Post by nschultz »

The other thing I had to update were some of the INI from the MY sql directory... I think I got them all since My SQL is up and running, and I can log in.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
Dwayne_Dibbley
Cacti User
Posts: 52
Joined: Sun Sep 18, 2005 3:38 pm

Post by Dwayne_Dibbley »

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

Post by BSOD2600 »

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.
louie
Posts: 1
Joined: Mon Sep 25, 2006 1:59 pm
Location: Dublin, OH

Successful Install and tweaks

Post by louie »

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!
srikrishnak
Posts: 3
Joined: Sun Oct 01, 2006 11:02 pm

Post by srikrishnak »

Hi,
The problem is no graphs in Cacti. The debug mode gives me an error
RRDTool Says:

ERROR: opening 'c:/Inetpub/wwwroot/cacti/rra/XXXX0.rrd': No such file or directory.

I checked the file permissions, SNMP settings, & my.ini settings and I dont see any problem there.

Any help ?
Thx
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

srikrishnak: did you use the installer? What OS? Did you restart the server yet? Did you wait 15 minutes?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests