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/XWhois.pm 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?config=vintagedesigns.com.auugins /usr/share/awstats/wwwroot/cgi-bin/plugins) at (eval 2) line 1.
Setup ('/etc/awstats/awstats.vintagedesigns.com.au.conf' 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.
Comments
Submitted by JamieCameron on Fri, 10/30/2009 - 17:46 Comment #1
If you SSH into the system and run :
perl -e 'use Net::XWhois'
what does it output?
Submitted by steve@itgroup.net.au on Fri, 10/30/2009 - 18:00 Pro Licensee Comment #2
Hi Jamie, it shows nothing?
[root@hosting awstats]# perl -e 'use Net::XWhois' [root@hosting awstats]#
Submitted by JamieCameron on Fri, 10/30/2009 - 23:59 Comment #3
Ok, that means that Net::XWhois is actually installed just fine.
What is the output from :
find /usr -iname XWhois.pm
Submitted by steve@itgroup.net.au on Sat, 10/31/2009 - 00:52 Pro Licensee Comment #4
[root@hosting steve]# find /usr -iname XWhois.pm /usr/lib/perl5/site_perl/5.8.8/Net/XWhois.pm
Submitted by JamieCameron on Sat, 10/31/2009 - 15:53 Comment #5
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/awstats.domain.com.conf file ..
Submitted by steve@itgroup.net.au on Sat, 10/31/2009 - 16:37 Pro Licensee Comment #6
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?
Submitted by steve@itgroup.net.au on Sat, 10/31/2009 - 16:38 Pro Licensee Comment #7
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?
Submitted by JamieCameron on Sat, 10/31/2009 - 18:27 Comment #8
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.
Submitted by steve@itgroup.net.au on Sat, 10/31/2009 - 18:32 Pro Licensee Comment #9
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
Submitted by JamieCameron on Sat, 10/31/2009 - 19:17 Comment #10
Ok, that sounds like the best choice..
Submitted by Issues on Sat, 11/14/2009 - 18:18 Comment #11
Automatically closed -- issue fixed for 2 weeks with no activity.