server-status plugin problem
Hi,
I'm trying to install apache server-status plugin from Control panel and when installation is complete on screen apears "Account disabled by server administrator" and when i click again to plugins the serverstatus plugin seems to be installed. On navigation panel on left there is Apache status button and when i click on it the popup window apears with error message "Internal error malformed result". I configure mod_status in httpd.conf like this: <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from some.ip.address.!! </Location> where is the problem?? Thanks!! |
Try to comment lines
Code:
Order deny,allow If this will work, you are need add to Allow from directive your server IP address. |
Thanks, this was helpful. Now i can see the serverstatus when i type direct link in my browser and wget command works, but still have the same problem in Control Panel - "Internal error malformed result" error apears when i go to Apache status in navigation.
|
Please add LogLevel 9 in the first line /usr/local/ispmgr/etc/ispmgr.conf and restart panel (killall ispmgr command in the ssh)
And after then check what you see in the /usr/local/ispmgr/etc/var/ispmgr.log when you click link in Control Panel ? |
Here is the error log /usr/local/ispmgr/etc/ispmgr.log
Quote:
|
Maybe this will help?
This is the log in /usr/local/ispmgr/etc/ispmgr.log after i try to install apachestatus plugin Code:
Sep 27 10:28:43 INFO Request [195.252.1x.2x][root] 'func=plugins.enable&elid=apachestatus' |
The problem is in the plugin script. We'll check it.
|
Run /usr/local/ispmgr/addon/apachestatus from command line. What output do you get? Most common issue is XML::LibXML Perl extension is not installed. What OS and distribution is installed on your server?
|
Here is the ouput of /usr/local/ispmgr/addon/apachestatus
Code:
Can't locate HTML/TreeBuilder.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /usr/local/ispmgr/lib/perl) at /usr/local/ispmgr/addon/apachestatus line 5. Quote:
|
Quote:
Code:
yum install perl-XML-LibXML |
Quote:
|
Please, post output of command: /usr/local/ispmgr/addon/serverstatus
|
/usr/local/ispmgr/addon/apachestatus
Code:
Can't locate HTML/TreeBuilder.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /usr/local/ispmgr/lib/perl) at ./apachestatus line 5. |
HTML::Tree perl module is required. There is no such package in CentOS. You may install it manually ( http://search.cpan.org/CPAN/authors/...ee-3.23.tar.gz ). May be this dependency will be removed in future.
|
I installed HTML::Tree perl module and his dependences, and now when i start ./apachestatus script got this:
Code:
Can't locate LWP/Simple.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /usr/local/ispmgr/lib/perl) at ./apachestatus line 6. |
Quote:
You need to install LWP::Simple.pm such as perl -MCPAN -e 'install LWP::Simple' or wait new version of plugin. |
I have made tests on CentOS 5.3 (clean operating system + ISPmanager). I have managed to get to work all the plugins by installing the necessary modules
Code:
yum install perl-XML-LibXML Now all extensions are working. We apologize for the inconvenience, on CentOS system plugins are not tested (read my previous post), in the next releases all modules will be installed automatically. P.S. For more verbose info in the server-status also you need uncoment ExtendedStatus On in the httpd.conf |
Having problem with LWP::Simple installation, but dont care! I will wait a new version of plugin... :)
Thanks to all for help, a lot!!! :) |
helpful
Quote:
|
All times are GMT +2. The time now is 12:33 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.