[OpenAFS] Some niewbie questions and problems

Jerome Walter walter+openafs@efrei.fr
Tue, 8 Jul 2003 17:04:54 +0200


On Tue, Jul 08, 2003 at 10:20:56AM -0400, Derek Atkins wrote:
> Jerome Walter <walter+openafs@efrei.fr> writes:
> 
> > created a key salted with des-cbc-crc:v4 for
> > afs/eleves.efrei.fr@ELEVES.EFREI.FR
> > 
> > asetkey add 2 -k file afs/eleves.efrei.fr
> 
> Hmm, are you sure it's 2, and not 3?  the 'ktadd' will usually increase the
> kvno.  I would check just to make sure...  

I am. In fact it was 3 a few days ago. But following an example given on this
list, i tried to change the kvno. Anyway, asetkey works with no problem. Is
the kvno so important ?

[snip aklog -d]
> >    Id 32766
[snip]
> > Shouldn't the id be 0 ?
> 
> Well, what ID did you install the PT database?

Ok, i didn't set it up. It is 1 now ;)

> > What is the problem with the pioctl ?
> 
> Do you have the client running?  You need a running client to 'aklog'

I did /etc/init.d/openafs-client start. Apart messages telling that modules
will "taint" kernel license, no problem.

But, ps aux does not give me any client. What is supposed to be its name ?

> > Every few seconds, i have the following error message displayed at screen :
> >    FSYNC_clientInit temporary failure (will retry): Connection refused
> > What is the service not running that should be ?
> 
> Sounds like you're missing a service.  What services do you have running?

bosserver, ptserver, vlserver, fileserver and suppoedly volsever. But on this
last i have a doubt :

$ ps aux
root      2499  S    16:35   0:00 bosserver -noauth
root      2554  S    16:44   0:00 /usr/lib/openafs/ptserver
root      2555  S    16:44   0:00 /usr/lib/openafs/vlserver
root      2575  S<   16:48   0:00 /usr/lib/openafs/fileserver
root      2576  S    16:48   0:00 /usr/lib/openafs/volserver
root      2577  S<   16:48   0:00 /usr/lib/openafs/fileserver
root      2578  S<   16:48   0:00 /usr/lib/openafs/fileserver
root      2579  S<   16:48   0:00 /usr/lib/openafs/fileserver

But netstat gives me nothing on port 7005.
Is it serious, doctor ? ;)

> > I assume i messed up somewhere, any clue ?
> 
> Sounds like ptserver isn't set up, or you may be missing another service.
Like volserver ? 
 
> > Finally, vos create cerbere a root.afs -localauth nor -noauth are working
> >    Could not fetch the list of partitions from the server
> >    Possible communication failure
> >    Possible communication failure
> 
> Are you running a volserver?

Cf above. But what can be the problem ?

Here comes some logs :
--- BosLog:
Tue Jul  8 16:55:10 2003: fs:vol exited with code 1
Tue Jul  8 16:58:36 2003: fs:vol exited with code 1

--- FileLog
Tue Jul  8 16:58:18 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.
Tue Jul  8 16:58:48 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.
Tue Jul  8 16:59:18 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.
Tue Jul  8 16:59:48 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.
Tue Jul  8 17:00:18 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.
Tue Jul  8 17:00:48 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.
Tue Jul  8 17:01:18 2003 Couldn't get CPS for AnyUser, will try again in 30
seconds; code=5389.

--- PtLog empty

--- SalvageLog
07/08/2003 16:48:17 STARTING AFS SALVAGER 2.4 (/usr/lib/openafs/salvager)
07/08/2003 16:48:17 Starting salvage of file system partition /vicepa
07/08/2003 16:48:17 SALVAGING FILE SYSTEM PARTITION /vicepa (device=vicepa)
07/08/2003 16:48:17 No vice inodes on vicepa; not salvaged
Temporary file /vicepa/salvage.inodes.vicepa.2573 is missing...

--- VLLog
Tue Jul  8 16:44:06 2003 Starting AFS vlserver 4 (/usr/lib/openafs/vlserver)

Seems the only one without error messages ;)


Anyway, aklog message changed after a full killing of processes (except afsd
which do not want to ... )

aklog: unable to obtain tokens for cell eleves.efrei.fr (status: Cache Manager
is not initialized / afsd is not running).

Seems better.


TIA 

Jerome

-- 
-+--   Jerome Walter - 	I2 EFREI		          ----+-
 Equipe Systeme - Efrei Robotique - Jap'Efrei - Erasmus Tutors
 "The World is my country" - "Nihon no tomodachi desu"
EFREI System and Networking guide http://perso.efrei.fr/~walter/