02-05-2007 04:38 AM
Hello,
I've upgraded LMS 2.2 to LMS 2.5. After login as admin, in CS when I'm trying to check "Device and Credentials" -> "Device Management"
I get the error:
"Error in communicating with DCA Server.
DCA Server may be down. Please start the DCA Server and then refresh the page."
I've tried to lunch this daemon from command line:
D:\CSCOpx\bin>pdexec DCRServer
ERROR:Get reply from server failed:
D:\CSCOpx\bin>pdshow DCRServer
Process= DCRServer
State = Waiting to initialize.
Pid = 6920
RC = 0
Signo = 0
Start = 02/05/2007 11:41:32 AM
Stop = Not applicable
Core = Not applicable
Info = Server started by admin request
Does anyone knows how to solve this problem?
Platform:
Windows 2000 SP4
CS 3.03
Solved! Go to Solution.
02-07-2007 07:36 PM
Is the LABSERVER10 the current hostname of this machine? Is the SSL port currently 443?
02-05-2007 06:31 AM
Are there any other processes down in the output of pdshow?
Also, have you tried to recreate the certificate?
--Server > Security > Single-Server Management > Certificate Setup and
choose "Apply". Once this is corrected, DCR should startup without this error.
Remember to restart the daemons.
02-06-2007 02:45 AM
I've recreated the cert and restarted the daemons, but the error still persist.
In the DCRServer.log I have:
[...]
[ Tue Feb 06 10:08:48 CET 2007 ] Starting DCR Server...
[ Tue Feb 06 10:08:51 CET 2007 ] No restore has happened
In the syslog.log:
Feb 06 10:54:45 127.0.0.1 100: <28> dmgt[4520]: 2005(W):Internal Error: The maximum number of retry attempts (3) to restart application (DCRServer) has been reached. This application will not be restarted. Call your technical support representative for assistance.
Output from the pdshow command (only daemons which are not runing):
Process= UTMajorAcquisition
State = Never started
[...]
Process= EDS-TR
State = Never started
[...]
Process= RMEDbEngine
State = Program started - No mgt msgs received
[...]
Process= DeviceDiscovery
State = Transient terminated
[...]
Process= DCRServer
State = Waiting to initialize.
[...]
Process= CampusOGSServer
State = Never started
[...]
Process= CMFOGSServer
State = Never started
[...],
Process= ConfigMgmtServer
State = Never started
[...],
Process= EssentialsDM
State = Never started
[...]
Process= NCTemplateMgr
State = Never started
[...]
Process= NetShowMgr
State = Never started
[...]
Process= RMEOGSServer
State = Never started
[...]
02-06-2007 10:23 AM
What errors do you see in the dcr.log? You may need to enable DCR debugging in NMSROOT\lib\classpath\com\cisco\nm\dcr\log4j-dcr.properties (back this file up, then change all instances of FATAL, INFO, and ERROR to DEBUG, then restart dmgtd).
02-07-2007 12:59 AM
Here is the log:
[...]
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - urn:EventListenerDCR host:LABSERVER10 CTMClientProperties:Encoding style:1URL:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.common - classLocation is: jar:file:/D:/CSCOpx/MDC/tomcat/webapps/cwhp/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.common - classLocation is: jar:file:/D:/CSCOpx/MDC/tomcat/webapps/cwhp/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.common - configPath value is: /D:/CSCOpx/MDC/tomcat/webapps/cwhp/WEB-INF/lib/
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - CTM_URL from config file is ::443/cwhp/CTMServlet
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - Urn:"EventListenerDCR" Host:LABSERVER10 Encoding style:1URL:443/cwhp/CTMServlet
[...]
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - Port specified in CTMClientProperties is 80
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - The newly formed URL is https://LABSERVER10:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:12 CET 2007 ] [main] DEBUG CTM.client - The newly formed URL is https://LABSERVER10:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:13 CET 2007 ] [main] DEBUG CTM.soap - Adding CTMSerializer for DCR , APIExtraInfo , com.cisco.nm.dcr.APIExtraInfo
[...]
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.soap - Adding CTMSerializer for DCR , DCRUpdateData , com.cisco.nm.dcr.DCRUpdateData
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - Urn:"DCRCAM" Host:LABSERVER10 Encoding style:1URL:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - Urn:"DCRCAM" Host:LABSERVER10 Encoding style:1URL:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:14 CET 2007 ] [main] INFO CTM.client - Establishing RPC
[ Wed Feb 07 09:01:14 CET 2007 ] [main] INFO CTM.client - Establishing RPC
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - Port specified in CTMClientProperties is 80
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - Port specified in CTMClientProperties is 80
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - The newly formed URL is https://LABSERVER10:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - The newly formed URL is https://LABSERVER10:443/cwhp/CTMServlet
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
[ Wed Feb 07 09:01:14 CET 2007 ] [main] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
[ Wed Feb 07 09:01:20 CET 2007 ] [main] DEBUG CTM.common - classLocation is: jar:file:/D:/CSCOpx/MDC/tomcat/webapps/cwhp/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
[ Wed Feb 07 09:01:20 CET 2007 ] [main] DEBUG CTM.common - classLocation is: jar:file:/D:/CSCOpx/MDC/tomcat/webapps/cwhp/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
[ Wed Feb 07 09:01:21 CET 2007 ] [main] ERROR CTM.client - ERR_IN_WRITING_REQUEST, BEFORE_INVOC, Error in writing the request, Binary mode LABSERVER10
[ Wed Feb 07 09:01:21 CET 2007 ] [main] ERROR CTM.client - ERR_IN_WRITING_REQUEST, BEFORE_INVOC, Error in writing the request, Binary mode LABSERVER10
[ Wed Feb 07 09:01:31 CET 2007 ] [main] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
[ Wed Feb 07 09:01:31 CET 2007 ] [main] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
02-07-2007 07:36 PM
Is the LABSERVER10 the current hostname of this machine? Is the SSL port currently 443?
02-12-2007 01:06 AM
I've found out that someone changed hostname after install previous version... I've uninstalled CW LMS and installed again and now is working!
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: