cisco WS-C2960G-48TC-L Telnet failed to close...

Unimus support forum
Post Reply
jarred.thornton
Posts: 2
Joined: Wed Oct 24, 2018 11:43 pm

Wed Oct 24, 2018 11:52 pm

Hi,

I am looking at purchasing Unimus to backup our devices but I am having troubles with all my cisco switches while testing. I have tested all our other devices and they add just fine. The device is a Cisco WS-C2960G-48TC-L that I am working on currently but tried a 3500 series also with the same result.I have verified the password and enable password, removed ACL even though the machine is in it, made sure telnet is enabled on Unimus. Below is the log output when it tried to discover. Any help would be nice otherwise there is not much point for me buying the program.

Thanks
Jarred

2018-10-24 16:40:54.656 ERROR 4628 --- [discovery-2] n.u.c.s.cli.telnet.TelnetConnector : Failed to close Telnet connection

java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at java.io.FilterOutputStream.close(Unknown Source)
at org.apache.commons.net.telnet.TelnetClient._closeOutputStream(TelnetClient.java:83)
at org.apache.commons.net.telnet.TelnetOutputStream.close(TelnetOutputStream.java:163)
at org.apache.commons.net.telnet.TelnetClient.disconnect(TelnetClient.java:124)
at net.unimus.core.service.cli.telnet.TelnetConnector.disconnect(TelnetConnector.java:212)
at net.unimus.core.service.discovery.CliDiscoveryServiceImpl.discover(CliDiscoveryServiceImpl.java:145)
at net.unimus.core.api.CoreImpl$DiscoveryExecutor.discover(CoreImpl.java:392)
at net.unimus.core.api.CoreImpl$DiscoveryExecutor.doRun(CoreImpl.java:349)
at net.unimus.core.api.CoreImpl$ErrorHandlingExecutor.run(CoreImpl.java:302)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Thu Oct 25, 2018 6:02 am

Hi, happy to help to make this working.

From the log, it seems the Telnet connection is getting closed from the other side before Unimus has a change to do anything with it.
Will need more info to properly debug this.

Could you please enable debug logging and device communication logging in "Zones > Default > debug mode"?
After you enable these, please run a discovery on one of the affected Ciscos.
After discovery fails, please send me the log files (PM or email).

Another option would be to do a Webex session to debug this directly.
jarred.thornton
Posts: 2
Joined: Wed Oct 24, 2018 11:43 pm

Thu Oct 25, 2018 6:39 pm

Thanks sent PM
Post Reply