Netopeer-GUI icon indicating copy to clipboard operation
Netopeer-GUI copied to clipboard

Could not Connect to server - additional log files to examine

Open makramalla opened this issue 7 years ago • 0 comments

Hello,

I am trying to connect to a netconf server, however I am not able to connect properly.

It seems like the tool just stops reading the modules at some point, although I am using standard modules which usually is parsed with no issue.

This is the output from the /var/log/messages file for your reference:

May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Successfully connected to <IP>:830 over IPv4.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Publickey SSH authentication method was disabled.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Password authentication (host "<IP>", user "<user>").
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Authentication successful.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Extension plugin "/usr/local/lib64/libyang/nacm.so" successfully loaded.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Extension plugin "/usr/local/lib64/libyang/metadata.so" successfully loaded.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "ietf-yang-metadata".
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Module "ietf-yang-metadata" successfully parsed.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "yang".
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving "yang" unresolved schema nodes and their constraints...
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: All "yang" schema nodes and constraints resolved.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Module "yang" successfully parsed.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "ietf-inet-types".
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving derived type "union" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving type default "" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving derived type "union" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving type default "" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving derived type "union" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving type default "" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving derived type "union" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving type default "" failed, it will be attempted later.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: All "ietf-inet-types" schema nodes and constraints resolved.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Module "ietf-inet-types" successfully parsed.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "ietf-yang-types".
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Module "ietf-yang-types" successfully parsed.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "ietf-yang-library".
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Module "ietf-yang-library" successfully parsed.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "ietf-netconf-monitoring".
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Module "ietf-netconf-monitoring" successfully parsed.
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving unresolved data nodes and their constraints...
May 19 14:07:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: All data nodes and constraints resolved.


After some time ( a minute or two) it returns the following:

May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib ERROR: Session 98: timeout for receiving reply to a <get-schema> expired.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: error calback: empty error list
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Reading module "ietf-netconf".
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: Resolving unresolved data nodes and their constraints...
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib VERBOSE: All data nodes and constraints resolved.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib ERROR: Session 98: SSH channel unexpected EOF.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: error calback: nonempty error list
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib ERROR: Session 98: failed to receive a reply to <get-schema>.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: error calback: nonempty error list
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib ERROR: Importing "ietf-netconf-acm" module into "ietf-netconf" failed.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: error calback: nonempty error list
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib ERROR: Module "ietf-netconf" parsing failed.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: error calback: nonempty error list
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: lib ERROR: Loading base NETCONF schema failed.
May 19 14:12:56 NetopeerGuiMay5 netopeerguid: error calback: nonempty error list
May 19 14:12:56 NetopeerGuiMay5 kernel: netopeerguid[14571]: segfault at 8 ip 00007fd6ae102c50 sp 00007fd6aa986cd0 error 4 in libnetconf2.so.0.8[7fd6ae0e8000+3c000]
May 19 14:12:56 NetopeerGuiMay5 systemd: netopeerguid.service: main process exited, code=killed, status=11/SEGV
May 19 14:12:56 NetopeerGuiMay5 systemd: Unit netopeerguid.service entered failed state.
May 19 14:12:56 NetopeerGuiMay5 systemd: netopeerguid.service failed.

On the GUI itself, I get the following error:

image

It is worth mentioning that I am able to connect with no issue to other netconf servers in the same network, which is why I am mainly asking whether there are any other log files other than /var/log/messages that I can examine to try to resolve this issue.

Thank you again for your continuous help.

Maged

makramalla avatar May 19 '17 18:05 makramalla