cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5098
Views
4
Helpful
8
Replies

UCCX backups failing

alalli
Level 2
Level 2

Hi All

 

My backups on UCCX are failing.

The service Cisco LDAP Monitor service is in shutdown mode.

Does anyone know if this service should be running.

I did not know it needed to be running.

 

thanks in advance

 

 

 

output for log where backup is failing

 

 

 

=============================
Server : DC1UCIPVA03
Feature : UCCX
Component : CCXCOMPONENT
Time Completed: 2014-05-26-14-02-23
Result Code : 1-Unable to read file
Result String : ERROR
=====================================================
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Start: UCCX Precheck
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Checking if the node is eligible for DRF
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/backup_setflags.py /common/drf/backup.log drfcheck
2014/05/26 14:02: Start: Module executeDRFEligCheck
2014/05/26 14:02: Node is eligible for DRF related processes
2014/05/26 14:02: du -sckL /opt/cisco/uccx/ClusterData | grep total | awk '{print $1}'
2014/05/26 14:02: Req space now 2440
2014/05/26 14:02: du -sckL /opt/cisco/uccx/properties | grep total | awk '{print $1}'
2014/05/26 14:02: Req space now 3800
2014/05/26 14:02: du -sckL /opt/cisco/uccx/.jtapi/lib/jtapi.jar | grep total | awk '{print $1}'
2014/05/26 14:02: Req space now 5436
2014/05/26 14:02: Free space on /common/drf = 42432748 KB, required space = 5436 KB
2014/05/26 14:02: Ready for backup
2014/05/26 14:02: PRE_CHECK OF CONFIG COMPONENTS ARE SUCCESSFUL
2014/05/26 14:02: All necessary service/components are working fine and system is in healthy state. Proceeding for Backup
2014/05/26 14:02: Checking for Necessary Disk space availability in temporary staging area
2014/05/26 14:02: Temporary staging area has enough space to hold backup files
2014/05/26 14:02: Precheck DB Script
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/db_pre_backup.py /common/drf/backup.log
2014-05-26 14:02:11,243 - uccxdb.bnr - DEBUG - ------------- Begin Unified CCX DB Pre-Backup(db_pre_backup.py) -------------
2014-05-26 14:02:11,244 - uccxdb.bnr - DEBUG - Executing [source /opt/cisco/uccx/bin/uccx_ids.env ; onstat -] ...
2014-05-26 14:02:11,260 - uccxdb.bnr - DEBUG - Results of executing [source /opt/cisco/uccx/bin/uccx_ids.env ; onstat -], returnCode :[1280], Output :[
IBM Informix Dynamic Server Version 11.50.UC9X7 -- On-Line -- Up 230 days 22:18:09 -- 254164 Kbytes
]
2014-05-26 14:02:11,261 - uccxdb.bnr - DEBUG - Executing [/opt/cisco/uccx/bin/uccxcontrolcenter.sh list | grep "Cisco Unified CCX Cluster View Daemon\[STARTED\]"] ...
2014-05-26 14:02:15,347 - uccxdb.bnr - DEBUG - Results of executing [/opt/cisco/uccx/bin/uccxcontrolcenter.sh list | grep "Cisco Unified CCX Cluster View Daemon\[STARTED\]"], returnCode :[0], Output :[Cisco Unified CCX Cluster View Daemon[STARTED] ]
2014-05-26 14:02:15,348 - uccxdb.bnr - DEBUG - ----- Exit Unified CCX DB Pre-Backup(db_pre_backup.py) with returnCode = 0 : Successful -----
2014/05/26 14:02: Done executing Precheck DB Script
2014/05/26 14:02: Setting UCCX Archive Flags
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/backup_setflags.py /common/drf/backup.log
2014/05/26 14:02: Finish: Module executeDRFEligCheck
2014/05/26 14:02: Setting UCCX Archive Flags
2014/05/26 14:02: UCCX Archive flags has been set
2014/05/26 14:02: Archive Flags has been set
2014/05/26 14:02: Create Temporary directory in staging area
2014/05/26 14:02: Executing cmd: mkdir -p /common/drf/ccx_comps
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Finish: UCCX Precheck
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Start: Backing Up Config Components
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Calling BAC , CAC and JAC component backup scripts
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/bac_do_backup.py /common/drf/backup.log
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/bac.tar /opt/cisco/uccx/ClusterData
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/cac_do_backup.py /common/drf/backup.log
2014/05/26 14:02: Linux OS.
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/cac.tar --exclude '*extusers.properties*' /opt/cisco/uccx/properties /usr/local/platform/conf/cli/interface/uccxInterface.HA.xml /opt/cisco/uccx/conf/intraclustercomm.ips /etc/opt/cisco/ipprefs.conf
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/jtapi_do_backup.py /common/drf/backup.log
2014/05/26 14:02: /opt/cisco/uccx/.jtapi/bin/jtapi.ini not found
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/jac.tar /opt/cisco/uccx/.jtapi/lib/jtapi.jar
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/stockreports_do_backup.py /common/drf/backup.log
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/stockreports.tar /opt/cisco/cuic/InitialSetupReports/
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Finish: Backing Up Config Components
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Start: Backup CAD Component
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Calling CAD component backup scripts
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/cad_do_backup.py /common/drf/backup.log
2014/05/26 14:02: Create Temporary directorys in staging area
2014/05/26 14:02: Backup LDAP
Mon May 26 14:02:18 WST 2014
drfBackupLdap begin. Process id: 22790
Service Manager is running
Service already in the requested state
Cisco Desktop LDAP Monitor Service[STOPPED] Commanded Out of Service
Cisco Desktop LDAP Monitor Service[STOPPED] Commanded Out of Service
Cisco Desktop LDAP Monitor Service[STOPPED] Commanded Out of Service
LdapMonSvr process id:
9882
Manually killing LdapMonSvr...
/opt/cisco/uccx/desktop/scripts/drfBackupLdap: line 33: kill: (9882) - Permission denied
Error occurred! LdapMonSvr will NOT be restarted -- the system's LDAP directory may be down.
Mon May 26 14:02:20 WST 2014
drfBackupLdap end.

 

 

 

=============================
Server : DC1UCIPVA03
Feature : UCCX
Component : CCXCOMPONENT
Time Completed: 2014-05-26-14-02-23
Result Code : 1-Unable to read file
Result String : ERROR
=====================================================
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Start: UCCX Precheck
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Checking if the node is eligible for DRF
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/backup_setflags.py /common/drf/backup.log drfcheck
2014/05/26 14:02: Start: Module executeDRFEligCheck
2014/05/26 14:02: Node is eligible for DRF related processes
2014/05/26 14:02: du -sckL /opt/cisco/uccx/ClusterData | grep total | awk '{print $1}'
2014/05/26 14:02: Req space now 2440
2014/05/26 14:02: du -sckL /opt/cisco/uccx/properties | grep total | awk '{print $1}'
2014/05/26 14:02: Req space now 3800
2014/05/26 14:02: du -sckL /opt/cisco/uccx/.jtapi/lib/jtapi.jar | grep total | awk '{print $1}'
2014/05/26 14:02: Req space now 5436
2014/05/26 14:02: Free space on /common/drf = 42432748 KB, required space = 5436 KB
2014/05/26 14:02: Ready for backup
2014/05/26 14:02: PRE_CHECK OF CONFIG COMPONENTS ARE SUCCESSFUL
2014/05/26 14:02: All necessary service/components are working fine and system is in healthy state. Proceeding for Backup
2014/05/26 14:02: Checking for Necessary Disk space availability in temporary staging area
2014/05/26 14:02: Temporary staging area has enough space to hold backup files
2014/05/26 14:02: Precheck DB Script
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/db_pre_backup.py /common/drf/backup.log
2014-05-26 14:02:11,243 - uccxdb.bnr - DEBUG - ------------- Begin Unified CCX DB Pre-Backup(db_pre_backup.py) -------------
2014-05-26 14:02:11,244 - uccxdb.bnr - DEBUG - Executing [source /opt/cisco/uccx/bin/uccx_ids.env ; onstat -] ...
2014-05-26 14:02:11,260 - uccxdb.bnr - DEBUG - Results of executing [source /opt/cisco/uccx/bin/uccx_ids.env ; onstat -], returnCode :[1280], Output :[
IBM Informix Dynamic Server Version 11.50.UC9X7 -- On-Line -- Up 230 days 22:18:09 -- 254164 Kbytes
]
2014-05-26 14:02:11,261 - uccxdb.bnr - DEBUG - Executing [/opt/cisco/uccx/bin/uccxcontrolcenter.sh list | grep "Cisco Unified CCX Cluster View Daemon\[STARTED\]"] ...
2014-05-26 14:02:15,347 - uccxdb.bnr - DEBUG - Results of executing [/opt/cisco/uccx/bin/uccxcontrolcenter.sh list | grep "Cisco Unified CCX Cluster View Daemon\[STARTED\]"], returnCode :[0], Output :[Cisco Unified CCX Cluster View Daemon[STARTED] ]
2014-05-26 14:02:15,348 - uccxdb.bnr - DEBUG - ----- Exit Unified CCX DB Pre-Backup(db_pre_backup.py) with returnCode = 0 : Successful -----
2014/05/26 14:02: Done executing Precheck DB Script
2014/05/26 14:02: Setting UCCX Archive Flags
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/backup_setflags.py /common/drf/backup.log
2014/05/26 14:02: Finish: Module executeDRFEligCheck
2014/05/26 14:02: Setting UCCX Archive Flags
2014/05/26 14:02: UCCX Archive flags has been set
2014/05/26 14:02: Archive Flags has been set
2014/05/26 14:02: Create Temporary directory in staging area
2014/05/26 14:02: Executing cmd: mkdir -p /common/drf/ccx_comps
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Finish: UCCX Precheck
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Start: Backing Up Config Components
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Calling BAC , CAC and JAC component backup scripts
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/bac_do_backup.py /common/drf/backup.log
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/bac.tar /opt/cisco/uccx/ClusterData
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/cac_do_backup.py /common/drf/backup.log
2014/05/26 14:02: Linux OS.
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/cac.tar --exclude '*extusers.properties*' /opt/cisco/uccx/properties /usr/local/platform/conf/cli/interface/uccxInterface.HA.xml /opt/cisco/uccx/conf/intraclustercomm.ips /etc/opt/cisco/ipprefs.conf
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/jtapi_do_backup.py /common/drf/backup.log
2014/05/26 14:02: /opt/cisco/uccx/.jtapi/bin/jtapi.ini not found
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/jac.tar /opt/cisco/uccx/.jtapi/lib/jtapi.jar
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/stockreports_do_backup.py /common/drf/backup.log
2014/05/26 14:02: sudo tar -cpPf /common/drf/ccx_comps/stockreports.tar /opt/cisco/cuic/InitialSetupReports/
2014/05/26 14:02: Backup successful.
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Finish: Backing Up Config Components
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Start: Backup CAD Component
2014/05/26 14:02: **************************************************************************************************************
2014/05/26 14:02: Calling CAD component backup scripts
2014/05/26 14:02: Executing cmd: /opt/cisco/uccx/drf/backup/cad_do_backup.py /common/drf/backup.log
2014/05/26 14:02: Create Temporary directorys in staging area
2014/05/26 14:02: Backup LDAP
Mon May 26 14:02:18 WST 2014
drfBackupLdap begin. Process id: 22790
Service Manager is running
Service already in the requested state
Cisco Desktop LDAP Monitor Service[STOPPED] Commanded Out of Service
Cisco Desktop LDAP Monitor Service[STOPPED] Commanded Out of Service
Cisco Desktop LDAP Monitor Service[STOPPED] Commanded Out of Service
LdapMonSvr process id:
9882
Manually killing LdapMonSvr...
/opt/cisco/uccx/desktop/scripts/drfBackupLdap: line 33: kill: (9882) - Permission denied
Error occurred! LdapMonSvr will NOT be restarted -- the system's LDAP directory may be down.
Mon May 26 14:02:20 WST 2014
drfBackupLdap end.

 

 

 

 

 

 

 

2 Accepted Solutions

Accepted Solutions

Hi ,

 

check this link if u are using UCCX version 8.5(1) SU2

 

http://www.cisco.com/c/en/us/support/docs/field-notices/635/fn63565.html

 

regds,

aman

View solution in original post

Manish Gogna
Cisco Employee
Cisco Employee

Hi,

Please mention the UCCX version when seeking assistance from support community. As the backup is failing at the LDAP component so it points to the following bug

https://tools.cisco.com/bugsearch/bug/CSCuf90452/?reffering_site=dumpcr

UCCX: Backup Fails on CCXComponent during LDAP stop
CSCuf90452
Symptom:DRF Backup fails
Conditions:Server fails to stop the LDAP service

Workaround:Disabled SElinux
utils os secure permissive
 
You can try the workaround mentioned above if your UCCX version is affected by the same.
 
HTH
 
Manish

 

View solution in original post

8 Replies 8

Hi.

Yes it should be up and during a backup.

If you see it stopped during a backup, it is a normal behaviour

 

HTH

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Hi ,

 

check this link if u are using UCCX version 8.5(1) SU2

 

http://www.cisco.com/c/en/us/support/docs/field-notices/635/fn63565.html

 

regds,

aman

thank you,

 

I am not sure.

I am running version 9.0.1 and the LDAP service is not running since we don't use LDAP.

 

 

Hi Carlo,

 

The service is definately not running.

not sure it was ever running.

It is stopped at the moment.

My system is not really configured for LDAP anyway.

We have manually configured users that are imported into uccx from cucm.

 

thanks for any ideas.

 

Manish Gogna
Cisco Employee
Cisco Employee

Hi,

Please mention the UCCX version when seeking assistance from support community. As the backup is failing at the LDAP component so it points to the following bug

https://tools.cisco.com/bugsearch/bug/CSCuf90452/?reffering_site=dumpcr

UCCX: Backup Fails on CCXComponent during LDAP stop
CSCuf90452
Symptom:DRF Backup fails
Conditions:Server fails to stop the LDAP service

Workaround:Disabled SElinux
utils os secure permissive
 
You can try the workaround mentioned above if your UCCX version is affected by the same.
 
HTH
 
Manish

 

Good Day Manish,

 

thank you for answering my query.

 

I am running version 9.0.1 UCCX.

My trouble seems to be that the service itself is not running to begin with.

 

I was not sure if I should start the service or not.

 

 

 

 

If the UCCX version is 9.0.1, i would suggest trying the workaround as mentioned in the bug as it is know to affect 9.0.2 version as well. If the issue persists please engage TAC.

Manish

Hi,

 

Try starting Cisco Desktop LDAP Monitor service and check if u are able to take backup.

 

regds,

aman