[Ssh-sftp-perl-users] Net::SSH::Perl --Unequal Access
Brought to you by:
dbrobins
|
From: Pierce, S. <Sea...@ar...> - 2011-11-02 23:15:14
|
Odd one here.
For a shared Perl tool some users can execute while others cannot. The error is in finding Net_SSH_PERL modules. Users have the same environment, permissions perl version and modules. This system is unusual in that users share SSH keys to provide uniform access to a large range of test systems.
Here's the error:
Key class 'Net::SSH::Perl::Key::RSA' is unsupported: Base class package "Class::Loader" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /export/builds/saa_sqa/tools/scaler/../../lib /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 .).
at /opt/csw/share/perl/site_perl/Crypt/RSA.pm line 16
BEGIN failed--compilation aborted at /opt/csw/share/perl/site_perl/Crypt/RSA.pm line 16.
Compilation failed in require at /opt/csw/share/perl/site_perl/Net/SSH/Perl/Key/RSA.pm line 14.
BEGIN failed--compilation aborted at /opt/csw/share/perl/site_perl/Net/SSH/Perl/Key/RSA.pm line 14.
Compilation failed in require at (eval 164) line 1.
BEGIN failed--compilation aborted at (eval 164) line 1.
So, there is unequal access to the modules on our infrastructure system. Modules are found and loaded for some users but not others.?!?
I found reference to a similar problem here: http://stackoverflow.com/questions/443493/what-can-make-classloader-fail-where-use-and-new-do-not. I lack the skills to immediately digest the information and don't have a test system available to debug without affecting users.
I'm not sure where to begin to debug this one. Any ideas would be gratefully accepted.
Thanks
-Sean
|