Windows Users Having "cactid" Issues
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Windows Users Having "cactid" Issues
All,
For users having difficulties with the current version of Cactid, I am providing a "preJ" version. It is functional and only works with version 1.5.24-2 of the cygwin1.dll. You also need to install crypto-0.9.8 module when you install Cygwin.
TheWitness
For users having difficulties with the current version of Cactid, I am providing a "preJ" version. It is functional and only works with version 1.5.24-2 of the cygwin1.dll. You also need to install crypto-0.9.8 module when you install Cygwin.
TheWitness
- Attachments
-
- cactid-086preJ-cygwin-1.5.24-2.zip
- (514.16 KiB) Downloaded 2641 times
Last edited by TheWitness on Wed Sep 19, 2007 6:40 am, edited 1 time in total.
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?
cactid issues on Windows!
I have struggled for over 6 month now getting cactid.exe working on Windows IIS.
Now I have found a workaround:
1st: installed the following DLL's from CygWin in the cactid directory:
cygart_lgpl_2-2.dll
cygcrypto-0.9.8.dll
cygfreetype-6.dll
cygiconv-2.dll
cygintl-3.dll
cygintl-8.dll
cygncurses-8.dll
cygpng12.dll
cygreadline6.dll
cygwin1.dll
cygz.dll
sh.exe
2nd: Make sure you replace localhost in the cactid.conf with 127.0.0.1
3rd: install a \bin directory in the root for the drive with in order to make cacti scripts working:
cygart_lgpl_2-2.dll
cygcrypto-0.9.8.dll
cygfreetype-6.dll
cygiconv-2.dll
cygintl-3.dll
cygintl-8.dll
cygncurses-8.dll
cygpng12.dll
cygreadline6.dll
cygwin1.dll
cygz.dll
sh.exe
It is working stable since a couple of days. There is one thing which I have seen: CACTID require it's own "environment" not due to CACTID but due to CygWin. There might be some registry entries pointing to different directories but I have removed ALL cygwin references (and uninstalled it .
My current config:
Now I have found a workaround:
1st: installed the following DLL's from CygWin in the cactid directory:
cygart_lgpl_2-2.dll
cygcrypto-0.9.8.dll
cygfreetype-6.dll
cygiconv-2.dll
cygintl-3.dll
cygintl-8.dll
cygncurses-8.dll
cygpng12.dll
cygreadline6.dll
cygwin1.dll
cygz.dll
sh.exe
2nd: Make sure you replace localhost in the cactid.conf with 127.0.0.1
3rd: install a \bin directory in the root for the drive with in order to make cacti scripts working:
cygart_lgpl_2-2.dll
cygcrypto-0.9.8.dll
cygfreetype-6.dll
cygiconv-2.dll
cygintl-3.dll
cygintl-8.dll
cygncurses-8.dll
cygpng12.dll
cygreadline6.dll
cygwin1.dll
cygz.dll
sh.exe
It is working stable since a couple of days. There is one thing which I have seen: CACTID require it's own "environment" not due to CACTID but due to CygWin. There might be some registry entries pointing to different directories but I have removed ALL cygwin references (and uninstalled it .
My current config:
Cacti Version - 0.8.6j
Plugin Architecture - 1.1
Poller Type - Cactid v0.8.6i
Server Info - Windows NT 5.0
Web Server - Microsoft-IIS/5.0
PHP - 5.1.6
PHP Extensions - bcmath, calendar, com_dotnet, ctype, date, ftp, hash, iconv, odbc, pcre, Reflection, session, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, mbstring, gd, ldap, mysql, snmp, sockets
MySQL - 5.0.37-community-nt
RRDTool - 1.2.15
SNMP - 5.4
Plugins
- Create Aggregate Graphs (aggregate - v0.62)
PHP Network Managing (manage - v0.4)
Thresholds (thold - v0.3.2)
Network Tools (tools - v0.2)
Update Checker (update - v0.3)
Network Discovery (discovery - v0.7)
Simple Links page (links - v0.3)
Poller Performance Report (pollperf - v0.1)
Host Info (hostinfo - v0.1)
rrdclean (RRD Cleaner - v1.2 (Hack Gilles Boulon))
ipsubnet - v0.4b
Amendments to CACTID
Please do not forget to set the time zone correctly in PHP.INI (only if you run PHP >5.0). Otherwise the graphs will show differences from the server time zone.
I guess default is BST not GMT/UTC;-)
I still have some dead mySQL users which I delete by a PHP script every day as well as "hanging" cactid processes.
Still works...
I guess default is BST not GMT/UTC;-)
I still have some dead mySQL users which I delete by a PHP script every day as well as "hanging" cactid processes.
Still works...
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
It is my understanding that you should have 1, and only 1 copy of the cygwin1.dll on your system. Out of curiousity, what kind of problems were you having with cactid? I am having a problem where i get MAJOR spikes in my graph when i run it.
app
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
cactid issues on Windows!
Yes, you are correct (at least you have to ensure you use the same version for all CygWin based application).
Were do you put the copy of dll's (in the SYSTEM32 directory)?
My problem was that CACTD was not running at all. It was freezing and I only could close the DOS window and sometimes I had to reload the server.
I do not have spikes in my graphs and may you need to compare the results of the SNMP queries between CACTID and CMD.PHP using the "data query" plugin. I have implemented cacti twice on a single system on different ports, one with CACTID and the 2nd with cmd.php. Both showing same values. Also you may also check CDEF and Presets to ensure functionality.
Were do you put the copy of dll's (in the SYSTEM32 directory)?
My problem was that CACTD was not running at all. It was freezing and I only could close the DOS window and sometimes I had to reload the server.
I do not have spikes in my graphs and may you need to compare the results of the SNMP queries between CACTID and CMD.PHP using the "data query" plugin. I have implemented cacti twice on a single system on different ports, one with CACTID and the 2nd with cmd.php. Both showing same values. Also you may also check CDEF and Presets to ensure functionality.
cactid issues on Windows!
I have seen that you use PHP Version 5.20. I had issues with it and according the threads in the forum, a downgrade to 5.16 fixed the problems.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
TheHack,
Have you tried PHP 5.2.2 yet? In any event, if you are running Cactid you should only need a few DLL's. The list from above is too many. Also, you should not need to have them all over the place, but only in the cygwin\bin directory.
Maybe the user did not have cygwin\bin in their PATH. I have been busy on other things and cactid works fine for me, so I have not been making any changes lately.
TheWitness
Have you tried PHP 5.2.2 yet? In any event, if you are running Cactid you should only need a few DLL's. The list from above is too many. Also, you should not need to have them all over the place, but only in the cygwin\bin directory.
Maybe the user did not have cygwin\bin in their PATH. I have been busy on other things and cactid works fine for me, so I have not been making any changes lately.
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?
cactid issues on Windows!
I have removed ALL cywin DLL files and just kept one copy in \cywin\bin. Also I have added the directory to the path (global).
The result is that any external script stopped working. All SNMP queries are working.
I reinstalled the sh.exe in the \bin directory and the perl scripts are working again. Don't know why but seems to be required.
Regarding PHP 5.22: I will try and post results!
The result is that any external script stopped working. All SNMP queries are working.
I reinstalled the sh.exe in the \bin directory and the perl scripts are working again. Don't know why but seems to be required.
Regarding PHP 5.22: I will try and post results!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, it's a waffle thing. Sh.exe is required. There was a reason for re-implementing it. It's a long story.
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?
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Cacti Jack, i've had the same problem(on 2 windows cacti servers), but with this cactid the problems disappeared : http://forums.cacti.net/viewtopic.php?p=105374#105374
Last edited by YoMarK on Wed Sep 19, 2007 8:40 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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?
Who is online
Users browsing this forum: No registered users and 1 guest