Unable to Rebuild Calendar Database

We are running Sun ONE Calendar Server 5.1.1 on Solaris 8 and are currently experiencing some problems with our calendar data. I ran a 'csdb check' on the database (with the calendar server running) and discovered some corruption in the database. However, when I shut down the server and try running a 'csdb rebuild' (or even another 'csdb check'), nothing seems to be happening. I took a look at the admin.log file and see the following entry repeated multiple times:

[06/Sep/2006:10:44:09 - 0400] calendar-db csdb[8604]: General Information: caldb: caldb_pvt_OpenDBInstance: waiting for 1 threads, only 0 have started

I followed the steps outlined in the Sun ONE Calendar Server Administrator's Guide to no avail. I've even tried restarting the box that hosts the server without any success.

Any help would be greatly appreciated.

Razi

[876 byte] By [nyu_rahmad] at [2007-11-26 9:57:55]
# 1

Hi Razi,

Make sure that you start the ens daemon before running the csdb rebuild. For some reason csdb likes to be able to contact ens before it starts (perhaps so it has a mechanism to send alerts out with).

./csstop

./csstart service ens

./csdb check

etc.

Shane.

shane_hjorth at 2007-7-7 1:22:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
Hi Shane,Thanks for the assistance. I started the ens daemon after stopping the Calendar Server and was able to run the './csdb rebuild' successfully.Razi
nyu_rahmad at 2007-7-7 1:22:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...