• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Failed to execute scout - return code is 9

M

mellomutt

Guest
Where should I go from here?

Cannot send scout to the remote host.

Failed to execute scout.
The return code is 9
The output on STDERR is
"use" not allowed in expression at - line 4, at end of line
syntax error at - line 4, near "<password>
#!/usr/bin/perl

use strict"
BEGIN not safe after errors--compilation aborted at - line 16.

and <password> is the password i gave the migration utility.
 
looks like network connection to source host is broken. Also, check that PMM is not corrupted by using 'rpm -V psa-migration-manager | grep ^..5' command.
 
migration manager uses perl scripts to determine type of remote OS (scout) and collect data (agent).

as seen from the error message there was a problem during scout script execution.

it can be found under the Plesk directory, let's take a look:

# head /usr/local/psa/PMM/scout.pl
#!/usr/bin/perl

use strict;

# checkXXX function synopsis:
#
# ($agent, $name) = checkXXX();
#
# Here $agent contains name of agent, ie "PleskX"
# $name contains name of the panel, ie "Plesk 7.1.5"
...


as you can see it tries to declare "use strict;' pragma and eventually fails with ""use" not allowed"


So - I recommend to check perl on source host, probably you need to find out why "use" is restricted.

The easiest way to do it - is to upload scout.pl file to the source host and try to execute it, no parameters needed, if it's OK then you'll get the output like this:

# /usr/local/psa/PMM/scout.pl
<?xml version="1.0"?><scout-result><detected-panel agent="PleskX" name="Plesk 8.1.1 RedHat el4 81070716.12"/><os-info os="Linux" loadavg="0.12 0.10 0.09"/><remote-fs><fs mountpoint="/" device="/dev/mapper/VolGroup00-LogVol00" mode="rw" size="15291875328" free="12255825920" type="ext3"/><fs mountpoint="/boot" device="/dev/sda1" mode="rw" size="103512064" free="88702976" type="ext3"/></remote-fs></scout-result>

It should fail with the same error and from then you will only need to find out why it happens.
 
Back
Top