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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Campus Manager Apps not accessible

I recently upgraded to LMS 3.2 on Solaris 9 and when I open the CiscoWorks Portal, the Campus related portlets never load...CM Data Collection Summary, CM Discrepancies Portlet, and CM User Tracking Summary Portlet.   Also, when I select the Campus Home, it times out and never opens.  Please help!

43 REPLIES
Cisco Employee

Re: Campus Manager Apps not accessible

Post the output of the pdshow command as well as the ani.log and campusportal.log.

New Member

Re: Campus Manager Apps not accessible

pdshow file attached , however, I don't have the ani.log or the campusportal.log, and I am unable to turn it on because I can't get to any campus apps.  Is there a way to turn on the logging from the command line?

Marcie

Cisco Employee

Re: Campus Manager Apps not accessible

You don't need to turn on anything.  Just post the logs from the NMSROOT/log directory on the server.

New Member

Re: Campus Manager Apps not accessible

That's the problem I don't have those log files in my NMSROOT/log directory on the server.  Here is a screenshot of what I'm seeing in the GUI.

No access to any Campus functionality.

New Member

Re: Campus Manager Apps not accessible

Also, device discovery job begins but doesn't seem to end...I see the DiscoveryLock file in /opt/CSCOpx, and in the topo.log file I am seeing this:

2010/07/06 04:00:00 DeviceDiscovery ani MESSAGE DeviceDiscoveryTimeBaseImpl: Starting device discovery process at Tue Jul 06 04:00:00 EDT 2010
[Tue Jul 06 07:48:52 EDT 2010]CamDebugChecker : Can not load cam.propertiesnull
Validating License...
Validating License...
Validating License...
Validating License...
Validating License...
Validating License...
Validating License...
Validating License...

Could this be part of my problem?

New Member

Re: Campus Manager Apps not accessible

are you using local admin or tacacs to login to the ciscoworks server?

New Member

Re: Campus Manager Apps not accessible

I use local admin. However, TACACS is used for user authentication.

Marcie Sirbaugh

This e-mail is unclassified based on the definitions provided in E.O.

New Member

Re: Campus Manager Apps not accessible

it is very possible that i am misinterpreting this screenshot, but it seems that authentication mode is tacacs. have you tied ciscoworks into tacacs via ciscoworks assistant? if so, you must then login via a tacacs user that you must create, and then set ciscoworks privileges for. again, could be completely misinterpreting what that says.

New Member

Re: Campus Manager Apps not accessible

UPDATE:

I restarted dmgtd and the LMS came up and gave status for Data Collection, didn't see the "Loading..." info.  I decided to start Data Collection, I selected for new devices, it finished and updated the table with current information and all Campus apps were accessible.  I then started Data Collection and chose the All Devices option.  It appeared that data collection was being performed and then after several hours I refreshed the main LMS window and back was the "Loading..." info on the Campus portal windows.  Seems there is a failure with the data collection that is causing the campus stuff to hang up.

Before I kicked off the "all devices" data collection I was able to access the Campus Home webpage and the campusportal.log file was created.  When I access the Campus Home after the product hangs, nothing is entered in the campusportal.log file.

Cisco Employee

Re: Campus Manager Apps not accessible

I really need to see the ani.log.  This log MUSTexist in NMSROOT\log if Data Collection is running.  I suppose you could have changed the name of this file, so also post the NMSROOT/campus/etc/cwsi/ANIServer.properties.  Given that you're seeing an issue in the UI, the NMSROOT/MDC/tomcat/logs/stdout.log and stderr.log may also be of use.

New Member

Re: Campus Manager Apps not accessible

Yes, I had changed the name of the ani.log to topo.log...attached are the file you requested with exception to stderr.log from tomcat directory.  Again in the topo.log I am seeing "Validating License...." and discovery doesn't seem to continue.

Cisco Employee

Re: Campus Manager Apps not accessible

Exactly what version of Campus Manager is this?

New Member

Re: Campus Manager Apps not accessible

LMS 3.2, Campus 5.2

Marcie Sirbaugh

Cisco Employee

Re: Campus Manager Apps not accessible

When this problem occurs, can you find an xmlwrite.lock file under NMSROOT/campus?  I'm not seeing any obvious errors, but you certainly could be affected by a number of bugs where Data Collection causes crashes within Campus.

New Member

Re: Campus Manager Apps not accessible

I do not see the xmlwrite.lock file, however I looked through some of the bugs and noticed that one was associated with the cmptt tool. I did not run the cmptt tool, but I did run the rmeptt.sh tool on this particular server and not on the other two that are working fine. Could there be similar issues with rmptt.sh.

Marcie Sirbaugh

This e-mail is unclassified based on the definitions provided in E.O.

Cisco Employee

Re: Campus Manager Apps not accessible

No, rmeptt would not cause problems with ANIServer.  And the bug with cmptt would actually keep ANIServer from starting at all.  Do you notice any hs_err* files on the system?

New Member

Re: Campus Manager Apps not accessible

There are no hs_err* files. Would it be beneficial to reinit the ani database?

Marcie Sirbaugh

Cisco Employee

Re: Campus Manager Apps not accessible

I haven't seen any evidence of database corruption, but you could certainly try it.  If after reinitializing, the problems return, I would encourage you to open a TAC service request, and mention this thread.  Some live analysis may be required to figure out exactly what is happening within ANI.

New Member

Re: Campus Manager Apps not accessible

The last thing is, I believe there must be something related to the Validating License...in the ani.log the last entries are Validating License....over and over and over, never gets past that point. When I compare this to other servers the log passes Validating License and moves on to the next function. Seems that Data Collection is not finishing and User Tracking isn't running at all. When I run the cmexport l2topology command it never finishes, no export of topology.

Marcie Sirbaugh

Cisco Employee

Re: Campus Manager Apps not accessible

No.  The validating license message will appear each time you refresh the Campus homepage (for example).  It doesn't point to any problem.  The symptoms mostly match a bug in which certain devices and configurations caused Data Collection to die with a NullPointerException.  However, I would have expected to see that exception in the log.

You can try upgrading to Campus 5.2.1 via Common Services > Software Center > Software Update.  That will fix one known bug, but will potentially open up two others (CSCtd49439 and CSCtg20882).  Both are fixed with patches from TAC, though.  If you do upgrade and get those bug fixes, that would rule out any known problems with DC failures leading to User Tracking not running.

New Member

Re: Campus Manager Apps not accessible

Funny thing, I thought before I reinted the DB, I would go in and delete all device from campus. So I first did a pdterm ANIServer, on the admin portal, the portlets that were showing Loading...., changed to give me status. Then I restarted the ANIServer with pdexec and watched the log file. Seems that things started working as they should, I am able to get to all Campus apps, and topology services. Also the cmexport command completed. I am now going to delete all devices and rediscover to see if there was a device in there that was corrupted. Any of this sound familiar?

Marcie Sirbaugh

New Member

Re: Campus Manager Apps not accessible

I know I've asked before, but if I reinit the DB, with the topology groups have to be recreated?

New Member

Re: Campus Manager Apps not accessible

I reinit the ani db and ran a new data collection, I'm seeing the same issue.  However in the ani.log I am seeing an Unrecoverable database error.  Attached is a portion of the log.

Cisco Employee

Re: Campus Manager Apps not accessible

How did you reinitialize this database?  After looking at some of these new errors, I highly suggest you move to 5.2.1, then get the aforementioned patches to fix the NullPointerException problems.  I really think that will set you straight.

New Member

Re: Campus Manager Apps not accessible

I first did reinitdb.pl -restore, then I did the dbRestoreOrig.pl dsn=ani dmprefix=ANI.

I will try 5.2.1.

Marcie Sirbaugh

Cisco Employee

Re: Campus Manager Apps not accessible

Both are identical, and both should have replaced the ANI database with an empty original version.  After upgrading to 5.2.1 and getting

the patches, reinit again with the dbRestoreOrig.pl script.

New Member

Re: Campus Manager Apps not accessible

Will do...I have downloaded the upgrade 5.2.1 and I'm installing now, I went to put in a TAC and my contract is not found so I'm not able to get those patches...any workarounds for now until I get the contract thing worked out.

Marcie Sirbaugh

Cisco Employee

Re: Campus Manager Apps not accessible

No, not for those two bugs.  They are fairly severe.

New Member

Re: Campus Manager Apps not accessible

Now that I'm down the path to upgrading, can you get the patches to me????

Marcie Sirbaugh

1037
Views
0
Helpful
43
Replies
CreatePlease to create content