Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

DeviceDiscovery Process In Transient Terminated

Was having problem starting device discovery in Campus Manager. After looking at a couple of different things, noticed that DeviceDiscovery is in TRANSIENT TERMINATED ProcessState.

Has anyone ran into this before?

I have updated software to latest and greatest.

Thanks in advance for helping the hopeless.

David Holder

Resurrection HealthCare

22 REPLIES
Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

What is the status of the ANIServer process? It is common for DeviceDiscovery to be in Transient Terminated status if it is not currently running a discovery.

New Member

Re: DeviceDiscovery Process In Transient Terminated

Running with busy flag set.

Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

That looks fine as well, so both processes are normal.

Are you seeing devices discovered in the GUI?

New Member

Re: DeviceDiscovery Process In Transient Terminated

I discoverd 959 device. When I click on the number of devices the report shows:

Campus Manager Administration

Device Discovery-All Devices Report as of 28 Apr 2006, 13:22:08

Last Discovery Started at : 28 Apr 2006, 13:12:37. Ended at : 27 Apr 2006, 09:54:14. Completed in -98303.0 seconds.

That even though I start it on 4/28 at 13:12 it thinks it ends on 4/27 at 9:54, which was my last good one.

Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

Can you try this from the command line to see if we can get this to sync up:

\CSCOpx\bin

pdexec DeviceDiscovery (case sensitive)

New Member

Re: DeviceDiscovery Process In Transient Terminated

I did that. I didn't receive any messages. I came back to console, and still not working.

Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

Try the following:

stop the daemons

in CSCOpx\campus\etc check the file DeviceDiscovery.properties file for the entry end date

Remove this entry and save the changes

restart the daemons

See if you are having any problems then

New Member

Re: DeviceDiscovery Process In Transient Terminated

I did not find it in in CSCOpx\campus\etc

I found it in in CSCOpx\campus\etc\cwsi

Didn't have anything that looked line entry end date see below:

ameserver.resolveBySysName=false

nameserver.resolveByName=true

Discovery.seed=10.250.0.10:10.250.0.11

nameserver.useloopbackaddress=false

nameserver.usedns=true

Discovery.router=on

Discovery.subnets.exclude=172.30.0.*

snmp.encryptCommunity=false

snmp.EnableMultiple=false

New Member

Re: DeviceDiscovery Process In Transient Terminated

Did a search on DeviceDiscovery on my server. Found a log file. Opened and saw this message at the bottom several times:

FATAL ERROR ServiceModule: undefined property: ServiceModuleList

Red

Re: DeviceDiscovery Process In Transient Terminated

What is the exact version of Campus Manager that are you running?

Open a DOS shell and cd CSCOpx\campus\etc\cwsi

What is the output of the following command:

dir *.properties

New Member

Re: DeviceDiscovery Process In Transient Terminated

It is a new install only 2 weeks old and I am running 4.0.4. I have no CWSI directory under

CSCOpx\campus\etc

Also, getting close to going home. Access from home is slow on CiscoWorks. Can we continue on Monday if next request from you does not fix it, or should I go to TAC?

Thanks, Dave

Red

Re: DeviceDiscovery Process In Transient Terminated

You mentioned on Apr 28, 2006, 12:50pm PST:

"I found it in in CSCOpx\campus\etc\cwsi"

Please provide the output of:

dir *.properties from that directory.

New Member

Re: DeviceDiscovery Process In Transient Terminated

Here is the output you requested:

nameserver.resolveBySysName=false

nameserver.resolveByName=true

Discovery.seed=10.250.0.10:10.250.0.11

nameserver.useloopbackaddress=false

nameserver.usedns=true

Discovery.router=on

Discovery.subnets.exclude=172.30.0.*

snmp.encryptCommunity=false

snmp.EnableMultiple=false

Red

Re: DeviceDiscovery Process In Transient Terminated

I suggest you contact TAC and let them know that you suspect your DeviceDiscovery.properties file is corrupt.

New Member

Re: DeviceDiscovery Process In Transient Terminated

Thanks I will do that.

Re: DeviceDiscovery Process In Transient Terminated

i have exactly the same issue - using:-

CiscoWorks Common Services 3.0.4

Campus Manager 4.0.4

CiscoView 6.1.4

Device Fault Manager 2.0.4

Internetwork Performance Monitor 2.6.0

Integration Utility 1.6.0

Resource Manager Essentials 4.0.4

is there a fix or workaround for this?

thanks

andy

Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

you can try replacing your corrupt file by doing the following:

1. stop the daemon manager

2. rename DeviceDiscovery.properties to DeviceDiscovery.properties.old,then

copy DeviceDiscovery.properties.orig, and rename it

to DeviceDiscovery.properties

3. restart daemons

4. check, and configure your snmp and discovery settings and run a discovery

Re: DeviceDiscovery Process In Transient Terminated

thanks for the reply

i tried this earlier without success.

discovery/snmp settings all look ok but when i run a discovery, the status returns to idle within seconds (usually takes ~30 seconds) - the results show one device which Campus Manager says is unreachable. is the ANI database corrupt? how can you restore to original settings (i'm currently evaluating Cisco LMS so the data isn't to important)

Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

To reinit the ANI database you would run the following from the command line:

/CSCOpx/bin

reinitdb.pl -restore

If you are showing one device as unreachable then its more than likely that you have connectivity or snmp problems getting to that seed device.

Can you ping the device? How about snmpwalk from the NMS station?

Re: DeviceDiscovery Process In Transient Terminated

ran reinitdb.pl -restore (it was in folder \CSCOpx\campus\bin) - when i started up ciscoworks and went to campus manager every device had disappearred except the 1 device in the results for device discovery (this was before i had even started a discovery).

i'll try an snmpwalk and get back to you

Re: DeviceDiscovery Process In Transient Terminated

device is snmp reachable. i've reinstalled all the Ciscoworks apps but device discovery stiil doesn't work.

discovery log details

2006/05/04 09:49:27 main ERROR SMFFactoryLoader: java.lang.NullPointerException

2006/05/04 09:49:27 main ERROR DiscoveryMain: AniStaticConfigException: Error accessing devices--root path , packageName com.cisco.nm.ani.server.devices

devicediscovery log details

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

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

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

DiscoveryMain: Loading mib values...complete

DiscoveryMain: Loading communities values...complete

FATAL ERROR ServiceModule: undefined property: ServiceModuleList

process report details

Process Name State

UTMajorAcquisition Never started

EDS-TR Never started

FHPurgeTask Never started

DFMCTMStartup Administrator has shut down this server

DeviceDiscovery Transient terminated

DataPurge Administrator has shut down this server

ANIServer Running with busy flag set

any advice appreciated

Cisco Employee

Re: DeviceDiscovery Process In Transient Terminated

I would suggest that you open a TAC case to further troubleshoot this

307
Views
17
Helpful
22
Replies