my working cacti just died!!

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

Moderators: Developers, Moderators

Post Reply
samshah
Posts: 15
Joined: Sat Mar 20, 2010 9:52 am

my working cacti just died!!

Post by samshah »

Hey guys my working cacti just died and i don't know what exactly happened!?!
I am using following...

Cacti OS win32
Cacti Version 0.8.7g
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.2.x

I used all in one installer and everything was working fine until I enabled few plugins(spikekill,syslog) from plugin windows and now when ever i type in the url, it changes to https automatically! and gives following error. I was thinking about enabling ssl but i am sure i did not enabled it!

Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error.

When i do localhost/ it says "It works!" I even tried making a test.php with following code and it works..
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Need immediate help
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: my working cacti just died!!

Post by BSOD2600 »

Have you tried disabling all your plugins?
Sounds like you enabled the ssl plugin and the web server isnt configured to handle SSL -- yet.
samshah
Posts: 15
Joined: Sat Mar 20, 2010 9:52 am

Re: my working cacti just died!!

Post by samshah »

no i did not enabled it, but i tried accessing cacti with https without 1st enabling ssl and it happened!
how can i correct anything if i am unable to access console at all?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: my working cacti just died!!

Post by BSOD2600 »

Disable the plugins, by renaming the \cacti\plugin\ folder to something else.
samshah
Posts: 15
Joined: Sat Mar 20, 2010 9:52 am

Re: my working cacti just died!!

Post by samshah »

Ok, thanks for the suggestion, it worked i renamed the folder and console came back! now please suggest how do i locate which plugin did it so i can re-enable cacti with plugins those were working properly!

While i have renamed the plugin folder, if i access console and disable plugins, will it work disabling plugins like this? as when i rename the folder back again, same problem comes back and i cannot access the console.

Finally i disabled all plugins from console and when i rename the folder name back to plugins, the problem returns. need help on it! My cacti\include\config.php file has no active plugin in it from day 1st! where are those plugins being loaded from?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: my working cacti just died!!

Post by BSOD2600 »

I'm only aware of the ssl plugin which forces traffic to use SSL. Is this plugin present?

Plugins are now dynamically loaded/queried if they reside in the \cacti\plugin\ folder. Move all plugins out of this folder and validate cacti is functional. Then move one plugin folder back in at a time until cacti breaks again.
samshah
Posts: 15
Joined: Sat Mar 20, 2010 9:52 am

Re: my working cacti just died!!

Post by samshah »

Thanks BSOD2600 for all your help...

yes, ssl folder existed in plugin folder with index.php and setup.php files in it. I moved ssl folder out of it and Wallah....its working again :)

glad its back to normal again, now i will put back other plugins in use :)
samshah
Posts: 15
Joined: Sat Mar 20, 2010 9:52 am

Re: my working cacti just died!!

Post by samshah »

Hi,

Just ran into another problem, i enabled realtime plugin with default options and selected cache directory as "realtime/cache" in settings/misc to see real time graphs. It worked impressive and showed graphs to as min as 5 seconds time, which is real good!

After this, i closed the popup window and tried opening normal graphs but at 1st, the graph page opened half way and then it kept trying and finally gave up and now crosses on all graphs~! now its not even letting me rename the plugin folder and giving permission denied message saying file is in use!

I tried disabling the plugin from plugin management but to no avail! enabled it again and removed the path i selected as realtime/cache but still graphs are not working...cleared/rebuild the poller cache but nothing yet! plz help :oops:

I restarted the server and its working now! can you guide me as to what happened?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: my working cacti just died!!

Post by BSOD2600 »

You need to slow down.

Disable all plugins. Get your cacti installation functional. learn how to use cacti. THEN, enable a SINGLE plugin and learn how it works. Repeat with additional plugins.
samshah
Posts: 15
Joined: Sat Mar 20, 2010 9:52 am

Re: my working cacti just died!!

Post by samshah »

Hi,

I know cacti for some time now and i have used most of these plugins without problem in previous version of all-in-one cacti installer for windows. But i faced/ran into above mentioned problems with this new version. Its that i never ran into such problems before so i needed to get out of it and so i contacted you~!

Plus if you can spare some time, can you please look into this post as well and point me where i am having problem?
http://forums.cacti.net/viewtopic.php?f ... 5&p=206838
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest