CUCM Database Traceback DBReplrtstate py Error

CUCM Database Traceback DBReplrtstate py Error

While working on Cisco Unified Communications Manager, you may receive an error “Database Communications Error” when you access CUCM Web Page. Also when you try to run “utils dbreplication runtimestate”, you may receive below shared error :

admin:utils dbreplication runtimestate
Traceback (most recent call last):
 File “/usr/local/cm/bin/DbReplRTstate.py”, line 1319, in <module>



IndexError : string index out of range 

Traceback-most-recent-call-last

To resolve the error, i tried the below steps:

Restarting the below services on Publisher via CLI:

  • utils service stop A Cisco DB
  • utils service start A Cisco DB

Restarted the below services from Publisher via GUI:

  • Cisco Extended Function service from serviceability page

Then i tried to execute the command “utils dbreplication runtimestate”  but still the error was there. I had to restart the Publisher and Subscriber outside business hours to resolve the issue.
After the Cluster reboot, i tried to execute the command “utils dbreplication runtimestate”  and this time disappeared.

Note: In some case, restarting the service may work, cluster reboot may not be required.
Hope this helps!

You may also like...

4 Responses

  1. Chintesh says:

    Hi,
    I have a cluster with 1 CUCM Publisher, 2 CUCM Subscribe, 2 IM&Presanse . unfortunately my Secondry IM&Presance IP Address is removed from my server.
    when i am trying to add IP address using Commandline in my secondary IM&P i am getting error (Executed command unsuccessfully). can anyone help me to fix this issue.

  2. Chintesh says:

    Hi, Avinash Karnani

    Thanks for your response, I have resolved this issue.

  3. Chintesh says:

    I am beginners in Collaboration, looking for a Cisco Prime collaboration Provisioning Installation Steps. can anyone help me ?

Leave a Reply

Your email address will not be published. Required fields are marked *