Cannot request remote agent status using command line. Can't locate HelpFuncs.pm in @INC

Refers to:

  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:54:32 UTC

Modified:

2016-12-21 19:30:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot request remote agent status using command line. Can't locate HelpFuncs.pm in @INC

Symptoms

The following error appears when you try to start migration:

Error: launchpad error (Error code = 2):
== STDERR ====================
Cannot request remote agent status using command line /var/cache/20131022061030225/PleskX.pl: Can't locate HelpFuncs.pm in @INC (@INC contains: . /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) at Logging.pm line 10.
BEGIN failed--compilation aborted at Logging.pm line 10.
Compilation failed in require at CommonConfig.pm line 5.
BEGIN failed--compilation aborted at CommonConfig.pm line 5.
Compilation failed in require at AgentConfig.pm line 13.
BEGIN failed--compilation aborted at AgentConfig.pm line 13.
Compilation failed in require at PleskVersion.pm line 7.
Compilation failed in require at PleskX.pm line 31.
BEGIN failed--compilation aborted at PleskX.pm line 31.
Compilation failed in require at /var/cache/20131022061030225/PleskX.pl line 9.
BEGIN failed--compilation aborted at /var/cache/20131022061030225/PleskX.pl line 9.
==============================

Cause

The plesk-service-node-utilities package is corrupted.

Resolution

  1. The error above says that there is some issue with Logging.pm , so check what package does this file belong to:

    # rpm -qf /usr/local/psa/PMM/agents/shared/Logging.pm
    plesk-service-node-utilities-11.5.30-cos6.build115130819.13.x86_64
  2. Check detected in previous step package for possible corruption:

    # rpm -V plesk-service-node-utilities-11.5.30-cos6.build115130819.13.x86_64
    missing /usr/local/psa/PMM/agents/shared/HelpFuncs.pm
    S.5....T. /usr/local/psa/PMM/agents/shared/XmlNode.pm
    .....UG.. /usr/local/psa/admin/bin
    S.5....T. /usr/local/psa/admin/sbin/deployer
    S.5....T. /usr/local/psa/admin/sbin/ifmng
    S.5....T. /usr/local/psa/admin/sbin/mailbox_usage
    S.5....T. /usr/local/psa/admin/sbin/php_handlers_control
    .M....... /usr/local/psa/admin/sbin/wrapper

    Above output confirms that the package was corrupted.

  3. Download desired package from autoinstall.plesk.com .

    For CentOS 6 x86_64:

    #  wget http://autoinstall.plesk.com/PSA_11.5.30/dist-rpm-CentOS-6-x86_64/opt/agent/plesk-service-node-utilities-11.5.30-cos6.build115130819.13.x86_64.rpm

    and reinstall the package:

    # rpm -Uvh plesk-service-node-utilities-11.5.30-cos6.build115130819.13.x86_64.rpm

    The plesk-service-node package can be found in the opt/agent directory. Make sure you downlod the version corresponding to your file system.

  4. Reinstall microupdates:

    # /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
Have more questions? Submit a request
Please sign in to leave a comment.