[pm_nettelnet 0005211]: Can't locate Net/Telnet/Cisco.pm

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Wed Oct 15 16:40:14 CEST 2014


The following issue has been SUBMITTED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5211 
====================================================================== 
Reported By:                keziacp
Assigned To:                
====================================================================== 
Project:                    pm_nettelnet
Issue ID:                   5211
Category:                   regular use
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-15 16:40 CEST
Last Modified:              2014-10-15 16:40 CEST
====================================================================== 
Summary:                    Can't locate Net/Telnet/Cisco.pm
Description: 
Hi Iam trying to execute login of pm_nettelnet, but it is not working. It
should work! I already installed the right packege.

# pkgutils -i CSWpmnettelnet
Installation of <CSWpmnettelnet> was successful.

# ./acs_ecs01 -H 10.243.177.151 -U operator -P Customer -S HDHBOE
Can't call method "login" on an undefined value at ./acs_ecs01 line 49.

(On Line 49:)
use Net::Telnet;
...
(48) $telnet = new Net::Telnet (Host=> "$Host", Prompt=>'/%/', 
Timeout=>30, Errmode=>'return');
(49) $telnet->login($User, $Pwss) or die $telnet->errmsg();
...
======================================================================



More information about the bug-notifications mailing list