cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2259
Views
5
Helpful
16
Replies

LMS 3.2.1 - ANIServer / Campus Manager - Topology Services

walter_vignolo
Level 1
Level 1

Hi.

I´m having some problems to use the Topology Service.

ANIServer3.png

I receive the following message:

I made an entry in the HOSTS file (c:\WINDOWS\system32\drivers\etc), but It doesn´t work:

How can I solve the problem ?

Thanks.

1 Accepted Solution

Accepted Solutions

ngoldwat
Level 4
Level 4

Hi,

LMS uses ../CSCOpx/bin/perl ../CSCOpx/bin/resolver.pl to determine Hostnames/IP addresses.

Run resolver.pl from a CMD shell once on the hostname and again for the IP.  They should return the same info.

Have you restarted the services?  net stop crmdmgtd / net start crmdmgtd (then wait 20 min before checking topology)

Note: Disable any anti-virus software and be logged in as the LOCAL Administrator user during troubleshooting.

Thanks

View solution in original post

16 Replies 16

ngoldwat
Level 4
Level 4

Hi,

LMS uses ../CSCOpx/bin/perl ../CSCOpx/bin/resolver.pl to determine Hostnames/IP addresses.

Run resolver.pl from a CMD shell once on the hostname and again for the IP.  They should return the same info.

Have you restarted the services?  net stop crmdmgtd / net start crmdmgtd (then wait 20 min before checking topology)

Note: Disable any anti-virus software and be logged in as the LOCAL Administrator user during troubleshooting.

Thanks

Hi ngoldwat.

The server was not reachable by name because it was out of the domain.

Thanks.

Hi Walter

I have the exact same problem. When I try to resolve using the resolver.pl, I get no result no matter how long time I wait. I use it like this:

"resolver.pl hostname" and "resolver.pl ip".

Do you have any other suggestions?

Be sure to use

../CSCOpx/bin/perl ../CSCOpx/bin/resolver.pl

Ehm,... would you be kind to explain "use"?

This is how my prompt look like:

D:\Program Files\CSCOpx\bin>resolver.pl hostname

and

D:\Program Files\CSCOpx\bin>resolver.pl ip

(of course hostname and ip are replaced with the hostname and ip of the Ciscoworks server).

resolver.pl is a perl script. So, you need perl to run it.

../CSCOpx/bin/perl ../CSCOpx/bin/resolver.pl

Sorry for hijacking the thread. If you want, I can start a new. Just let me know.

I do understand that it's a perlscript, but I don't get "../CSCOpx/bin/perl ../CSCOpx/bin/resolver.pl". Is that the syntax? This is the output I get when I try it:

"D:\Program Files\CSCOpx\bin>../CSCOpx/bin/perl ../CSCOpx/bin/resolver.pl hostname

'..' is not recognized as an internal or external command,

operable program or batch file."

If I just run the script as I believe it should, I get this:

"D:\Program Files\CSCOpx\bin>resolver.pl hostname

Terminating on signal SIGINT(2)

Terminating on signal SIGINT(2)

D:\Program Files\CSCOpx\bin>"

The termination is recieved when my patience runs out and I hit Ctrl-C. I believe that I'm supposed to get an answer within a short while so I don't feel bad about terminating after 10 minutes. The result also tells me that the script is executed, but something prevents it from achieving the answer.

Just try :

D:\Program Files\CSCOpx\bin>perl resolver.pl <hostname or IP>

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Thanks. That helped.

D:\Program Files\CSCOpx\bin>perl resolver.pl Hostname

Original name: Hostname

Hostnames/IP Addresses:

        Hostname/IP

        Hostname/0:0:0:0:0:0:0:1

D:\Program Files\CSCOpx\bin>perl resolver.pl IP

Original name: IP

Hostnames/IP Addresses:

        Hostname .Domain.local/IP

As seen, the server is still in the domain.

I still receive the same answer as Walter when I try to start Topology Service. Do you have any other ideas how to solve it?

Is your LMS Server multihomed and have two IP addresses?

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Nope. One IP only.

You should actually enable java console on your PC from control panel.

Control > Advanced > Java Console > show console.

Try to launch topology again. It will launch the Java console, please share the output from there.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Done and done. Funny thing is, ...IT WORKS. Yep. Ciscoworks is now working again. What made it work again

---------------------------------------------------------------------------------------------------------

Java Plug-in 1.6.0_38

Using JRE version 1.6.0_38-b05 Java HotSpot(TM) Client VM

User home directory = C:\Users\ditlevw

----------------------------------------------------

c:   clear console window

f:   finalize objects on finalization queue

g:   garbage collect

h:   display this help message

l:   dump classloader list

m:   print memory usage

o:   trigger logging

q:   hide console

r:   reload policy configuration

s:   dump system and deployment properties

t:   dump thread list

v:   dump thread stack

x:   clear classloader cache

0-5: set trace level to

----------------------------------------------------

JRE Version:1.6.0_38

Recommended JRE Version:1.6.0_22

Endorsed dir is:C:\Program Files\Java\jre6\lib\endorsed

EXT DIR:C:\Program Files\Java\jre6\lib\endorsed

getApplicationParameters...

initializeProperties...

*********************************************

initializeSwing...

ClientModule.installAllModules...

performAniLogin...

Session id is alpha-numeric, Exception:For input string: "E944620DBD898AD15377D110B79FAB08"

_Orb=org.jacorb.orb.ORB@1a6a354

2013/06/06 08:14:08 MESSAGE AniEventMgr: Event Manager has been enabled

1370499248246 6. juni 2013 08:14:08 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace PBPB*****FilteredEventConsumer::realctor() servicename= EC_nt59_AniCoreStates_1370499248212.ec.0,  newsname=EC_nt59_AniCoreStates_1370499248212, props= {ORBInitRef.NameService=https://nt59:443/CSCOcm/classpath/NS_Ref, org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.giop.BiDirConnectionInitializer, AniEvents.server=nt59, vbroker.agent.port=42342, org.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton, AniEvents.MaxInitWaitTime=30, AniEvents=on, AniEvents.EventSourceThread=off, jacorb.implname=StandardAniImplName, vbroker.agent.addr=nt59, org.omg.CORBA.ORBClass=org.jacorb.orb.ORB}

1370499248246 6. juni 2013 08:14:08 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: init_event: EC_nt59_AniCoreStates_1370499248212.ec.0

1370499248266 6. juni 2013 08:14:08 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilterCallback created: EC_nt59_AniCoreStates_1370499248212.ec.0

6. juni 2013 08:14:08 EC_nt59_AniCoreStates_1370499248212 pc0102 Debug ByteToObject: constructed

1370499248271 6. juni 2013 08:14:08 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilterCallback: run: EC_nt59_AniCoreStates_1370499248212.ec.0

Trying to get the already bounded object

FilteredEventConsumer: init_event : Successfully created consumerconnector for EC_nt59_AniCoreStates_1370499248212.ec.0

1370499249798 6. juni 2013 08:14:09 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

2013/06/06 08:14:09 MESSAGE AniEventMgr: Event Manager has been enabled

1370499249924 6. juni 2013 08:14:09 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace PBPB*****FilteredEventConsumer::realctor() servicename= EC_nt59_AniCoreStates_1370499249923.ec.1,  newsname=EC_nt59_AniCoreStates_1370499249923, props= {ORBInitRef.NameService=https://nt59:443/CSCOcm/classpath/NS_Ref, org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.giop.BiDirConnectionInitializer, AniEvents.server=nt59, vbroker.agent.port=42342, org.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton, AniEvents.MaxInitWaitTime=30, AniEvents=on, AniEvents.EventSourceThread=off, jacorb.implname=StandardAniImplName, vbroker.agent.addr=nt59, org.omg.CORBA.ORBClass=org.jacorb.orb.ORB}

1370499249924 6. juni 2013 08:14:09 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: init_event: EC_nt59_AniCoreStates_1370499249923.ec.1

1370499249927 6. juni 2013 08:14:09 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilterCallback created: EC_nt59_AniCoreStates_1370499249923.ec.1

6. juni 2013 08:14:09 EC_nt59_AniCoreStates_1370499248212 pc0102 Debug ByteToObject: constructed

1370499249928 6. juni 2013 08:14:09 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilterCallback: run: EC_nt59_AniCoreStates_1370499249923.ec.1

Trying to get the already bounded object

1370499250011 6. juni 2013 08:14:10 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499250521 6. juni 2013 08:14:10 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

FilteredEventConsumer: init_event : Successfully created consumerconnector for EC_nt59_AniCoreStates_1370499249923.ec.1

1370499250792 6. juni 2013 08:14:10 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499249923.ec.1, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499250966 6. juni 2013 08:14:10 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251023 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251025 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251026 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251028 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251176 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251179 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251182 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

1370499251185 6. juni 2013 08:14:11 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

In DeviceManager, subscribed for alert events

SSH Property File: C:\Users\ditlevw\campusmgr.properties

Argument for launching the layer2 Map.... appletParam_loadLayer2Map:null

1370499280596 6. juni 2013 08:14:40 EC_nt59_AniCoreStates_1370499248212 pc0102 DistMethodTrace FilteredEventConsumer: setClassInstance : EC_nt59_AniCoreStates_1370499248212.ec.0, filtobj=com.cisco.nm.ani.share.events.AniEventFilter, init-state=true

---------------------------------------------------------------------------------------------------------

As you can see, I'm running Java6 (1.6.0_22). I'll try to investigate what solved the problem and post it here later.

Thanks for your replies :-)

That is worderful to know it worked!

-Thanks Vinod **Rating Encourages contributors, and its really free. **
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: