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

2008-07-23 Thread Jeffrey Altman
Obtaining an AFS token via Kerberos should be possible even if you do not have a working AFS server environment. Use "aklog -d" to obtain debugging information regarding the Kerberos service principal that is being acquired. The error you received "no KDC available" most likely indicates that

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

2008-07-23 Thread Christof Hanke
Don't be so unpatient, your reluctance to give proper information (OS,openafs-version, which services are running on which servers and so on) does not really invite help, does it ? Also, multiple emails having the same content doesn't really help. Anyway... First of all, 2 database-servers are a

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

2008-07-23 Thread kanou
So, I think there will be no help. So please tell me: Is it possible to build a system from scratch and to include all our user-data, all the files from our users? I got clean backups of all files. cheers kanou Am 23.07.2008 um 22:45 schrieb kanou: so, i thank you all for your help. i m sorr

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Andreas Hirczy
Jeffrey Altman <[EMAIL PROTECTED]> writes: > The Volserver is trying to establish a connection with the Fileserver > and it can't. As a result after five retries it exits with an assertion > failure. > > What is the state of the File Server? (FileLog) Thu Jul 24 01:00:26 2008 File server starti

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Jeffrey Altman
The Volserver is trying to establish a connection with the Fileserver and it can't. As a result after five retries it exits with an assertion failure. What is the state of the File Server? (FileLog) What version of OpenAFS are you using? Andreas Hirczy wrote: These are from the ==> /var/log

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Andreas Hirczy
anne salemme <[EMAIL PROTECTED]> writes: > if you have an actual client machine, that is not an afs server, you might be > able to get a cleaner idea about what is going on. obviously, some commands > have to be run directly on a server system...but if you can find another > client to use while yo

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread anne salemme
if you have an actual client machine, that is not an afs server, you might be able to get a cleaner idea about what is going on. obviously, some commands have to be run directly on a server system...but if you can find another client to use while you're trying to figure out/clean up what's wron

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Andreas Hirczy
anne salemme <[EMAIL PROTECTED]> writes: > one thing that i haven't seen in all this mail...are you running the client > commands on one of the afs servers? in other words, do your servers have afs > clients installed on them? >... > so...just to be clear, are you running your 'vos' commands on an

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread anne salemme
one thing that i haven't seen in all this mail...are you running the client commands on one of the afs servers? in other words, do your servers have afs clients installed on them? when you do certain things that could cause the client to hang, you don't want the client that's hanging be the on

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

2008-07-23 Thread kanou
so, i thank you all for your help. i m sorry for not beeing so experienced with afs/kerberos. it s pretty new to me. by now, my first server, the one that was broken, is running pretty good and everybody gets their files, but still the database needs rebuilding and i dont know how. the seco

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Andreas Hirczy
"Derrick Brashear" <[EMAIL PROTECTED]> writes: > ==> /var/log/openafs/VolserLog <== > FSYNC_clientInit failed (giving up!): Connection refused > Wed Jul 23 21:26:08 2008 > : Assertion failed! file ../vol/volume.c, line 705. > > dead volserver would of course explain a hang. the volserver w

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Derrick Brashear
On Wed, Jul 23, 2008 at 4:12 PM, Andreas Hirczy <[EMAIL PROTECTED]> wrote: > Steve Devine <[EMAIL PROTECTED]> writes: > > > Andreas Hirczy wrote: > >> > >> My AFS cell works ok in most scenarios, but since a reboot of one > DB-server > >> last friday no vos command besides "vos help" finishes - e.

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Andreas Hirczy
Steve Devine <[EMAIL PROTECTED]> writes: > Andreas Hirczy wrote: >> >> My AFS cell works ok in most scenarios, but since a reboot of one DB-server >> last friday no vos command besides "vos help" finishes - e.g. "vos exa >> root.afs -localauth -verbose" hangs indefinitely and does not produce any

Re: [OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Steve Devine
Andreas Hirczy wrote: Hi all! My AFS cell works ok in most scenarios, but since a reboot of one DB-server last friday no vos command besides "vos help" finishes - e.g. "vos exa root.afs -localauth -verbose" hangs indefinitely and does not produce any output. Log files are also basically empty.

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

2008-07-23 Thread kanou
Well i did: udebug myserver 7002 Host's addresses are: ip-myserver Host's ip-myserver time is Wed Jul 23 19:47:26 2008 Local time is Wed Jul 23 19:47:29 2008 (time differential 3 secs) Last yes vote for ip-myserver2 was 24 secs ago (sync site); Last vote started 24 secs ago (at Wed Jul 23 19:47:

[OpenAFS] 'vos' command dos not finish, file service works ok (sort of)

2008-07-23 Thread Andreas Hirczy
Hi all! My AFS cell works ok in most scenarios, but since a reboot of one DB-server last friday no vos command besides "vos help" finishes - e.g. "vos exa root.afs -localauth -verbose" hangs indefinitely and does not produce any output. Log files are also basically empty. File access works perfec

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

2008-07-23 Thread Steven Jenkins
On Wed, Jul 23, 2008 at 1:30 PM, kanou <[EMAIL PROTECTED]> wrote: > And this: > > ==> /var/log/openafs/PtLog <== > ptserver: Unknown code pt 11 (267275) Can't rebuild database because it is > not empty > I suggest dealing with first things first: until your ptserver is up and running correctly, yo

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

2008-07-23 Thread kanou
And this: ==> /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 sam

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

2008-07-23 Thread Hartmut Reuter
kanou wrote: My logs on the second machine tell me: ==> /var/log/openafs/FileLog.old <== Wed Jul 23 19:03:37 2008 File server starting Wed Jul 23 19:03:37 2008 afs_krb_get_lrealm failed, myserver2. Wed Jul 23 19:03:37 2008 VL_RegisterAddrs rpc failed; will retry periodically (code=5376, err=4)

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

2008-07-23 Thread Derrick Brashear
On Wed, Jul 23, 2008 at 1:10 PM, kanou <[EMAIL PROTECTED]> wrote: > 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. > > "the same errors". mount faile

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

2008-07-23 Thread kanou
My logs on the second machine tell me: ==> /var/log/openafs/FileLog.old <== Wed Jul 23 19:03:37 2008 File server starting Wed Jul 23 19:03:37 2008 afs_krb_get_lrealm failed, myserver2. Wed Jul 23 19:03:37 2008 VL_RegisterAddrs rpc failed; will retry periodically (code=5376, err=4) Wed Jul 23 19

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

2008-07-23 Thread 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 fil

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

2008-07-23 Thread Steven Jenkins
On Wed, Jul 23, 2008 at 11:46 AM, kanou <[EMAIL PROTECTED]> wrote: > 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 (

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

2008-07-23 Thread kanou
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 everythin

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

2008-07-23 Thread Steven Jenkins
On Wed, Jul 23, 2008 at 10:51 AM, kanou <[EMAIL PROTECTED]> wrote: > 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. If I recall correctly, db_verify gets renamed to 'prdb_check' during the install, so you should

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

2008-07-23 Thread kanou
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, 200