[OpenAFS] Serious trouble, mounting /afs, ptserver, database rebuilding

Derrick Brashear shadow@gmail.com
Tue, 22 Jul 2008 16:29:53 -0400


------=_Part_119448_32069708.1216758593721
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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
>

------=_Part_119448_32069708.1216758593721
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">There&#39;s a db verify tool in src/ptserver; Are you able to build and run it?<br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 4:15 PM, kanou &lt;kanou@gmx.ch&gt; wrote:<br><blockquote class="gmail_quote" style="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&#39;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&#39;m pretty unexperienced with AFS.<br>
<br>
It started last week. There were messages like this:<br>
&quot;pts: database needs rebuilding&quot;.<br>
<br>
So I stopped the server with something like<br>
&quot;bos stop -server myserver -instance ptserver&quot; 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&#39;t mount AFS on /afs(22)<br>
<br>
The logs print:<br>
<br>
==&gt; /var/log/openafs/FileLog &lt;==<br>
Tue Jul 22 21:43:39 2008 Couldn&#39;t get CPS for AnyUser, will try again in 30 seconds; code=267275.<br>
<br>
and this:<br>
<br>
==&gt; /var/log/openafs/PtLog &lt;==<br>
ptserver: Unknown code pt 11 (267275) Can&#39;t rebuild database because it is not empty<br>
<br>
So playing back the prdb.DB0 and prdb.DBSYS1 and restarting the server didn&#39;t help.<br>
Please help me.<br>
<br>
Sincerely<br><font color="#888888">
kanou<br>
_______________________________________________<br>
OpenAFS-info mailing list<br>
<a href="mailto:OpenAFS-info@openafs.org" target="_blank">OpenAFS-info@openafs.org</a><br>
<a href="https://lists.openafs.org/mailman/listinfo/openafs-info" target="_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
</font></blockquote></div><br></div>

------=_Part_119448_32069708.1216758593721--