Coda File System

Re: Problems with date

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Mon, 22 May 2000 15:58:57 -0400
On Mon, May 22, 2000 at 06:39:03PM +0000, bernat_at_kaos.es wrote:
> 
> Hi all,
> 
> I've set up a Coda server for testing and by error I changed the 
> system date to a future date, and I rebooted. Now coda refuses
> to start. It complains with
> 
> Assertion failed: 0, file "srv.cc", line 1735
> Sleeping forever.  You may use gdb to attach to process 266.
> 
> What can I do to solve the problem?

- Kill the server if it is still hanging around.
- Set the date to beyond the time you had earlier.
- Use rvmutl to truncate all pending operations in the RVM log.
  (substitute `logfile' for your RVM log file or partition)

    > rvmutl
    * open_log <logfile>
    * status
    Status of log: /home/clement/linuxobj8/rvm-src/tests/logfile
    log created on:        Tue Nov  4 1997 17:31:10.244793
    log created with:      RVM Interface Version 1.3  7 Mar 1994
    (more display omitted ...)
    * recover
    * quit

- Set the date back to normal.
- Reinitialize the RVM log only!
    > rvmutl
    * i <logfile> 1M
    * quit

- Restart the server.

Maybe the date change isn't even necessary, but the truncation and
reinitialization definitely is.

Jan
Received on 2000-05-22 16:01:12