[cisco-voip] TCD Service failed !!

Wes Sisk wsisk at cisco.com
Thu Sep 15 07:54:49 EDT 2005


Have you investigated this:

"Cannot connect to directory"

Looks like you are integrated with AD.  Is the authentication information correct?  Do you have IP connectivity to the indicated AD server from this CM server?  Have you looking in a sniffer trace to see what, if any, communication is taking place between CM and AD?

/Wes



Alan Su wrote:

>Dear all,
>
>The TCD service can't be started in my CCM, the C:\Program
>Files\Cisco\Trace\TCD\tcdsrv.txt shows error as attachment.
>
>My CCM has integrated with Active Directory. I'm not sure is it caused
>by AD problem. Any comment would be grateful. Thanks.
>
>Regards,
>
>Alan
>  
>
>------------------------------------------------------------------------
>
>    1 09/14 20:58:14.500  INFO 
>    2 09/14 20:58:14.500  INFO **************************************
>    3 09/14 20:58:14.500  INFO ****** Attendant Console Server ******
>    4 09/14 20:58:14.500  INFO * Version  : 1.3(1 ES4)
>    5 09/14 20:58:14.500  INFO * Built on : Wed Jul  7 18:09:37 PDT 2004
>    6 09/14 20:58:14.500  INFO **************************************
>    7 09/14 20:58:14.500  INFO 
>    8 09/14 20:58:14.640 DEBUG ACBootstrap: Initialization started
>    9 09/14 20:58:15.265 DEBUG _ldapUrl:ldap://10.1.1.5:389
>   10 09/14 20:58:15.265 DEBUG _directoryManagerDN:cn=PCNADMIN, ou=Service Accounts, ou=IEC1, ou=Inventec, dc=iec,dc=inventec
>   11 09/14 20:58:15.343 DEBUG _directoryManagerPassword:******
>   12 09/14 20:58:15.343 DEBUG _ciscoBase:ou=Cisco, dc=iec,dc=inventec
>   13 09/14 20:58:15.343 DEBUG _ccnBase:ou=CCN,ou=Cisco, dc=iec,dc=inventec
>   14 09/14 20:58:15.343 DEBUG _directoryType:ADS
>   15 09/14 20:58:17.062 ERROR com.cisco.ac.server.ldap.ACLdapConnectionException: Cannot connect to directory
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.getDirContext(ACLdapAttributeSource.java:404)
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.lookup(ACLdapAttributeSource.java:67)
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.lookupByCommonName(ACLdapAttributeSource.java:55)
>	at com.cisco.ac.server.ACBootstrap.readCCNSystemProfile(ACBootstrap.java:234)
>	at com.cisco.ac.server.ACBootstrap.init(ACBootstrap.java:59)
>	at com.cisco.ac.server.ACMain.startACServer(ACMain.java:69)
>	at com.cisco.ac.server.ACMain.main(ACMain.java:42)
>
> 16 09/14 20:58:17.062 ERROR Directory connection: ldap://10.1.1.5:389
>   17 09/14 20:58:17.062 ERROR Exception: com.cisco.ac.server.ldap.ACLdapConnectionException: Cannot connect to directory
>   18 09/14 20:58:17.062 ERROR   Using default userbase: ou=Users, o=cisco.com
>   19 09/14 20:58:17.062 ERROR   Using default userObjectClass: person
>   20 09/14 20:58:17.531 DEBUG ACBootstrap: Computing jtapi.jar's checksum...
>   21 09/14 20:58:17.546 DEBUG ACBootstrap: C:\CiscoPlugins\Server\jtapi.jar checksum: 311100021
>   22 09/14 20:58:17.546 DEBUG ACBootstrap: Initialization completed
>   23 09/14 20:58:17.609 DEBUG ACServer.properties exists. Skipping creation.
>   24 09/14 20:58:18.109 DEBUG Loading dial/directory lookup rules...
>   25 09/14 20:58:19.312 DEBUG Loading dial/directory lookup rules done
>   26 09/14 20:58:19.312  INFO Checking connectivity with database...
>   27 09/14 20:58:19.312  INFO ACCallManagerDB dbConection: DSN=CiscoCallManager;SERVER=CM;DATABASE=CCM0301;Trusted_Connection=yes
>   28 09/14 20:58:19.312 DEBUG ACCallManagerDB dbConection: 0
>   29 09/14 20:58:19.312 DEBUG      SERVER=CM
>   30 09/14 20:58:19.312 DEBUG    DATABASE=CCM0301
>   31 09/14 20:58:19.328 DEBUG Checking if primary database is up and running...
>   32 09/14 20:58:19.328  INFO Attempting to access (publisher) db on: CM
>   33 09/14 20:58:26.265 ERROR Unable to open (publisher) db on: CM: com.cisco.ac.server.DBL.ACCallManagerDBException: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'CiscoCCMReader'. Reason: Not associated with a trusted SQL Server connection.
>   34 09/14 20:58:26.265  INFO Checking connectivity with database...failed
>   35 09/14 20:58:27.265  INFO Checking connectivity with database...
>   36 09/14 20:58:27.656 ERROR Exception connection to database: com.cisco.ac.server.DBL.ACCallManagerDBException: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'CiscoCCMReader'. Reason: Not associated with a trusted SQL Server connection.
>   37 09/14 20:58:27.656  INFO Checking connectivity with database...failed
>   38 09/14 20:58:28.656  INFO Checking connectivity with database...
>   39 09/14 20:58:31.219 ERROR Exception connection to database: com.cisco.ac.server.DBL.ACCallManagerDBException: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'CiscoCCMReader'. Reason: Not associated with a trusted SQL Server connection.
>   40 09/14 20:58:31.219  INFO Checking connectivity with database...failed
>   41 09/14 20:58:32.219  INFO Checking connectivity with database...
>   42 09/14 20:58:40.859  INFO Checking connectivity with database...done
>   43 09/14 20:58:41.516 DEBUG ACCallManagers: CM_CM is thisServer
>   44 09/14 20:58:42.438 DEBUG New trace level: DEBUG
>   45 09/14 20:58:42.438  INFO **** Switching log output to file: c:\Program Files\Cisco\Trace\TCD\tcdsrv.txt ****
>   46 09/14 20:58:43.141  INFO ACCallManagerVersion: version: 3
>   47 09/14 20:58:43.844 DEBUG CCMLSS Port           : 3223
>   48 09/14 20:58:43.844 DEBUG LSS Listen Port       : 3224
>   49 09/14 20:58:43.844 DEBUG TCD ListenPort        : 4321
>   50 09/14 20:58:43.844 DEBUG Directory Sync Period : 3
>   51 09/14 20:58:43.844 DEBUG CTI Req. Timeout      : 15
>   52 09/14 20:58:43.844 DEBUG LSS Password          : private
>   53 09/14 20:58:43.844 DEBUG Route Unknown         : false
>   54 09/14 20:58:43.844 DEBUG RedirectCSS           : true
>   55 09/14 20:58:43.844 DEBUG Keep Original         : true
>   56 09/14 20:58:43.844 DEBUG Reset Original        : true
>   57 09/14 20:58:43.844 DEBUG 
>
>
>   58 09/14 20:58:43.844  INFO All callmanager servers configured with hostnames
>   59 09/14 20:58:43.844  INFO Advertising RMI server as running on: CM
>   60 09/14 20:58:44.078 DEBUG DirSyncPeriod timed out or changed or Retrying.
>   61 09/14 20:58:44.078 DEBUG Generating user list.
>   62 09/14 20:58:44.078 DEBUG Reloading CCNSystemProfile node
>   63 09/14 20:58:44.281 ERROR com.cisco.ac.server.ldap.ACLdapConnectionException: Cannot connect to directory
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.getDirContext(ACLdapAttributeSource.java:404)
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.lookup(ACLdapAttributeSource.java:67)
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.lookupByCommonName(ACLdapAttributeSource.java:55)
>	at com.cisco.ac.server.ACBootstrap.readCCNSystemProfile(ACBootstrap.java:234)
>	at com.cisco.ac.server.ACBootstrap.reloadCCNSystemProfile(ACBootstrap.java:297)
>	at com.cisco.ac.server.ldap.ACBuildUserList.run(ACBuildUserList.java:48)
>
>   64 09/14 20:58:44.281 ERROR Directory connection: ldap://10.1.1.5:389
>   65 09/14 20:58:44.281 ERROR Exception: com.cisco.ac.server.ldap.ACLdapConnectionException: Cannot connect to directory
>   66 09/14 20:58:44.281 ERROR   Using default userbase: ou=Users, o=cisco.com
>   67 09/14 20:58:44.281 ERROR   Using default userObjectClass: person
>   68 09/14 20:58:44.360 DEBUG LineState Listener initialized:
>   69 09/14 20:58:44.375  INFO ACServerTelephony init
>   70 09/14 20:58:44.375  INFO Database Change Notification Listener initialized.
>   71 09/14 20:58:44.469  INFO ACServerTelephony Server: CM JTAPI Version: 2.0(2.2)
>   72 09/14 20:58:44.547 ERROR Exception in findAllUsers: com.cisco.ac.server.ldap.ACLdapConnectionException: Cannot connect to directory
>   73 09/14 20:58:44.641 DEBUG User Entries written out: -1
>   74 09/14 20:58:45.985 ERROR HuntGroups:
>pkid: 0xE8AA47CC50E5144DB538981FC400D814, name: AC-PP, dn: 6099, fkDevice: 0x5400B487F4F2DC4B9D13CA12C19C23BD, huntingAlgorithm: 0, dbHuntingAlgorithm: 0, owner: 0, active: 0, queueEnabled: false, queueSize: 32, holdTime: 0, CMs: CM_CM- 
>Lines: 
>     User: ac-user, Line: 1, AlwaysRoute: false, Online: false, LineActive: false, RoutingCall: false, Waiting: false, RouteUnknown: false
>HuntGroupsUsers:
>pkid: 0xCAA288CEE44A354787FA4BBC7804358F, userid: ac-user, passwd: *****
>Sessions:
>Active Sessions:
>Deactive Sessions:
>
>   75 09/14 20:58:46.063  INFO ACServerTelephony: RTP bound to /127.0.0.1 Port: 1070
>   76 09/14 20:58:46.375 DEBUG LSS CM Timeout. Clearing known line states.
>   77 09/14 20:58:48.172  INFO Successfully created registry at port: 1101
>   78 09/14 20:58:48.172  INFO ServerClient RemoteObjectURL: //CM:1101/ACServerClientCommunication
>   79 09/14 20:58:48.391 DEBUG LSS CM Timeout. Clearing known line states.
>   80 09/14 20:58:49.844  INFO AC Server remote object //CM:1101/ACServerClientCommunication bound
>   81 09/14 20:58:49.844  INFO Interserver RemoteObjectURL: //CM:1101/ACInterServerCommunication
>   82 09/14 20:58:49.860  INFO AC Server remote object //CM:1101/ACInterServerCommunication bound
>   83 09/14 20:58:49.860  INFO ACIntererverKeepAlive start the timer
>   84 09/14 20:58:49.860  INFO ACInterServerConnections: init
>   85 09/14 20:58:50.407 DEBUG LSS CM Timeout. Clearing known line states.
>   86 09/14 20:58:51.157  INFO ACServerTelephony init route points
>   87 09/14 20:58:51.157  INFO ACServerTelephony: create route points
>   88 09/14 20:58:51.157  INFO ACInterServerConnections getOwnership HGName: 0xE8AA47CC50E5144DB538981FC400D814 Servers: 
>   89 09/14 20:58:51.188  INFO ACServerTelephony: create actual route points
>   90 09/14 20:58:51.188  INFO ACServerClientSessionManager inform about sessions group 6099
>   91 09/14 20:58:51.188  INFO ACServerTelephony create route point for :6099
>   92 09/14 20:58:51.438  INFO Getting Provider for : 6099
>   93 09/14 20:58:51.485  INFO ACServerTelephony subscribeLineState 
>   94 09/14 20:58:51.485 DEBUG Added server subscription: server: CM_CM, count: 0
>   95 09/14 20:58:51.485  INFO ACInterServerConnections informSubscribeLSS server: CM_CM Servers: 
>   96 09/14 20:58:51.563 DEBUG Updating 0 HG linestate(s) sent locally
>   97 09/14 20:58:52.407 DEBUG LSS CM Timeout. Clearing known line states.
>   98 09/14 20:58:53.313  INFO Error in connecting to provider: CM: com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- Connection refused: connect: will retry in 5 seconds.
>   99 09/14 20:58:54.422 DEBUG LSS CM Timeout. Clearing known line states.
>  100 09/14 20:58:54.782 DEBUG DirSyncPeriod timed out or changed or Retrying.
>  101 09/14 20:58:54.782 DEBUG Generating user list.
>  102 09/14 20:58:54.782 DEBUG Reloading CCNSystemProfile node
>  103 09/14 20:58:55.188 ERROR com.cisco.ac.server.ldap.ACLdapConnectionException: Cannot connect to directory
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.getDirContext(ACLdapAttributeSource.java:404)
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.lookup(ACLdapAttributeSource.java:67)
>	at com.cisco.ac.server.ldap.ACLdapAttributeSource.lookupByCommonName(ACLdapAttributeSource.java:55)
>	at com.cisco.ac.server.ACBootstrap.readCCNSystemProfile(ACBootstrap.java:234)
>	at com.cisco.ac.server.ACBootstrap.reloadCCNSystemProfile(ACBootstrap.java:297)
>	at com.cisco.ac.server.ldap.ACBuildUserList.run(ACBuildUserList.java:48)
>
>------------------------------------------------------------------------
>
>_______________________________________________
>cisco-voip mailing list
>cisco-voip at puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip
>  
>


More information about the cisco-voip mailing list