Not able to run script on Solaris server

Sun microsystems Solzi-080b99ym sw solar...
February 26, 2010 at 01:25:35
Specs: Solaris
Hi,

I wanted to run a script which is written in linux on Solaris 10 server with perl version 5.8.4. following things I did-
1)chmod 755 ./<scriptname>
2)./<scriptname> serverip userid password

After that I got the following error message-

"Can't locate Net/Telnet.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at passgen.pl line 3.
BEGIN failed--compilation aborted at passgen.pl line 3.
cat: cannot open fixcram"

Please suggest me some workaround to come out of this issue.

Thanks & Regards
Gyan Ranjan


See More: Not able to run script on Solaris server

Report •

#1
February 26, 2010 at 17:41:58
You are missing perl's telnet module. Evidently it existed on your Linux system, but not the Solaris box. I don't have any experience with this module, but you can download it on CPAN here:

http://search.cpan.org/~jrogers/Net...


Report •
Related Solutions


Ask Question