Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Having trouble getting Rex (Remote Execution) module to generate output

by nysus (Parson)
on Oct 14, 2018 at 19:27 UTC ( [id://1224026]=perlquestion: print w/replies, xml ) Need Help??

nysus has asked for the wisdom of the Perl Monks concerning the following question:

Anyone out there familiar with Rex? I'm playing with it a bit but I'm having problems getting output from a particular machine. Please see my issue in the GitHub issue queue for my problem. Thanks.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Having trouble getting Rex (Remote Execution) module to generate output

Replies are listed 'Best First'.
Re: Having trouble getting Rex (Remote Execution) module to generate output
by nysus (Parson) on Oct 15, 2018 at 00:47 UTC

    So I tracked the problem down to not having SFTP installed on the client server. It's needed in the is_dir function in the Rex::Interface::OpenSSH.pm. The VirtInfo module calls is_dir to determine if a directory exists.

    Seems odd I would need SFTP to check if a directory exists. Especially odd there is absolutely no warning is given about this. Overall, the Rex project doesn't seem to be getting maintained and code feels buggy. Unfortunate.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1224026]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-26 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found