12-17-2008 12:38 PM
I was performing a backup and it did not write if the backup was successful to the dbbackup.log file located in /var/adm/CSCOpx/log/ directory. It was the first generation so it created the 0 directory, rmeng, cm, dfm directories. I noticed a .LOCK file in the 0 directory. Is that suppose to be there?
12-17-2008 12:41 PM
The LOCK file remains until the backup completes. It sounds like someone or something killed off the backup script while it was running.
12-17-2008 12:47 PM
So should I try to kick of the backup again to see if it works. Also, the .LOCK file had 0 bytes. Can I delete it?
12-17-2008 01:28 PM
Sure. Before you start a new backup, you must manually remove the LOCK file.
12-18-2008 08:31 AM
I removed the .LOCK file, kicked off the backup again, it created another LOCK, but when I went in to view the dbbackup.log file, there was no history of the backup starting. Also, the last backup failed because of the LOCK file. Is there something else I could look at to see why it is failing.
12-18-2008 10:08 AM
Do this. Remove the LOCK file, then, as root, run:
/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/backup.pl PATH
Where PATH is the desired backup location. Make sure this runs successfully. If it does, there may be a cron issue with casuser being able to run cron jobs; or cron jobs being prematurely terminated.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide