[OpenAFS] Serious trouble, mounting /afs, ptserver, database rebuilding
Wed, 23 Jul 2008 19:30:38 +0200
==> /var/log/openafs/PtLog <==
ptserver: Unknown code pt 11 (267275) Can't rebuild database because
it is not empty
Am 23.07.2008 um 19:10 schrieb kanou:
> I did the check on the copy. So well, my first afs-Server just
> mounted /afs but now the second one is in trouble with the same
> errors and i even cant get any kerberos tickets on that machine.
> Am 23.07.2008 um 18:52 schrieb Christof Hanke:
>> Just to make sure you're working on the correct file:
>> As I understand you first deleted the file /var/lib/openafs/db/
>> This file was then probably recreated when you restarted the
>> Run this command on the backupfile you made first (or better on a
>> copy of the backup file).
>> From: firstname.lastname@example.org [openafs-info-
>> email@example.com] On Behalf Of kanou [firstname.lastname@example.org]
>> Sent: Wednesday, July 23, 2008 6:46 PM
>> To: email@example.com
>> Subject: Re: [OpenAFS] Serious trouble, mounting /afs, ptserver,
>> database rebuilding
>> Thanks for your answer.
>> Well I found the file prdb_check. It doesnt print any errors. Only
>> thing I can find is with
>> ./prdb_check -database /var/lib/openafs/db/prdb.DB0 -uheader -verbose
>> this line:
>> Ubik header size is 0 (should be 64)
>> So there are no errors! I can start the server and everything runs
>> fine but the machine wont mount /afs!
>> Am 23.07.2008 um 17:26 schrieb Steven Jenkins:
>>> On Wed, Jul 23, 2008 at 10:51 AM, kanou <firstname.lastname@example.org> wrote:
>>>> well, there is a file called db_verify.c in the folder
>>>> /usr/src/modules/openafs/ptserver but I don' know how to build it.
>>> If I recall correctly, db_verify gets renamed to 'prdb_check' during
>>> the install, so you should check for the existence of that file.
>>> If you can't find it, you'll need to build it from source code: the
>>> directions on the AFSLore wiki are a good place to start:
>>> If you have problems building openafs-stable-1_4_x, you could get
>>> openafs-stable-1_4_7 instead, as that is the latest official
>>> Once you have built the tree, src/ptserver/db_verify should get
>>> so you can simply copy it out of the source tree for your use. If
>>> doesn't get built automatically for you, you can cd into src/
>>> and do a 'make db_verify' manuall.
>>> Also, feel free to ask for help here or on the irc channel.
>>> Steven Jenkins
>>> End Point Corporation
>> OpenAFS-info mailing list
> OpenAFS-info mailing list