SnapshotDB failed for archive backup

hi!

one server i manage had a power failure. now when i try to start the calendar service i get this error:

20070528154729 - 1 Fatal Error: SnapshotDB failedfor archive backup at /var/opt/SUNWics5/csdb/archive/archive_20070528

20070528154729 - csstoredExit: Exiting with [-1].

the whole log:

20070528154726 -caldb.berkeleydb.homedir.path = /var/opt/SUNWics5/csdb

20070528154726 -caldb.berkeleydb.archive.path = /var/opt/SUNWics5/csdb/archive

20070528154726 -caldb.berkeleydb.hotbackup.path = /var/opt/SUNWics5/csdb/hotbackup

20070528154726 -caldb.berkeleydb.archive.enable = 1

20070528154726 -caldb.berkeleydb.hotbackup.enable = 1

20070528154726 -caldb.berkeleydb.hotbackup.mindays = 3

20070528154726 -caldb.berkeleydb.hotbackup.maxdays = 6

20070528154726 -caldb.berkeleydb.hotbackup.threshold = 70

20070528154726 -caldb.berkeleydb.archive.mindays = 3

20070528154726 -caldb.berkeleydb.archive.maxdays = 6

20070528154726 -caldb.berkeleydb.archive.threshold = 70

20070528154726 -caldb.berkeleydb.circularlogging = no

20070528154726 -caldb.berkeleydb.archive.interval = 120

20070528154726 -alarm.msgalarmnoticercpt = root@jespre.dominio.local

20070528154726 -service.admin.sleeptime = 2

20070528154726 -local.serveruid = icsuser

20070528154726 -local.hostname = jespre.dominio.local

20070528154726 -service.http.calendarhostname = jespre.dominio.local

20070528154726 - Reading configuration file - Done

csstored is started

Calendar service(s) were started

20070528154728 - Notice: Store Archiving is Enabled

20070528154728 - Notice: Hot Backup is Enabled

20070528154728 -WARNING: Removing directory [archive_20061102] from [/var/opt/SUNWics5/csdb/archive] according to system settings.

20070528154728 -In backup directory [/var/opt/SUNWics5/csdb/archive] we had [6] days worth of backup

20070528154728 -According to the system settings, we must keep between [3] and [6] days of backup

20070528154728 -We now have [5] days of backup in [/var/opt/SUNWics5/csdb/archive]

20070528154728 - Creating directory [/var/opt/SUNWics5/csdb/archive/archive_20070528] 20070528154728 - ... success

20070528154729 - Checking conditionfor [/var/opt/SUNWics5/csdb/archive], threshold [70], DB [257031]KB

20070528154729 - Hotbackup on [/var/opt/SUNWics5/csdb/hotbackup] mounted on [/dev/dsk/c0d0s6]

20070528154729 - Archivebackup on [/var/opt/SUNWics5/csdb/archive] mounted on [/dev/dsk/c0d0s6]

20070528154729 - Checking conditionfor [/var/opt/SUNWics5/csdb/archive], threshold [70], DB [257031]KB

20070528154729 - Hotbackup on [/var/opt/SUNWics5/csdb/hotbackup] mounted on [/dev/dsk/c0d0s6]

20070528154729 - Archivebackup on [/var/opt/SUNWics5/csdb/archive] mounted on [/dev/dsk/c0d0s6]

20070528154729 - SnapshotDB: Creating archive copy at /var/opt/SUNWics5/csdb/archive/archive_20070528

20070528154729 - Run CheckpointDB prior to backing up the database files

20070528154729 -Running CheckpointDB: /opt/SUNWics5/cal/lib/../tools/unsupported/bin/db_checkpoint -1 -h /var/opt/SUNWics5/csdb 2> /tmp/csstored.checkpoint.out

20070528154729 -Running CheckpointDB: /opt/SUNWics5/cal/lib/../tools/unsupported/bin/db_checkpoint -1 -h /var/opt/SUNWics5/csdb 2> /tmp/csstored.checkpoint.out

20070528154729 - Copying database files to /var/opt/SUNWics5/csdb/archive/archive_20070528

20070528154729 -Copying database file ics50alarms.db to /var/opt/SUNWics5/csdb/archive/archive_20070528

20070528154729 - SnapshotDB - Copy failed to /var/opt/SUNWics5/csdb/archive/archive_20070528for ics50alarms.db

20070528154729 - 1 Fatal Error: SnapshotDB failedfor archive backup at /var/opt/SUNWics5/csdb/archive/archive_20070528

20070528154729 - csstoredExit: Exiting with [-1].

any hint?

[4119 byte] By [aboscha] at [2007-11-27 5:42:01]
# 1

Hi,

I suppose the obvious question is whether you have an ics5alarms.db file in your current active database directory and are the permissions/settings on this file anything special?

0070528154729 - SnapshotDB - Copy failed to /var/opt/SUNWics5/csdb/archive/archive_20070528 for ics50alarms.db

As the calendar user, are you able to copy the ics50alarms.db file to the directory mentioned manually?

Are there any errors in /tmp/csstored.checkpoint.out?

Regards,

Shane.

shane_hjortha at 2007-7-12 15:20:09 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
yes and no.i think the file is corrupted. the error message doesn't give any usefull information but i the filesystem was full for a couple of hours and i suspect the file messed up.
aboscha at 2007-7-12 15:20:09 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...