cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1462
Views
5
Helpful
3
Replies

Device Discovery Issue

promina
Level 1
Level 1

Hi,

I am running LMS 2.6 and whenever I start Device Discovery in Campus Manager the job immediately fails.

The Device Discovery log file shows the following:

Debug enabled for package com.cisco.nm.ani.server.devdiscovery

Trace enabled for package com.cisco.nm.ani.server.devdiscovery

Trace enabled for package com.cisco.nm.ani.server.devdiscovery

MESSAGE DiscoveryMain: Properties will be read from D:\CSCOpx\campus\etc\cwsi\DiscoveryStatus.properties

DiscoveryMain: file name is D:\CSCOpx\campus\etc\cwsi\DiscoveryStatus.properties

MESSAGE DiscoveryMain: Properties will be read from D:\CSCOpx\campus\etc\cwsi\DiscoveryStatus.properties

DiscoveryMain: Loading mib values...complete

DiscoveryMain: Loading communities values...complete

FATAL ERROR ServiceModule: undefined property: ServiceModuleList

I have attached my devicediscovery.properties file.

Any ideas?

Cheers,

Grant

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

This file is corrupt. You should have a DeviceDiscovery.properties.orig under D:\CSCOpx\campus\etc\cwsi. Copy this file to DeviceDiscovery.properties, and edit it changing the value of DEVICESROOT to D:\CSCOpx\campus\lib\classpath. You should then be able to fill out the rest of your Discovery settings via the GUI. Once you have re-customized Discovery, it should run correctly.

Hi,

There was no .orig file however I found a similar fault where you provided a new devicediscovery.properties file.

I have modified that file (attached) but again Device Discovery fails with the following log message:

2006/12/12 13:05:16 main MESSAGE DiscoveryMain: Properties will be read from D:\CSCOpx\campus\etc\cwsi\DiscoveryStatus.properties

2006/12/12 13:05:16 main MESSAGE DiscoveryMain: Properties will be read from D:\CSCOpx\campus\etc\cwsi\DiscoveryStatus.properties

2006/12/12 13:05:17 main MESSAGE DBConnection: Created new Database connection [hashCode = 6240509]

2006/12/12 13:05:17 main ERROR SMFFactoryLoader: java.lang.NullPointerException

2006/12/12 13:05:17 main ERROR DiscoveryMain: AniStaticConfigException: Error accessing devices--root path d:CSCOpxcampuslibclasspath, packageName com.cisco.nm.ani.server.devices

To preserve the '\' in the path, you need to double up on the delimiter. So, D:\\CSCOpx\\campus\\lib\\classpath will do it.