Welcome, Guest. Please login or register.

Author Topic: is there a "-a" Bug?  (Read 1843 times)

isc

  • Guest
is there a "-a" Bug?
« on: March 03, 2010, 04:06:32 PM »
Code: [Select]
nedi:/opt/nedi-test # ./nedi.pl -ab switchA
OUI:    15969 NIC vendor entries read
DEV:    4 devices read from nedi_test.devices
LINK:   0 links (WHERE type = "STAT") read from nedi_test.links

Manual-Discovery (1.0.5) with 1 seed on Wed Mar  3 15:37:03 2010
================================================================================
Device                          Status                           Todo/Done-Time
--------------------------------------------------------------------------------
        Netfilter .                0/0-0s
--------------------------------------------------------------------------------
Took 0 minutes

Nothing discovered, nothing written...

nedi:/opt/nedi-test # ./nedi.pl -ba switchA
OUI:    15969 NIC vendor entries read
DEV:    4 devices read from nedi_test.devices
LINK:   0 links (WHERE type = "STAT") read from nedi_test.links

Manual-Discovery (1.0.5) with 1 seed on Wed Mar  3 15:37:10 2010
================================================================================
Device                          Status                           Todo/Done-Time
--------------------------------------------------------------------------------
21.212.77.352    switchA   v7 i33  Jvj2 p0/0 m1     a3      f2 Be     0/1-3s
--------------------------------------------------------------------------------
Took 0 minutes

Devs:   1 devices discovered
Node:   52 nodes read () from nedi_test.nodes
Node:   1 IP and 1 non-IP nodes processed
Node:   52 nodes written to nedi_test.nodes

I installed a TestSystem for NeDi. Version 1.0.5.
The strange thing is, when I set the option -a before any other option, the ip gets "netfiltered" ...

I get two diffrent results, I guess this is a little bug?
And the other problem is that it cant find a config ...?! though the telnet connection works on Device-Write ...

We encountered this because we have some problems with the config backup ... for example here we have got the feedback "Be" what means Config Empty .. we know that is wrong and we know that the telnet connection worked (like it works in Device-Write) .. still working on that problem too

another thing is that we do not have problems connecting on SSH port (after editing manually the DB), though it gives us an MySQL Error Back when it trys to save the config:

Code: [Select]
nedi:/opt/nedi-test # ./nedi.pl -b
Discovery (1.0.5) with 23 seeds on Wed Mar  3 15:54:39 2010
================================================================================
Device                          Status                           Todo/Done-Time
--------------------------------------------------------------------------------
21.5.335.353    SwitchB    v10 i54 j1      Qpm2     f36 Be   22/1-6s
21.5.335.352    SwitchC    v10 i54 j1      Qpm2     TcFp1 f35Tc      21/2-4s
21.5.336.353    SwitchD    v13 i30 j1      Qpm2     HoFp1 Fp1344 f35HsDBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'version_string" via package "Net::SSH::Perl::SSH1" at /usr/lib/perl5/site_perl/5' at line 1 at ./inc/libdb-msq.pl line 1090.
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'version_string" via package "Net::SSH::Perl::SSH1" at /usr/lib/perl5/site_perl/5' at line 1 at ./inc/libdb-msq.pl line 1090.

here again we have very strange output ...
first ... again we have "Be" on a successful working telnet connection on SwitchB!
... on Switch C we have the output "Tc" (for a good telnet connection) twice
... on switch D we have a mysql error when it comes to saving the config over ssh (ssh connection works on this device with device-write)

If installed all ssh modules I need like it is done here (http://forum.nedi.ch/index.php?topic=584.0) and now I dont know what else I can do. I think the "Father" is already working on a few things so we are really looking forward for the ssh update... We also have some possibilities to support you in some ways ... (check your PN's ;-)

greets

edit: does someone else has the same problem?
« Last Edit: March 04, 2010, 09:09:47 AM by isc »