Want more features on Pastebin? Sign Up, it's FREE!
Guest

netdisco debug

By: a guest on Nov 11th, 2011  |  syntax: None  |  size: 15.86 KB  |  views: 112  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. sudo ./netdisco -r 10.64.2.1 -D -S
  2. n e t  d i s c o
  3. --------------------------------------------------
  4. Using Config File : /usr/local/netdisco/netdisco.conf
  5. Network discovery starting from root 10.64.2.1 at Fri Nov 11 13:30:48 2011
  6. load_old_devices()
  7. [20619] SELECT ip,layers FROM device at ./netdisco line 942
  8. [20619] SELECT alias,ip FROM device_ip WHERE (ip  != alias) at ./netdisco line 943
  9. Loading topology information from /usr/local/netdisco/netdisco-topology.txt
  10. 0 entries loaded
  11. [10.64.2.1] Discover starting
  12.   get_device(10.64.2.1)
  13.   create_device(10.64.2.1,0,2,AutoSpecify,bw:default)
  14. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/allied
  15. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/arista
  16. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/aruba
  17. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/asante
  18. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/cabletron
  19. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/cisco
  20. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/cyclades
  21. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/dell
  22. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/enterasys
  23. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/extreme
  24. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/foundry
  25. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/hp
  26. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/juniper
  27. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/netscreen
  28. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/nortel
  29. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/rfc
  30. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/net-snmp
  31. SNMP::Info::_global layers : sysServices.0
  32. SNMP::Info::_global description : sysDescr.0
  33. SNMP::Info::_global id : sysObjectID.0
  34. SNMP::Info 2.05 ($Id$)
  35. SNMP::Info::device_type() layers:01001110 id:9 sysDescr:"Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-VM), Version 12.2(33)SXI4a, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Fri 16-Jul-10 14:07 by "
  36. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/allied
  37. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/arista
  38. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/aruba
  39. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/asante
  40. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/cabletron
  41. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/cisco
  42. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/cyclades
  43. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/dell
  44. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/enterasys
  45. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/extreme
  46. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/foundry
  47. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/hp
  48. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/juniper
  49. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/netscreen
  50. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/nortel
  51. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/rfc
  52. SNMP::Info::init() - Adding new mibdir:/usr/local/netdisco/mibs/net-snmp
  53. SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3::C6500.
  54. SNMP::Info::_global layers : sysServices.0
  55. SNMP::Info::_global description : sysDescr.0
  56. [10.64.2.1]  Device Type : SNMP::Info::Layer3::C6500
  57. ! Storing device details back to database - new community string found.
  58. [10.64.2.1]  Fetching Device Info
  59. SNMP::Info::_global router_ip : ospfRouterId.0
  60. SNMP::Info::_global(router_ip) NOSUCHINSTANCE at ./netdisco line 1429
  61. SNMP::Info::_load_attr ospf_ip : ospfHostIpAddress
  62. SNMP::Info::_load_attr ip_index : ipAdEntIfIndex
  63. SNMP::Info::_load_attr i_index : ifIndex
  64. SNMP::Info::_load_attr i_description : ifDescr
  65. SNMP::Info::_load_attr ip_netmask : ipAdEntNetMask
  66. [20619] starting a transaction at ./netdisco line 2781
  67. [20619] DELETE from device_ip where ip = '10.64.2.1' at ./netdisco line 2784
  68. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.35'  FOR UPDATE at ./netdisco line 2803
  69. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.32/27','Vlan312','10.64.31.35'); at ./netdisco line 2803
  70. [10.64.2.1]  Adding 10.64.31.35 to device_ip
  71. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.24.3'  FOR UPDATE at ./netdisco line 2803
  72. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.24.0/24','Vlan24','10.64.24.3'); at ./netdisco line 2803
  73. [10.64.2.1]  Adding 10.64.24.3 to device_ip
  74. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.26.3'  FOR UPDATE at ./netdisco line 2803
  75. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.26.0/28','Vlan261','10.64.26.3'); at ./netdisco line 2803
  76. [10.64.2.1]  Adding 10.64.26.3 to device_ip
  77. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.30.1'  FOR UPDATE at ./netdisco line 2803
  78. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.30.0/24','Vlan30','10.64.30.1'); at ./netdisco line 2803
  79. [10.64.2.1]  Adding 10.64.30.1 to device_ip
  80. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.28.35'  FOR UPDATE at ./netdisco line 2803
  81. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.28.32/27','Vlan282','10.64.28.35'); at ./netdisco line 2803
  82. [10.64.2.1]  Adding 10.64.28.35 to device_ip
  83. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.3.1'  FOR UPDATE at ./netdisco line 2803
  84. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.3.0/24','Vlan3','10.64.3.1'); at ./netdisco line 2803
  85. [10.64.2.1]  Adding 10.64.3.1 to device_ip
  86. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.3.3'  FOR UPDATE at ./netdisco line 2803
  87. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.3.0/24','Vlan3','10.64.3.3'); at ./netdisco line 2803
  88. [10.64.2.1]  Adding 10.64.3.3 to device_ip
  89. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.8.1'  FOR UPDATE at ./netdisco line 2803
  90. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.8.0/24','Vlan8','10.64.8.1'); at ./netdisco line 2803
  91. [10.64.2.1]  Adding 10.64.8.1 to device_ip
  92. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.23.3'  FOR UPDATE at ./netdisco line 2803
  93. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.23.0/24','Vlan23','10.64.23.3'); at ./netdisco line 2803
  94. [10.64.2.1]  Adding 10.64.23.3 to device_ip
  95. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.3'  FOR UPDATE at ./netdisco line 2803
  96. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.0/27','Vlan311','10.64.31.3'); at ./netdisco line 2803
  97. [10.64.2.1]  Adding 10.64.31.3 to device_ip
  98. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.18.3'  FOR UPDATE at ./netdisco line 2803
  99. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.18.0/24','Vlan18','10.64.18.3'); at ./netdisco line 2803
  100. [10.64.2.1]  Adding 10.64.18.3 to device_ip
  101. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.6.3'  FOR UPDATE at ./netdisco line 2803
  102. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.6.0/24','Vlan6','10.64.6.3'); at ./netdisco line 2803
  103. [10.64.2.1]  Adding 10.64.6.3 to device_ip
  104. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.20.3'  FOR UPDATE at ./netdisco line 2803
  105. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.20.0/24','Vlan20','10.64.20.3'); at ./netdisco line 2803
  106. [10.64.2.1]  Adding 10.64.20.3 to device_ip
  107. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.4.1'  FOR UPDATE at ./netdisco line 2803
  108. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.4.0/24','Vlan4','10.64.4.1'); at ./netdisco line 2803
  109. [10.64.2.1]  Adding 10.64.4.1 to device_ip
  110. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.16.1'  FOR UPDATE at ./netdisco line 2803
  111. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.16.0/24','Vlan16','10.64.16.1'); at ./netdisco line 2803
  112. [10.64.2.1]  Adding 10.64.16.1 to device_ip
  113. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.21.1'  FOR UPDATE at ./netdisco line 2803
  114. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.21.0/24','Vlan21','10.64.21.1'); at ./netdisco line 2803
  115. [10.64.2.1]  Adding 10.64.21.1 to device_ip
  116. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.28.163'  FOR UPDATE at ./netdisco line 2803
  117. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.28.160/27','Vlan286','10.64.28.163'); at ./netdisco line 2803
  118. [10.64.2.1]  Adding 10.64.28.163 to device_ip
  119. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.195'  FOR UPDATE at ./netdisco line 2803
  120. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.192/27','Vlan317','10.64.31.195'); at ./netdisco line 2803
  121. [10.64.2.1]  Adding 10.64.31.195 to device_ip
  122. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.28.225'  FOR UPDATE at ./netdisco line 2803
  123. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.28.224/27','Vlan288','10.64.28.225'); at ./netdisco line 2803
  124. [10.64.2.1]  Adding 10.64.28.225 to device_ip
  125. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.14.3'  FOR UPDATE at ./netdisco line 2803
  126. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.14.0/24','Vlan14','10.64.14.3'); at ./netdisco line 2803
  127. [10.64.2.1]  Adding 10.64.14.3 to device_ip
  128. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.2.3'  FOR UPDATE at ./netdisco line 2803
  129. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.2.0/26','Vlan201','10.64.2.3'); at ./netdisco line 2803
  130. [10.64.2.1]  Adding 10.64.2.3 to device_ip
  131. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.67'  FOR UPDATE at ./netdisco line 2803
  132. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.64/27','Vlan313','10.64.31.67'); at ./netdisco line 2803
  133. [10.64.2.1]  Adding 10.64.31.67 to device_ip
  134. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.99'  FOR UPDATE at ./netdisco line 2803
  135. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.96/27','Vlan314','10.64.31.99'); at ./netdisco line 2803
  136. [10.64.2.1]  Adding 10.64.31.99 to device_ip
  137. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.12.3'  FOR UPDATE at ./netdisco line 2803
  138. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.12.0/24','Vlan12','10.64.12.3'); at ./netdisco line 2803
  139. [10.64.2.1]  Adding 10.64.12.3 to device_ip
  140. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.8.3'  FOR UPDATE at ./netdisco line 2803
  141. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.8.0/24','Vlan8','10.64.8.3'); at ./netdisco line 2803
  142. [10.64.2.1]  Adding 10.64.8.3 to device_ip
  143. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.25.3'  FOR UPDATE at ./netdisco line 2803
  144. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.25.0/24','Vlan25','10.64.25.3'); at ./netdisco line 2803
  145. [10.64.2.1]  Adding 10.64.25.3 to device_ip
  146. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.2.1'  FOR UPDATE at ./netdisco line 2803
  147. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.2.0/26','Vlan201','10.64.2.1'); at ./netdisco line 2803
  148. [10.64.2.1]  Adding 10.64.2.1 to device_ip
  149. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.97'  FOR UPDATE at ./netdisco line 2803
  150. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.96/27','Vlan314','10.64.31.97'); at ./netdisco line 2803
  151. [10.64.2.1]  Adding 10.64.31.97 to device_ip
  152. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.2.67'  FOR UPDATE at ./netdisco line 2803
  153. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.2.64/26','Vlan202','10.64.2.67'); at ./netdisco line 2803
  154. [10.64.2.1]  Adding 10.64.2.67 to device_ip
  155. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.31.227'  FOR UPDATE at ./netdisco line 2803
  156. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.31.224/27','Vlan318','10.64.31.227'); at ./netdisco line 2803
  157. [10.64.2.1]  Adding 10.64.31.227 to device_ip
  158. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.28.131'  FOR UPDATE at ./netdisco line 2803
  159. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.28.128/27','Vlan285','10.64.28.131'); at ./netdisco line 2803
  160. [10.64.2.1]  Adding 10.64.28.131 to device_ip
  161. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.12.1'  FOR UPDATE at ./netdisco line 2803
  162. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.12.0/24','Vlan12','10.64.12.1'); at ./netdisco line 2803
  163. [10.64.2.1]  Adding 10.64.12.1 to device_ip
  164. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.15.193'  FOR UPDATE at ./netdisco line 2803
  165. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.15.192/26','Vlan154','10.64.15.193'); at ./netdisco line 2803
  166. [10.64.2.1]  Adding 10.64.15.193 to device_ip
  167. [20619] SELECT * FROM device_ip WHERE ip = '10.64.2.1'  AND alias = '10.64.28.33'  FOR UPDATE at ./netdisco line 2803
  168. [20619] INSERT into device_ip (dns,ip,subnet,port,alias) VALUES (NULL,'10.64.2.1','10.64.28.32/27','Vlan282','10.64.28.33'); at ./netdisco line 2803
  169. [10.64.2.1]  Adding 10.64.28.33 to device_ip
  170.  
  171.   ! Device Timed out (180 sec)
  172. Network Discovery complete.
  173. sql_vacuum(device) [20619] VACUUM ANALYZE VERBOSE device at ./netdisco line 341
  174. DBD::Pg::db do failed: ERROR:  VACUUM cannot run inside a transaction block at /usr/local/netdisco/netdisco.pm line 1658.
  175.  0 seconds.
  176. sql_vacuum(device_port) [20619] VACUUM ANALYZE VERBOSE device_port at ./netdisco line 342
  177. DBD::Pg::db do failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block at /usr/local/netdisco/netdisco.pm line 1658.
  178.  0 seconds.
  179. sql_vacuum(device_ip) [20619] VACUUM ANALYZE VERBOSE device_ip at ./netdisco line 343
  180. DBD::Pg::db do failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block at /usr/local/netdisco/netdisco.pm line 1658.
  181.  0 seconds.
  182.  
  183. ----------------------------------------------------------------------
  184. Run took 3.00 minutes
  185. [20619] SELECT action,count(*) as num,sum(count) as tot FROM process WHERE (controller = '0') GROUP BY action at ./netdisco line 797
  186. DBD::Pg::st execute failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block at /usr/local/netdisco/netdisco.pm line 2061.
  187. DBD::Pg::st fetchall_arrayref failed: no statement executing at /usr/local/netdisco/netdisco.pm line 1921.
  188.  
  189.  
clone this paste RAW Paste Data