Saturday, 3 October 2009

Unable to understand response from admin bin: apache sent

I was getting below error when logging to cpanel of the domain:

Unable to understand response from admin bin: apache sent: LISTSUBDOMAINS 0 received:[]: Illegal seek at /usr/local/cpanel/Cpanel/AdminBin.pm line 161. Cpanel::AdminBin::adminfetch('apache', '/usr/local/apache/conf/httpd.conf', 'LISTSUBDOMAINS', 'storable', 0) called at /usr/local/cpanel/Cpanel/DomainLookup.pm line 36 Cpanel:omainLookup::listsubdomains() called at /usr/local/cpanel/Cpanel/Park.pm line 23 Cpanel::Park::Park_cplistaddons() called at (eval 28) line 1 eval 'Cpanel::Park::Park_cplistaddons(@{$argref});' called at cpanel.pl line 1644 main::exectag('') called at cpanel.pl line 4737 main::dotag(undef) called at cpanel.pl line 4620 main::cpanel_parseblock('SCALAR(0x1e9fb10)') called at cpanel.pl line 4572 main::cpanel_parse('GLOB(0x15ad13b0)') called at cpanel.pl line 1312

Unable to understand response from admin bin: reseller sent: RESELLERSUSERS root received:[]: Illegal seek at /usr/local/cpanel/Cpanel/AdminBin.pm line 161. Cpanel::AdminBin::adminfetch('reseller', 'ARRAY(0x10c7ba10)', 'RESELLERSUSERS', 'storable', 'root')
called at /usr/local/cpanel/Cpanel/Resellers.pm line 36 Cpanel::Resellers::Resellers_accountlistopt() called at (eval 31) line 1 eval 'Cpanel::Resellers::Resellers_accountlistopt(@{$ar gref});' called at cpanel.pl line 1644
main::exectag('') called at cpanel.pl line 4737
main::dotag(undef) called at cpanel.pl line 4620
main::cpanel_parseblock('SCALAR(0x1e9fb10)') called at cpanel.pl line 4572
main::cpanel_parse('GLOB(0x105a63b0)') called at cpanel.pl line 1312

Possible Solutions:

1. Check if the domain's user entry in the /etc/shadow
2. Touch /var/cpanel/skipparentcheck
(creating /var/cpanel/skipparentcheck causes cPanel to operate properly with the links)
3. Make sure that your Perl module is 5.8.8
4. Login to WHM and click on 'Manage wheel group' and make sure root is in wheel group. If not, do the

following:
- edit /etc/group
- find 'wheel:x' if it exits that means everything should be fine.
- if it does not then add line 'wheel:x:10:root' (without quotes)

Your /etc/group first 10 lines would look similar to this:

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root

Thats work fines..

No comments:

Post a Comment