• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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