[OpenAFS] Serious trouble, mounting /afs, ptserver, database rebuilding
kanou
kanou@gmx.ch
Wed, 23 Jul 2008 16:51:46 +0200
--Apple-Mail-6-146821234
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
Hello,
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.
Greetings
kanou
Am 22.07.2008 um 22:29 schrieb Derrick Brashear:
> There's a db verify tool in src/ptserver; Are you able to build and
> run it?
>
> On Tue, Jul 22, 2008 at 4:15 PM, kanou <kanou@gmx.ch> wrote:
> Hello,
> i realy need some help. If I can't get this mess fixed I will be in
> serious trouble.
>
> Our AFS is running for more than 5 years, but I just joined the
> company a few weeks ago - so I'm pretty unexperienced with AFS.
>
> It started last week. There were messages like this:
> "pts: database needs rebuilding".
>
> So I stopped the server with something like
> "bos stop -server myserver -instance ptserver" and
> did something perhaps not pretty good: Made backups of /var/lib/
> openafs/db and
> deleted prdb.DB0 and prdb.DBSYS1.
>
> Restart:
> bos create -server myserver -instance ptserver -type simple -cmd /
> usr/lib/openafs/ptserver
>
> That did it. The systems broken.
> Starting afsd prints:
> afsd: Can't mount AFS on /afs(22)
>
> The logs print:
>
> ==> /var/log/openafs/FileLog <==
> Tue Jul 22 21:43:39 2008 Couldn't get CPS for AnyUser, will try
> again in 30 seconds; code=267275.
>
> and this:
>
> ==> /var/log/openafs/PtLog <==
> ptserver: Unknown code pt 11 (267275) Can't rebuild database because
> it is not empty
>
> So playing back the prdb.DB0 and prdb.DBSYS1 and restarting the
> server didn't help.
> Please help me.
>
> Sincerely
> kanou
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--Apple-Mail-6-146821234
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Hello,<div>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.</div><div>Greetings</div><div>kanou</div><div><br><div><div>Am =
22.07.2008 um 22:29 schrieb Derrick Brashear:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
dir=3D"ltr">There's a db verify tool in src/ptserver; Are you able to =
build and run it?<br><br><div class=3D"gmail_quote">On Tue, Jul 22, 2008 =
at 4:15 PM, kanou <<a href=3D"mailto:kanou@gmx.ch">kanou@gmx.ch</a>> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px =
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: =
1ex;"> Hello,<br> i realy need some help. If I can't get this mess fixed =
I will be in serious trouble.<br> <br> Our AFS is running for more than =
5 years, but I just joined the company a few weeks ago - so I'm pretty =
unexperienced with AFS.<br> <br> It started last week. There were =
messages like this:<br> "pts: database needs rebuilding".<br> <br> So I =
stopped the server with something like<br> "bos stop -server myserver =
-instance ptserver" and<br> did something perhaps not pretty good: Made =
backups of /var/lib/openafs/db and<br> deleted prdb.DB0 and =
prdb.DBSYS1.<br> <br> Restart:<br> bos create -server myserver -instance =
ptserver -type simple -cmd /usr/lib/openafs/ptserver<br> <br> That did =
it. The systems broken.<br> Starting afsd prints:<br> afsd: Can't mount =
AFS on /afs(22)<br> <br> The logs print:<br> <br> =3D=3D> =
/var/log/openafs/FileLog <=3D=3D<br> Tue Jul 22 21:43:39 2008 =
Couldn't get CPS for AnyUser, will try again in 30 seconds; =
code=3D267275.<br> <br> and this:<br> <br> =3D=3D> =
/var/log/openafs/PtLog <=3D=3D<br> ptserver: Unknown code pt 11 =
(267275) Can't rebuild database because it is not empty<br> <br> So =
playing back the prdb.DB0 and prdb.DBSYS1 and restarting the server =
didn't help.<br> Please help me.<br> <br> Sincerely<br><font =
color=3D"#888888"> kanou<br> =
_______________________________________________<br> OpenAFS-info mailing =
list<br> <a href=3D"mailto:OpenAFS-info@openafs.org" =
target=3D"_blank">OpenAFS-info@openafs.org</a><br> <a =
href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" =
target=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info<=
/a><br> =
</font></blockquote></div><br></div></blockquote></div><br></div></body></=
html>=
--Apple-Mail-6-146821234--