US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Installation / System Requirements


Closed Thread
 
Thread Tools
Old 09-25-2009, 02:38 PM   #1
Member
 
Join Date: May 2008
Posts: 34
BeoNET is on a distinguished road
Default 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!!
BeoNET is offline  
Old 09-25-2009, 07:41 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Try to comment lines

Code:
Order deny,allow
Deny from all
Allow from some.ip.address.!!
And check again. Server status must be accessable from server localhost as http://localhost/server-status. It can be checked, for example, via wget -O - http://localhost/server-status command.

If this will work, you are need add to Allow from directive your server IP address.
slava is offline  
Old 09-26-2009, 12:52 AM   #3
Member
 
Join Date: May 2008
Posts: 34
BeoNET is on a distinguished road
Default

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.
BeoNET is offline  
Old 09-26-2009, 08:01 AM   #4
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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 ?
slava is offline  
Old 09-26-2009, 04:20 PM   #5
Member
 
Join Date: May 2008
Posts: 34
BeoNET is on a distinguished road
Default

Here is the error log /usr/local/ispmgr/etc/ispmgr.log

Quote:
Sep 26 15:12:05 INFO Request [195.252.1x.2x][root] 'func=apachestatus'
Sep 26 15:12:05 ../../src/main.cpp:425 DEBUG Begin simple action
Sep 26 15:12:05 ../../src/action.cpp:240 DEBUG Execute addon '/usr/local/ispmgr/addon/apachestatus'
Sep 26 15:12:05 ../../src/action.cpp:301 DEBUG return code 9 recived result ''
Sep 26 15:12:05 ERROR Exception 1: malformed result
BeoNET is offline  
Old 09-27-2009, 11:40 AM   #6
Member
 
Join Date: May 2008
Posts: 34
BeoNET is on a distinguished road
Default

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
BeoNET is offline  
Old 09-28-2009, 02:23 AM   #7
ISPsystem team
 
Join Date: Jan 2009
Posts: 111
GakcaT is on a distinguished road
Default

The problem is in the plugin script. We'll check it.
GakcaT is offline  
Old 09-28-2009, 05:22 AM   #8
ISPsystem team
 
Join Date: Sep 2004
Posts: 7
john is an unknown quantity at this point
Default

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?
john is offline  
Old 09-28-2009, 09:57 AM   #9
Member
 
Join Date: May 2008
Posts: 34
BeoNET is on a distinguished road
Default

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.
OS is CentOS 5.3 64bit

Quote:
Most common issue is XML::LibXML Perl extension is not installed.
I dont have installed XML::LibXML Perl extension
BeoNET is offline  
Old 09-28-2009, 10:01 AM   #10
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Quote:
Originally Posted by BeoNET View Post
OS is CentOS 5.3 64bit
I dont have installed XML::LibXML Perl extension
Try to install by
Code:
yum install perl-XML-LibXML
command
slava is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:42 AM.