Server is installed in a using Ubuntu server 8041 in a VMWare session. Client application is installed on Windows. ZipTie code rev in both cases is 200804c downloaded this week. perlcheck shows all modules are installed.
The client connects fine and appears to be behaving normally. The server piece can connect to and backup my IOS and CatOS devices without a problem but is failing on every single JUNOS device I have. Looking through the logs the errors I'm seeing are similar to the errors in bug id 411.
Looking at the command history on the routers I can see the last command executed is either "show configuration firewall | display xml" or "show ospf interface detail | display xml". When I attempt to backup now they all get stopped in the firewall section.
The error details from the node when it stops in the firewall section shows this:
com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[13,1]
Message: XML document structures must start and end within the same entity.
When it made it up to the ospf section it had this error intsead:
java.lang.Exception:
no element found at line 1, column 0, byte -1 at /usr/lib/perl5/XML/Parser.pm line 187
at /usr/share/ziptie-server/adapters/ziptie.adapters.juniper.junos_2008.4.2.v200806231944/scripts/ZipTie/Adapters/Juniper/JUNOS/Parsers.pm line 491
I have debug output for the adapter as well as for the server that I can attach.
Any ideas? Do I need to go ahead and open a bug so I can attach the debug logs?
Thanks!
cmyers, yes please open a
cmyers, yes please open a bug. Our JUNOS adapter is probably expecting an XML element in your device's response that isn't there. If you could attach your adapter log to the bug that would show the problem.
Or, if you know Perl you could try this yourself. The easiest thing to do is grab AdapterTool from www.ziptie.org/zde and try running your backups inside AdapterTool.
Let me know which way you decide to go.
Thanks,
Ryan
Ryan, my Perl-fu is weak.
Ryan, my Perl-fu is weak. I've created bug id 1106 and attached the adapter and server debug logs.
Please let me know what else I can do to assist. I'm very anxious to see what ZipTie is capable of but this is a major road block.
Thanks!
-Chad
Closing out thread
Just to bring the thread to a close, the Parsers.pm attached to bug 1106 resolved the problem.
Thanks Ryan!