This sections covers how to keep your corrupted database accessible while you are in recovery mode and includes the following topics:
If you are encountering database corruption, one way to prevent service interruptions is to put your database in read-only mode. This mode allows end users to read database entries, but does not allow additions, modifications, or deletions. If an end user attempts to add, modify or delete any calendar data, the system gives an error message. In addition, administrator tools that add, modify or delete calendar events and todos will not work while the database is in read-only mode.
If the database is corrupted to the point that it can’t be read, you must interrupt service long enough to restore a backup. The quickest way to restore a backup is to have a good hot backup. See 22.214.171.124 Before You Restore.
Log in as an administrator with permission to change the configuration.
Stop Calendar Server services by issuing the stop-cal command.
At a command line, change to the directory where the ics.conf is located:
Specify read-only mode for the calendar, by setting the parameter as follows:
Restart Calendar Server by issuing the start-cal command.
You must restart the services in order for the ics.conf changes to take effect.