CCM 7.1(2) Backup Error

Answered Question
Oct 19th, 2009
User Badges:

Hi,


I have the following error in a log file:


Log File: 2009-10-17-11-53-06_b_mdsiccm71_ccm_ccmdb.log

=====================================================

Server : MDSICCM71

Feature : CCM

Component : CCMDB

Time Completed: 2009-10-17-11-59-58

Result Code : 1

Result String : ERROR

=====================================================

prebackup

ready for backup

required space = 11336140

df -k /tmp/db_drf_backup/ | grep -v Filesystem | awk '{print }'

ready for backup

exiting pre_db_backup

Beginning do_db_backup

command to execute /bin/touch /common/drf/db_drf_backup/drf_ontape_backup.gz

command to execute /bin/chmod 660 /common/drf/db_drf_backup/drf_ontape_backup.gz

command to execute /bin/chown informix:informix /common/drf/db_drf_backup/drf_ontape_backup.gz

Stopping CAR services prior to taking DB backup

command to execute python /usr/local/cm/drf/cdrrep/cm_car_service_deactivate.py - >> /common/drf/backup.log

Service Manager is running

Commanded Out of Service

Cisco CAR Scheduler[NOTRUNNING]

CM CAR - Services Stop Script

OS platform is: linux2

Linux platform........

CDRREP: Invoking CAR services stop script

CDRREP: Checking CAR services status, please wait ...

CDRREP: CAR Scheduler initial status is - started

CDRREP: Stopping Cisco CAR Scheduler

controlcenter.sh "Cisco CAR Scheduler" stop

CDRREP: Stopped Cisco CAR Scheduler Successfully

CDRREP: No need to stop Cisco CAR Web Service as it is already stopped

CDRREP: CAR Web Service was not running by default, CAR Scheduler stopped successfully. exit 21

Creating Ontape Backup of DB...

command to execute /bin/su - informix -c "ontape -s -L 0 | /bin/gzip > /common/drf/db_drf_backup/drf_ontape_backup.gz" 2>>/common/drf/backup.log

drf_ontape_backup created is of size [30675857]

Ontape Backup completed!

Creating Tar ball

command to execute sudo /bin/tar -cvpPf - /usr/local/cm/db/csv/products /usr/local/cm/db/xml/xml /usr/local/cm/idp /ccm/DialPlan /usr/local/cm/db/replicates.txt /usr/local/cm/db/DBPerfMon.xml /usr/local/cm/db/dblenv.bash /etc/services /etc/odbc.ini $INFORMIXDIR/etc/sqlhosts /home/informix/.rhosts /common/drf/db_drf_backup/drf_ontape_backup.gz /var/log/active/cm/cdr_repository/preserve /var/log/active/cm/cdr_repository/destination1 /var/log/active/cm/cdr_repository/destination2 /var/log/active/cm/cdr_repository/destination3 /var/log/active/cm/cdr_repository/car /usr/local/thirdparty/jakarta-tomcat/webapps/carreports/reports/pregenerated 2>> /common/drf/backup.log

/usr/local/cm/db/csv/products/

/usr/local/cm/db/csv/products/Product_355.csv

/usr/local/cm/db/csv/products/Product_45.csv

/usr/local/cm/db/csv/products/Product_36.csv

/usr/local/cm/db/csv/products/Product_311.csv

/usr/local/cm/db/csv/products/Product_207.csv

/usr/local/cm/db/csv/products/Product_20002.csv

/usr/local/cm/db/csv/products/Product_273.csv

/usr/local/cm/db/csv/products/dependency.txt

/usr/local/cm/db/csv/products/Product_47.csv

/bin/tar: -: Wrote only 4096 of 10240 bytes

/bin/tar: Error is not recoverable: exiting now

CCMDB Backup failed, unable to tar data to master agent

Restoring CAR services ...

command to execute python /usr/local/cm/drf/cdrrep/cm_car_service_activate.py 21 - >> /common/drf/backup.log

Service Manager is running

Cisco CAR Scheduler[STARTING]

Cisco CAR Scheduler[STARTING]

Cisco CAR Scheduler[STARTED]

CM CAR - Services start script

OS platform is: linux2

Linux platform........

CDRREP: Invoking CAR services start script

CDRREP: CAR Scheduler status is: 2

CDRREP: CAR Web Service status is: 1

CDRREP: Starting CAR Scheduler....

controlcenter.sh "Cisco CAR Scheduler" start

controlcenter.sh list | grep "Cisco CAR Scheduler"

['Cisco CAR Scheduler[STARTED]\n']

CDRREP: Started Cisco CAR Scheduler successfully

CDRREP: Should not restart CAR Web Service

CDRREP: Exiting car service start script. Start Success. Exit Code 0

EXITING!



----> BEGIN Standard Output


----> END Standard Output



----> BEGIN Standard Error


----> END Standard Error



Thanks for all.

Correct Answer by virverma about 7 years 6 months ago

Use freeFTPd as the SFTP and work again.

Try to expand the disk space

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (2 ratings)
Loading.
Correct Answer
virverma Thu, 10/22/2009 - 04:50
User Badges:
  • Silver, 250 points or more

Use freeFTPd as the SFTP and work again.

Try to expand the disk space

josefina.mendez Fri, 06/06/2014 - 11:38
User Badges:

Hi, I'm using freeFTPd as the SFTP and I have 117Gb free on the server, but I'm still getting the same problem:

 Status:Ready 
 Log File: 2014-06-06-14-09-06_b_ar-ba-c1-p1_ccm_ccmdb.log=====================================================
Server : AR-BA-C1-P1
Feature : CCM
Component : CCMDB
Time Completed: 2014-06-06-14-29-41
Result Code : 1
Result String : ERROR
=====================================================
prebackup
ready for backup
required space = 11851581
df -k /tmp/db_drf_backup/ | grep -v Filesystem | awk '{print }'
ready for backup
exiting pre_db_backup
Beginning do_db_backup 
command to execute /bin/touch /common/drf/db_drf_backup/drf_ontape_backup.gz
command to execute /bin/chmod 660 /common/drf/db_drf_backup/drf_ontape_backup.gz
command to execute /bin/chown informix:informix /common/drf/db_drf_backup/drf_ontape_backup.gz
Stopping CAR services prior to taking DB backup
command to execute python /usr/local/cm/drf/cdrrep/cm_car_service_deactivate.py - >> /common/drf/backup.log
Service Manager is running
Cisco CAR Scheduler[STOPPING]
Cisco CAR Scheduler[STOPPING]
Cisco CAR Scheduler[STOPPING]
Cisco CAR Scheduler[STOPPING]
Commanded Out of Service
Cisco CAR Scheduler[NOTRUNNING]
CM CAR - Services Stop Script
OS platform is: linux2
Linux platform........
CDRREP: Invoking CAR services stop script
CDRREP: Checking CAR services status, please wait ...
CDRREP: CAR db manual purge or reload is not running. Continue with backup/restore
CDRREP: CAR Scheduler initial status is - started
CDRREP: Stopping Cisco CAR Scheduler 
controlcenter.sh "Cisco CAR Scheduler" stop
CDRREP: Stopped Cisco CAR Scheduler Successfully 
CDRREP: Cisco CAR Scheduler stopped successfully. exit 21
Creating Ontape Backup of DB...
command to execute /bin/su - informix -c "ontape -s -L 0 | /bin/gzip > /common/drf/db_drf_backup/drf_ontape_backup.gz" 2>>/common/drf/backup.log
drf_ontape_backup created is of size [116409667]
Ontape Backup completed!
Creating Tar ball
command to execute sudo /bin/tar -cvpPf - /usr/local/cm/db/csv/products /usr/local/cm/db/xml/xml /usr/local/cm/idp /ccm/DialPlan /usr/local/cm/db/replicates.txt /usr/local/cm/db/DBPerfMon.xml /usr/local/cm/db/dblenv.bash /etc/services /etc/odbc.ini $INFORMIXDIR/etc/sqlhosts /home/informix/.rhosts /common/drf/db_drf_backup/drf_ontape_backup.gz /var/log/active/cm/cdr_repository/preserve /var/log/active/cm/cdr_repository/destination1 /var/log/active/cm/cdr_repository/destination2 /var/log/active/cm/cdr_repository/destination3 /var/log/active/cm/cdr_repository/car /usr/local/thirdparty/jakarta-tomcat/webapps/carreports/reports/pregenerated 2>> /common/drf/backup.log 
/usr/local/cm/db/csv/products/
/usr/local/cm/db/csv/products/Product_30011.csv
/usr/local/cm/db/csv/products/spanish_colombia_user_locale.csv
/usr/local/cm/db/csv/products/Product_336.csv
/bin/tar: -: Wrote only 4096 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
CCMDB Backup failed, unable to tar data to master agent
Restoring CAR services ...
command to execute python /usr/local/cm/drf/cdrrep/cm_car_service_activate.py 21 - >> /common/drf/backup.log
Service Manager is running
Cisco CAR Scheduler[STARTING]
Cisco CAR Scheduler[STARTING]
Cisco CAR Scheduler[STARTED]
CM CAR - Services start script
OS platform is: linux2
Linux platform........
CDRREP: Invoking CAR services start script
CDRREP: CAR Scheduler status is: 2
CDRREP: Starting CAR Scheduler....
controlcenter.sh "Cisco CAR Scheduler" start
controlcenter.sh list | grep "Cisco CAR Scheduler"
['Cisco CAR Scheduler[STARTED]\n']
CDRREP: Started Cisco CAR Scheduler successfully
CDRREP: Exiting car service start script. Start Success. Exit Code 0
EXITING!

 

Actions

This Discussion