09-25-2009, 02:38 PM | #1 |
Member
Join Date: May 2008
Posts: 34
|
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!! |
09-25-2009, 07:41 PM | #2 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
Try to comment lines
Code:
Order deny,allow Deny from all Allow from some.ip.address.!! If this will work, you are need add to Allow from directive your server IP address. |
09-26-2009, 12:52 AM | #3 |
Member
Join Date: May 2008
Posts: 34
|
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.
|
09-26-2009, 08:01 AM | #4 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
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 ? |
09-26-2009, 04:20 PM | #5 | |
Member
Join Date: May 2008
Posts: 34
|
Here is the error log /usr/local/ispmgr/etc/ispmgr.log
Quote:
|
|
09-27-2009, 11:40 AM | #6 |
Member
Join Date: May 2008
Posts: 34
|
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' Sep 27 10:28:43 EXTINFO Execute (rm -rf /tmp/isp_plugin/) return=0 exited Sep 27 10:28:44 EXTINFO Execute (/usr/bin/wget -q --no-check-certificate -O /usr/local/ispmgr/var/ispmgr_plugins.xml http://download.ispsystem.com/plugins/ispmgr_plugins.xml) return=0 exited Sep 27 10:28:44 ../../src/plugins.cpp:40 TRACE Plugin info wwwdomaintofilemgr 1.0 loaded, author: John Lepikhin / ISPsystem, john@ispsystem.com Sep 27 10:28:44 ../../src/plugins.cpp:40 TRACE Plugin info wwwdomainmasscreate 1.0 loaded, author: John Lepikhin / ISPsystem, john@ispsystem.com Sep 27 10:28:44 ../../src/plugins.cpp:40 TRACE Plugin info masspasschange 1.0 loaded, author: John Lepikhin / ISPsystem, john@ispsystem.com Sep 27 10:28:44 ../../src/plugins.cpp:40 TRACE Plugin info apachestatus 1.0 loaded, author: John Lepikhin / ISPsystem, john@ispsystem.com Sep 27 10:28:44 ../../src/plugins.cpp:40 TRACE Plugin info mysqldumpupload 1.0 loaded, author: John Lepikhin / ISPsystem, john@ispsystem.com Sep 27 10:28:44 EXTINFO Execute (/usr/bin/wget -q --no-check-certificate -O - http://download.ispsystem.com/plugins/plugins/apachestatus.tar.gz| tar -z -x -f - -C /tmp/isp_plugin/) return=0 exited Sep 27 10:28:44 EXTINFO Execute (cd /tmp/isp_plugin/ && find . -type f|cut -c 3- > /usr/local/ispmgr/var/.plugin_listings/apachestatus.lst) return=0 exited Sep 27 10:28:44 EXTINFO Execute (cp -R /tmp/isp_plugin/* /usr/local/ispmgr/) return=0 exited Sep 27 10:28:44 EXTINFO Execute (rm -rf /tmp/isp_plugin/) return=0 exited Sep 27 10:28:44 EXTINFO Execute (rm -rf var/.xmlcache/) return=0 exited Sep 27 10:28:44 WARNING accept error |
09-28-2009, 09:57 AM | #9 | |
Member
Join Date: May 2008
Posts: 34
|
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. BEGIN failed--compilation aborted at /usr/local/ispmgr/addon/apachestatus line 5. Quote:
|
|
|
|