12-11-2006 04:39 PM
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
12-11-2006 05:04 PM
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.
12-11-2006 06:15 PM
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
12-11-2006 08:25 PM
To preserve the '\' in the path, you need to double up on the delimiter. So, D:\\CSCOpx\\campus\\lib\\classpath will do it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide