Awstats no longer working

Hi, I have an issue with Awstats no longer working on one of my domains. It was working perfectly, then I added the plugin ' whois' (after ensuring net::xwhois was loaded) - but after saving and restarting webserver i now get:

Error: Plugin load for plugin 'hostinfo' failed with return code: Error: Can't locate Net/ in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /usr/share/awstats/lib /usr/share/view.cgi? /usr/share/awstats/wwwroot/cgi-bin/plugins) at (eval 2) line 1.

Setup ('/etc/awstats/' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).

I have removed awstats from that domain via edit virtual server - re-enabled it - no good I have manually deleted the config file from /etc/awstats - no good

All else is working ok - please advise what I need to alter to get awstats working again on this domain. thank you.

Closed (fixed)


If you SSH into the system and run :

perl -e 'use Net::XWhois'

what does it output?

Ok, that means that Net::XWhois is actually installed just fine.

What is the output from :

find /usr -iname

[root@hosting steve]# find /usr -iname /usr/lib/perl5/site_perl/5.8.8/Net/

That's really odd, as the the Perl error above says it is looking in that directory..

Are you still getting the same error? If you want, you could manually disable the plugin by editing the /etc/awstats/ file ..

thanks Jamie, as mentioned in the opening remarks, I have deleted and recreated the awstats for this domain - there is NO plug-in enabled in the config file at all - I have just manually checked the file itself and all of them are still commented out - yet it is not working? Can the settings be somehow cached?

sorry Jamie - I spoke too soon - this morning it it now working? Why would this happen 'overnight' is there a script or something that runs which would clear this?

I'm not sure .. but I can't see why it wouldn't have worked in the first place, as that missing Perl module is clearly installed.

thanks Jamie. I am a little reluctant to add the plug in again in case it stuffs up - so will leave it at that for now! Please consider this issue closed. thanks

Ok, that sounds like the best choice..

Automatically closed -- issue fixed for 2 weeks with no activity.