[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 21:02:34 CEST 2014
The following issue requires your FEEDBACK.
======================================================================
https://www.opencsw.org/mantis/view.php?id=5211
======================================================================
Reported By: keziacp
Assigned To: dam
======================================================================
Project: pm_nettelnet
Issue ID: 5211
Category: regular use
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2014-10-15 16:40 CEST
Last Modified: 2014-10-15 21:02 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();
...
======================================================================
----------------------------------------------------------------------
(0010937) dam (administrator) - 2014-10-15 21:02
https://www.opencsw.org/mantis/view.php?id=5211#c10937
----------------------------------------------------------------------
Most certainly $Host is not reachable for telnet. Just remove
Errmote=>'return' and see why it fails.
More information about the bug-notifications
mailing list