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. And see here for current known issues.

New Member

Error in communicating with DCR Server. in LMS 3.1

I am receiving this error when I try to ad device: Error in communicating with DCR Server.
DCR Server may be down. Please start the DCR Server and then refresh the page.

The DCRserver is running. ( I did restart it)

I am using Windows version of LMS 3.1

CiscoWorks Common Services 3.2.0 Licensed Not applicable
Campus Manager 5.1.4 Purchased 300
CiscoView 6.1.8 Licensed Not applicable
CiscoWorks Assistant 1.1.0 Licensed Not applicable
Device Fault Manager 3.1.3 Purchased 300
Internetwork Performance Monitor 4.1.0 Purchased 300
Integration Utility 1.8.0 Licensed Not applicable
LMS Portal 1.1.0 Licensed Not applicable
Resource Manager Essentials 4.2.0 Purchased 300
Health and Utilization Monitor 1.1.0 Evaluation(Expired) 100

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

As per the errors and exception your self sign certificate for LMS seeems to be expired.  Kindly re-generate certificate from the command line as per below step.

Note :- When it promot you to enter the hostname of the server, kindly enter only the hostname of server and not FQDN. You can check the hostname with the command hostname from CLI.

a.Stop Daemons
c:\net stop crmdmgtd

b. Remove server.* under NMSROOT\MDC\Apache\conf\ssl

c. Run the following commands:
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -enable (fill up
the certificate info)

If you are not using SSL connectivity to CiscoWorks
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable

d.Restart Daemons
c:\net start crmdmgtd

Thanks,

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

This issue most likely is related to a communication problem with the database or a corruption as we can see from the logs :

2010/11/21 19:44:41 main ani ERROR POStore: Failed resolving object because: java.lang.NullPointerException
2010/11/21 19:44:41 main ani ERROR AniMain: java.lang.NullPointerException
ANI Server failed to load from the database.
Please stop and restart the system. You may need to re-initialize the database.
If this does not work, please contact technical support.

The next step is to re-initialize the Campus Manager database. This procedure will delete all the records and maps that you have in Campus Manager, you would need to run a new Campus Data Collection and User Tracking Acquisition to have clean and fresh database information.

If that ok with you, you can try the below steps to re-initialize the Campus database. By doing this, it will not effect any other database of LMS will clean Campus Manager database.

+) Stop the daemon manager:
net stop crmdmgtd

+) cd CSCOpx\bin\

+) Type the following command (case sensitive):
perl dbRestoreOrig.pl dsn=ani dmprefix=ANI

+) Start the daemon manager:
net start crmdmgtd

Now, wait another 15 minutes and wait for dmgtd.lock file to release from location CSCOpx\objects\dmgtd\ready.

Now check the status of ANIServer with command :- pdshow ANIServer ( case sensitive)

it should have the status Busy with Flag set.

Thanks,
Gaganjeet
14 REPLIES

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

Though its too early to metion that we are hitting a bug here. But its worthwhile to check this famous bug for this issue in LMS 3.1

BUG ID = CSCsu84143

You can cview this bug at the below link :-

http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?caller=pluginredirector&method=fetchBugDetails&bugId=CSCsu84143

Patch is available at the below link :-

http://tools.cisco.com/search/JSP/search-results.get?strQueryText=download+patch+for+CSCsu84143&Search+All+cisco.com=cisco.com&language=en&country=US&thissection=f&accessLevel=Guest

Thanks,

Gaganjeet

New Member

Re: Error in communicating with DCR Server. in LMS 3.1

I installed the patch but I still have the same problem. Any more ideas?

Thanks.

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

Kindly post the dcr.log, dcrserver.log from location CSCOpx\log and pdshow output like :-

c:\pdshow > c:\pdshow.txt

Thanks,

Gaganjeet

New Member

Re: Error in communicating with DCR Server. in LMS 3.1

Thanks for your help! here are the files: (dcr.log was 0 bytes so I did not attach)

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

As per the errors and exception your self sign certificate for LMS seeems to be expired.  Kindly re-generate certificate from the command line as per below step.

Note :- When it promot you to enter the hostname of the server, kindly enter only the hostname of server and not FQDN. You can check the hostname with the command hostname from CLI.

a.Stop Daemons
c:\net stop crmdmgtd

b. Remove server.* under NMSROOT\MDC\Apache\conf\ssl

c. Run the following commands:
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -enable (fill up
the certificate info)

If you are not using SSL connectivity to CiscoWorks
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable

d.Restart Daemons
c:\net start crmdmgtd

Thanks,

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

Not only your DCR server is down, rather there are few important services which should be up, they are also down and whole fuctionallity of CiscoWorks is effected at the moment. After re-generating the certificates, all these issue should  be fixed.

Thanks,

Gaganjeet

New Member

Re: Error in communicating with DCR Server. in LMS 3.1

Thanks for your help, I'm up and running!

My "ConfigSSL.pl" script in tha apache directory so I ran the following:

NMSROOT\bin\perl NMSROOT\MDC\Apache\ConfigSSL.pl -disable

NMSROOT\bin\perl NMSROOT\MDC\Apache\ConfigSSL.pl -enable

New Member

Re: Error in communicating with DCR Server. in LMS 3.1

Oops, I'm still having a problem. The Aniserver is not running (fails after restart).

I have attached the ani.log

Thanks.

Re: Error in communicating with DCR Server. in LMS 3.1

Hi

,

This is another issue and not related with Ceritficate error. Kindly post the following to fix it :-

1. pdshow output ( c:\pdshow > pdshow2.txt)

2  Two files from location :- d:\PROGRA~1\CSCOpx\campus\etc\cwsi\ANIServer.properties and ANIServer.properties.orig

3. Screenshot of CiscoWorks services from (Start > Run > services.msc) showing what is the status of ANIServer.

Thanks,

Gaganjeet

New Member

Re: Error in communicating with DCR Server. in LMS 3.1

Here are the files. I also included a screenshot of the processes.

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

Kindly post ANIServer.log from the location CSCOpx\log

Thanks

Gaganjeet

New Member

Re: Error in communicating with DCR Server. in LMS 3.1

Here are the logs.

Thanks.

Re: Error in communicating with DCR Server. in LMS 3.1

Hi,

This issue most likely is related to a communication problem with the database or a corruption as we can see from the logs :

2010/11/21 19:44:41 main ani ERROR POStore: Failed resolving object because: java.lang.NullPointerException
2010/11/21 19:44:41 main ani ERROR AniMain: java.lang.NullPointerException
ANI Server failed to load from the database.
Please stop and restart the system. You may need to re-initialize the database.
If this does not work, please contact technical support.

The next step is to re-initialize the Campus Manager database. This procedure will delete all the records and maps that you have in Campus Manager, you would need to run a new Campus Data Collection and User Tracking Acquisition to have clean and fresh database information.

If that ok with you, you can try the below steps to re-initialize the Campus database. By doing this, it will not effect any other database of LMS will clean Campus Manager database.

+) Stop the daemon manager:
net stop crmdmgtd

+) cd CSCOpx\bin\

+) Type the following command (case sensitive):
perl dbRestoreOrig.pl dsn=ani dmprefix=ANI

+) Start the daemon manager:
net start crmdmgtd

Now, wait another 15 minutes and wait for dmgtd.lock file to release from location CSCOpx\objects\dmgtd\ready.

Now check the status of ANIServer with command :- pdshow ANIServer ( case sensitive)

it should have the status Busy with Flag set.

Thanks,
Gaganjeet
New Member

Re: Error in communicating with DCR Server. in LMS 3.1

I think I'm fixed.

Thanks for your help.

1772
Views
5
Helpful
14
Replies
CreatePlease login to create content