Coda File System

Re: failure after startserver &

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Mon, 20 Dec 1999 12:41:00 -0500
On Mon, Dec 20, 1999 at 02:07:07PM +0100, Detlef Weitz wrote:
> Hi all,
> 
> I got always the same error after starting the server:
> 
> ErrLog:
> 
> Assertion failed: ret == RVM_SUCCESS, file
> "/usr/src/redhat/BUILD/coda-5.3.3/coda-src/vol/recovc.cc", line 168
> Sleeping forever.  You may use gdb to attach to process
> 12669./vice/srv#      

That is on one of the first rvm transactions the server makes. This
error doesn't ring a bell, never seen anything happen around this
location before. What I don't understand is why you don't see the
error message printed;

        if (ret != RVM_SUCCESS)
            printf("Modify Bytes error %s\n",rvm_return(ret));
        CODA_ASSERT(ret == RVM_SUCCESS);                            
 
> 1. My sources are located in /usr/src/packages/SOURCES/coda-5.3.3 
> why /usr/src/redhat/BUILD/coda-5.3.3/coda-src/vol/recovc.cc 
> We compiled the  whole source code in
> /usr/src/packages/SOURCES/coda-5.3.3 !

It is simply not the server you think you are running. My best guess is
that the one you built is somewhere in /usr/local/sbin, but the one
actually running is in /usr/sbin. `startserver' is just a dumb script,
and it uses the default path to run the codasrv. So even when you start
/usr/local/sbin/startserver, it will happily start /usr/sbin/codasrv.

> 2. SrvLog seems to be ok!!!
> 
> 13:51:08 New SrvLog started at Mon Dec 20 13:51:08 1999
> 
> 13:51:08 Resource limit on data size are set to 2147483647
> 
> 13:51:08 Server etext 0x80f129a, edata 0x812a880
> 13:51:08 RvmType is Rvm
> 13:51:08 Main process doing a LWP_Init()
> 13:51:08 Main thread just did a RVM_SET_THREAD_DATA
> 
> 13:51:08 Setting Rvm Truncate threshhold to 5.  

..... There is no Salvaging or Fileserver started message, the server is
dead in the water.
> 
> 3. create your root volume: createvol_rep coda:root E0000100 /vicepa 
> will fails afterthen !!

Ofcourse, if there is no server.

Jan
Received on 1999-12-20 12:56:29