Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]
Moderators: Developers, Moderators
cigamit is correct, this is a permission issue. Running Sysinternals.com FileMon would reveal this too with IUSR_COMPNAME getting denied.
| 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 |
Well I've found a few problems with the current installer when ran only on Windows 2000.
1) The scheduled task for cacti is not created. I relied on the schtasks.exe tool, which comes with XP/2003. Will need to revise the installer to compensate for this. For the 1.1 windows installer, you'll have to manually create it.
2) The NTFS permissions are not applied at all. After the installer copies xcacls.exe over to your Windows directory, it checks the system path to find it. For whatever reason, Windows 2000 doesn't properly find it while inside the script. I've modified it so it now looks in the Windows directory too. You can download the updated script here (right click Save As). Usage information is in the script.
3) The RRDTool Default Font path is set to c:\windows\. The default windows directory for Windows 2000 is C:\WINNT\. This will result in graphs with no text. Simply update the path.
4) The paths in Cacti's settings are defaulted to C:\. This creates a problem if you've installed it on another drive letter. I'll modify the installer to update the drive letters in the Cacti MySQL database.
I'll be updating the installer this weekend to fix these problems AND to use the latest versions of all core components.
rallen: I didn't get any messages about msvcr71.dll, so it must be something specific to you.
1) The scheduled task for cacti is not created. I relied on the schtasks.exe tool, which comes with XP/2003. Will need to revise the installer to compensate for this. For the 1.1 windows installer, you'll have to manually create it.
2) The NTFS permissions are not applied at all. After the installer copies xcacls.exe over to your Windows directory, it checks the system path to find it. For whatever reason, Windows 2000 doesn't properly find it while inside the script. I've modified it so it now looks in the Windows directory too. You can download the updated script here (right click Save As). Usage information is in the script.
3) The RRDTool Default Font path is set to c:\windows\. The default windows directory for Windows 2000 is C:\WINNT\. This will result in graphs with no text. Simply update the path.
4) The paths in Cacti's settings are defaulted to C:\. This creates a problem if you've installed it on another drive letter. I'll modify the installer to update the drive letters in the Cacti MySQL database.
I'll be updating the installer this weekend to fix these problems AND to use the latest versions of all core components.
rallen: I didn't get any messages about msvcr71.dll, so it must be something specific to you.
| 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 delete this post.. Will just say.. What hard it was to install? But if i need to do it again. What easy it is... haha! I got the pic... Dunno if it work. but i have the graf.... Installed Microsoft SNMP Agent. Read it on your install page BSOD. Dunno if something is wrong. But for the moment. It are no lines on the graphs
Hmmm delete the orginal host... And try to create a new one. But it want show the graphs so i still have some problems whit it
Can also be like this... The graphs you allredy have when i have your SQLDatabase works. But when i try to add new ones. It will not show the pic
Hmmm delete the orginal host... And try to create a new one. But it want show the graphs so i still have some problems whit it
Can also be like this... The graphs you allredy have when i have your SQLDatabase works. But when i try to add new ones. It will not show the pic
For the cpu usage, go to graph management and enable graph debugging. What error do you see? If its the .rrd file cannot be found, then it seems like you're not collecting any valid data. In that case, Turn the polling level in cacti to debug (Settings | Polling level) for one cycle, wait for Cacti to run, and paste the output of the actual log file (<webroot>/cacti/log/cacti.log). Look in the log file for when cacti tries to get data from your cpu.
| 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 |
-
- Posts: 14
- Joined: Tue Jul 25, 2006 7:30 pm
Localhost Error
I just installed everything as directed, and followed the post installation instructions. Now I keep getting this when I go to the website.
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'cactiuser'@'localhost' (using password: YES) in c:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 355
I'm wondering if I messed up on the mysql installation?
Thanks for the help.
Tim
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'cactiuser'@'localhost' (using password: YES) in c:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 355
I'm wondering if I messed up on the mysql installation?
Thanks for the help.
Tim
What OS?
Have you restarted the server?
Did you change any settings?
What firewall / antivirus ?
Have you restarted the server?
Did you change any settings?
What firewall / antivirus ?
| 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 |
-
- Posts: 14
- Joined: Tue Jul 25, 2006 7:30 pm
Why do you think you, "messed up on the mysql installation?" Did you previously have mysql installed?
| 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 |
-
- Posts: 14
- Joined: Tue Jul 25, 2006 7:30 pm
Where did you see these options? They're not part of that windows installer...
Did you previously have mysql installed?
Did you previously have mysql installed?
| 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 |
-
- Posts: 14
- Joined: Tue Jul 25, 2006 7:30 pm
During the MySQL install? huh? The installer doesn't present you with any options for authentication. It's all preconfigured for you.
Mind posting a screenshot of what you're talking about?
Mind posting a screenshot of what you're talking about?
| 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 |
-
- Posts: 14
- Joined: Tue Jul 25, 2006 7:30 pm
That dialog is NOT part of this beta windows installer. Are you manually running that? If not, when does it get invoked?
| 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 3 guests