[OpenAFS] Couldn't get CPS for AnyUser, will try again in 30 seconds; code=5376

2011-04-28 Thread Claudio Prono
Hello all,

I have a test AFS system internally, and it usually works. From today, i
have this messages into FileLog:

Thu Apr 28 11:49:48 2011 File server starting
Thu Apr 28 11:49:48 2011 afs_krb_get_lrealm failed, using
mediaservice-test.pri.
Thu Apr 28 11:49:48 2011 VL_RegisterAddrs rpc failed; will retry
periodically (code=363546, err=0)
Thu Apr 28 11:49:48 2011 Couldn't get CPS for AnyUser, will try again in
30 seconds; code=5376.
Thu Apr 28 11:50:18 2011 Couldn't get CPS for AnyUser, will try again in
30 seconds; code=5376.

bos status afs-test
Instance buserver, has core file, currently running normally.
Instance ptserver, currently running normally.
Instance vlserver, currently running normally.
Instance fs, currently running normally.
Auxiliary status is: file server running.
Instance upserver, currently running normally.

vos listaddrs
127.0.0.2
afs-test.mediaservice-test.pri

bos listkeys -server afs-test
key 3 has cksum 1465027182
key version is 4
Keys last changed on Thu Apr 28 11:44:56 2011.
All done.

What can be the problem?

Cordially,

Claudio Prono.



-- 

Claudio Prono OPST
System Developer   
  Gsm: +39-349-54.33.258
@PSS Srl  Tel: +39-011-32.72.100
Via San Bernardino, 17Fax: +39-011-32.46.497
10141 Torino - ITALY  http://atpss.net/disclaimer

PGP Key - http://keys.atpss.net/c_prono.asc




___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Integrated Windows Logon

2011-04-28 Thread Hugo Monteiro

On 04/28/2011 03:21 AM, Jeffrey Altman wrote:

On 4/1/2011 3:00 PM, Hugo Monteiro wrote:

On 04/01/2011 07:04 PM, Jeffrey Altman wrote:

Looking up TheseCells
...
Located TheseCells in hkDom size 18
...
Found TheseCells [staff.fct.unl.pt]
...
KFW_AFS_get_cred uname=[u...@fct.unl.pt] smbname=[staff\user]
cell=[fct.unl.pt] code=[0]
...
KFW_AFS_get_cred uname=[u...@fct.unl.pt] smbname=[staff\user]
cell=[staff.fct.unl.pt] code=[-1765328189]

this problem should be fixed in 1.6.0pre5 (1.5.9905) when it is released.

Jeffrey Altman



Hello Jeffrey,

Thank you so much for your attention and effort.

Best Regards,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email: hugo.monte...@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web  : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.ptap...@fct.unl.pt

fct.unl.pt:~# _

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] [OpenAFS] Re: [OpenAFS] Re: [OpenAFS] Re: [OpenAFS] AW: Re: [OpenAFS] Windows client Cygwin and symlinks on afs volume

2011-04-28 Thread Jeffrey Altman
On 4/20/2011 9:13 AM, Axel Müller wrote:
 Any new info on this topic? Anything I can do to debug it? I would appreciate 
 any help.
 
   Axel

The troubleshooting section of the release notes installed on the client
machine (Programs-OpenAFS-Documentation-Release Notes) explains how
to collect information using the AFS Cache Manager's
trace logging, Sysinternal's Process Monitor and Debug Viewer.  Process
Monitor captures the view from the application.  The cache manager's
trace logging captures the view from the AFS SMB server and the
interactions with the file server.  Neither can see the internals of the
Microsoft SMB redirector nor the Microsoft Netbios/TCP stack.
Collected data can be filed with a bug report to openafs-b...@openafs.org.

Bug reports are addressed based upon the criticality of the issue for
the community as a whole, the estimated amount of time necessary to
understand the cause of the issue, and the availability of volunteer
time to debug the cause the and design/implement a fix.

Organizations that are experiencing an issue which is important to
themselves but for which freely available development cycles are not
available are encouraged to take advantage of the commercial support
options some of which are listed at http://www.openafs.org/support.html.

Jeffrey Altman



signature.asc
Description: OpenPGP digital signature


[OpenAFS] Re: Tuning the -daemons.

2011-04-28 Thread Andrew Deason
On Thu, 28 Apr 2011 10:46:25 +0200
Jan Johansson j...@it.su.se wrote:

 So when reading the thread more closely I found a command that I
 had missed.
 
 cmdebug client
 
 So this time around I tried it when the IMAP server broke and got no
 response (it timed out).
 
 Would it be correct to assume that this is evidence that I am seeing
 the mentioned problem?

It suggests that it could be the problem, but technically really
anything holding xvcache could cause that (or anything else causing the
callback thread to hang). But certainly the issue in this thread is the
most likely cause.

If you want to really be sure that that's it, you could 'echo t 
/proc/sysrq-trigger' and look in syslog. If you see a process inside
afs_FlushVCBs and RXAFS_GiveUpCallBacks, that would pretty much prove
that this is the specific issue.

-- 
Andrew Deason
adea...@sinenomine.net

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Re: Couldn't get CPS for AnyUser, will try again in 30 seconds; code=5376

2011-04-28 Thread Andrew Deason
On Thu, 28 Apr 2011 12:34:27 +0200
Christof Hanke christof.ha...@rzg.mpg.de wrote:

 # translate_et 5376
 5376 (u).0 = no quorum elected
 
 The DB-Servers cannot agree on who should be the master.

VLLog and 'udebug vlserver 7003' might help indicate why.

If the dbservers were just turned on, you may just have needed to wait a
couple of minutes.

-- 
Andrew Deason
adea...@sinenomine.net

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Windows 7 x64: \\afs\cs.uwm.edu refers to a location that is unavailable

2011-04-28 Thread John Tang Boyland
Here is the problem I alluded to earlier:

I have a student who bought a new laptop with Windows Version 6.1.7600 and 
installed NIM and OpenAFS 1.5.9904 and things ALMOST work.

They can get tokens and can go to \\afs\openafs.org
and \\afs\cs.wisc.edu but not \\afs\cs.uwm.edu
When they try, they get the message:
\\afs\cs.uwm.edu refers to a location that is unavailable.  It could be
 on a hard drive on this computer, or on a network.  Check...

They can run vos commands: vos examine root.cell works fine.

If they run fs checks, there is a long pause, and then it says that
filip.cs.uwm.edu is unavailable, even though it pings fine from this
machine and the server is accessible from elsewhere.
(filip is the RW location of root.cell, but it is also available on two
other servers: solomons and jeremiah)  The main DB server is solomons.

NET VIEW \\AFS shows

Share name  
...
cs.uwm.edu   Disk  UNCAFS MountPoint to #cs.uwm.edu:root.cell.
cs.wisc.edu  Disk   AFS MountPoint to #cs.wisc.edu:root.cell
openafs.org  Disk   AFS MountPoint to #openafs.org:root.cell

NB: The period at the end of the cs.uwm.edu entry makes me worried
now.  Is that a possible problem?  And why are ONLY the cells that
cannot be reached marked as UNC?  But if the period was the error, why
would it say that filip was unavailable?

Everything looks fine in the AFS Control Panel
(although no uwm machines show up in the Server Preferences pane)

Best regards,
John


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Windows 7 x64: \\afs\cs.uwm.edu refers to a location that is unavailable

2011-04-28 Thread Dirk Heinrichs

Am 28.04.2011 19:20, schrieb John Tang Boyland:


Here is the problem I alluded to earlier:

I have a student who bought a new laptop with Windows Version 6.1.7600 and
installed NIM and OpenAFS 1.5.9904 and things ALMOST work.

They can get tokens and can go to \\afs\openafs.org
and \\afs\cs.wisc.edu but not \\afs\cs.uwm.edu
When they try, they get the message:
\\afs\cs.uwm.edu refers to a location that is unavailable.  It could be
  on a hard drive on this computer, or on a network.  Check...


Just integrated my first Windows client into my otherwise Linux only 
cell and have a similar problem here. System is WinXP SP3 (32bit) with 
OpenAFS 1.5.99d/KfW 3.22. Everything works fine except UNC path access. 
I get a message similar to the above (translated from german) when I 
enter the UNC path into Windows Explorer's address bar:


The file \\afs\altum.de was not found. Please check spelling and 
repeat the action or search for the file by clicking on Start and then 
on Search.


Bye...

Dirk
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Windows 7 x64: \\afs\cs.uwm.edu refers to a location that is unavailable

2011-04-28 Thread Jeffrey Altman
On 4/28/2011 3:22 PM, Dirk Heinrichs wrote:
 Am 28.04.2011 19:20, schrieb John Tang Boyland:
 
 Here is the problem I alluded to earlier:

 I have a student who bought a new laptop with Windows Version 6.1.7600
 and
 installed NIM and OpenAFS 1.5.9904 and things ALMOST work.

 They can get tokens and can go to \\afs\openafs.org
 and \\afs\cs.wisc.edu but not \\afs\cs.uwm.edu
 When they try, they get the message:
 \\afs\cs.uwm.edu refers to a location that is unavailable.  It could be
   on a hard drive on this computer, or on a network.  Check...
 
 Just integrated my first Windows client into my otherwise Linux only
 cell and have a similar problem here. System is WinXP SP3 (32bit) with
 OpenAFS 1.5.99d/KfW 3.22. Everything works fine except UNC path access.
 I get a message similar to the above (translated from german) when I
 enter the UNC path into Windows Explorer's address bar:
 
 The file \\afs\altum.de was not found. Please check spelling and
 repeat the action or search for the file by clicking on Start and then
 on Search.
 
 Bye...
 
 Dirk

Execute the following commands, place the resulting output somewhere in
/afs that I can access them, and file a bug report at
openafs-b...@openafs.org.

fs trace -on -reset
dir \\afs\altum.de\
fs trace -dump -off
fs memdump

cd %windir%\temp\

the files to be copied are:

afsd_init.log afsd_alloc.log afsd.log

Jeffrey Altman



signature.asc
Description: OpenPGP digital signature


Re: [OpenAFS] Windows 7 x64: \\afs\cs.uwm.edu refers to a location that is unavailable

2011-04-28 Thread Jeffrey Altman
On 4/28/2011 1:20 PM, John Tang Boyland wrote:
 Here is the problem I alluded to earlier:
 
 I have a student who bought a new laptop with Windows Version 6.1.7600 and 
 installed NIM and OpenAFS 1.5.9904 and things ALMOST work.
 
 They can get tokens and can go to \\afs\openafs.org
 and \\afs\cs.wisc.edu but not \\afs\cs.uwm.edu
 When they try, they get the message:
 \\afs\cs.uwm.edu refers to a location that is unavailable.  It could be
  on a hard drive on this computer, or on a network.  Check...

this means that the evaluation of the mount point \\afs\all\cs.uwm.edu
is incorrect.  This could be a bug introduced in 1.5.9904 which is fixed
in the source tree waiting for 1.5.9905 (1.6.0pre5) to be released.

fs lsm \\afs\all\cs.uwm.edu will report the mount point info.
If its wrong, fs rmm \\afs\all\cs.uwm.edu and fs mkm
\\afs\all\cs.uwm.edu correct-target

Or it could be something else

 They can run vos commands: vos examine root.cell works fine.

vos commands do not use the cache manager or the mount point definition
in the freelance root volume.

 If they run fs checks, there is a long pause, and then it says that
 filip.cs.uwm.edu is unavailable, even though it pings fine from this
 machine and the server is accessible from elsewhere.
 (filip is the RW location of root.cell, but it is also available on two
 other servers: solomons and jeremiah)  The main DB server is solomons.

fs memdump will produce a file %windir%\temp\afsd_alloc.log that dumps
the contents of a large number of cache manager objects.  At the bottom
of the list is the list of servers and their status.

A cache manager trace for the operations can be obtained with

fs trace -reset -on
fs checkservers
fs trace -dump -off

which produces %windir%\temp\afsd.log and records the operations of all
of the threads in the userland cache manager.

 NET VIEW \\AFS shows
 
 Share name  
 ...
 cs.uwm.edu   Disk  UNCAFS MountPoint to #cs.uwm.edu:root.cell.
 cs.wisc.edu  Disk   AFS MountPoint to #cs.wisc.edu:root.cell
 openafs.org  Disk   AFS MountPoint to #openafs.org:root.cell
 
 NB: The period at the end of the cs.uwm.edu entry makes me worried
 now.  Is that a possible problem?  And why are ONLY the cells that
 cannot be reached marked as UNC?  But if the period was the error, why
 would it say that filip was unavailable?

The period is the problem.  That is a bug that has been fixed.  You can
correct it locally by following the instructions above.

The server being offline is a separate issue entirely.

Jeffrey Altman



signature.asc
Description: OpenPGP digital signature


Re: [OpenAFS] Windows 7 x64: \\afs\cs.uwm.edu refers to a location that is unavailable

2011-04-28 Thread Dirk Heinrichs
Am 28.04.2011 21:31, schrieb Jeffrey Altman:

 Execute the following commands, place the resulting output somewhere in
 /afs that I can access them, and file a bug report at
 openafs-b...@openafs.org.

Unfortunately my cell is not publicly accessible, so it would be nice if
you could tell me a warm place for the files (via private mail, of course).

Thanks...

Dirk



signature.asc
Description: OpenPGP digital signature


Re: [OpenAFS] Re: Couldn't get CPS for AnyUser, will try again in 30 seconds; code=5376

2011-04-28 Thread Michael Meffie

Andrew Deason wrote:

On Thu, 28 Apr 2011 12:34:27 +0200
Christof Hanke christof.ha...@rzg.mpg.de wrote:


# translate_et 5376
5376 (u).0 = no quorum elected

The DB-Servers cannot agree on who should be the master.


VLLog and 'udebug vlserver 7003' might help indicate why.

If the dbservers were just turned on, you may just have needed to wait a
couple of minutes.


Some simple checks to make as well:

* Clock skew can cause problems. Be sure the clocks are
  synchronized on all the db servers with ntpd.

* Verify the server side CellServDB files on the db servers
  are correct and are identical.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info