Trying to install openafs client on cumulus to copy data from my OpenAFS servers easily.
Did:
apt-get install openafs-client
module-assistant auto-install openafs
/etc/init.d/openafs-client force-start
apt-get install heimdal-clients
Works.
Showing posts with label openafs. Show all posts
Showing posts with label openafs. Show all posts
Friday, October 16, 2009
Monday, May 14, 2007
Continuing the OpenAFS debugging.
The problem is that when starting up afs, the salvaging runs continuously, because fileserver with (from FileLog):
VL_RegisterAddrs rpc failed; The IP address exists on a different server; repair it
VL_RegisterAddrs rpc failed; See VLLog for details
Fatal error in library initialization, exiting!!
I'm guessing it has something to do with my server having two IP-addresses: one intranet and one Internet (it acts as a firewall/router). In order to prevent having the intranet address sent to extranet servers, I've specified the extranet address in the NetRestrict configuration file.
I'm also experiencing the strangeness reported in this post, that even though it looks like I have only one IP address (the extranet one) when I do vos listvldb, when I do changeaddr, only some of them change.
I had a similar problem recently, when the fix in the post worked, but it doesn't now.
I ran volserver in the debugger, and it seems to have a list of addresses which is incorrent.
And then, all of a sudden, it worked. The fileserver is up and running. I guess I'll have to revisit this next time I get this problem. Argh.
The problem is that when starting up afs, the salvaging runs continuously, because fileserver with (from FileLog):
VL_RegisterAddrs rpc failed; The IP address exists on a different server; repair it
VL_RegisterAddrs rpc failed; See VLLog for details
Fatal error in library initialization, exiting!!
I'm guessing it has something to do with my server having two IP-addresses: one intranet and one Internet (it acts as a firewall/router). In order to prevent having the intranet address sent to extranet servers, I've specified the extranet address in the NetRestrict configuration file.
I'm also experiencing the strangeness reported in this post, that even though it looks like I have only one IP address (the extranet one) when I do vos listvldb, when I do changeaddr, only some of them change.
I had a similar problem recently, when the fix in the post worked, but it doesn't now.
I ran volserver in the debugger, and it seems to have a list of addresses which is incorrent.
And then, all of a sudden, it worked. The fileserver is up and running. I guess I'll have to revisit this next time I get this problem. Argh.
Everything is giving me trouble, now it's OpenAFS, latest stable version 1.4.4
One bugfix: src/bozo/bosserver.c:1109, fclose should be moved up to the first part of the preceding if statement, gives SEGFAULT if log file can't be opened.
One bugfix: src/bozo/bosserver.c:1109, fclose should be moved up to the first part of the preceding if statement, gives SEGFAULT if log file can't be opened.
Thursday, May 10, 2007
I'd like to get Apache 2 to access files on my AFS file system. Ideally both when no user is authenticated, and with user's credentials when a user has authenticated via Kerberos 5.
I have authentication via Kerberos 5 working with the auth_kerb_module (mod_auth_kerb.so).
I can't quite wrap my head around how ticket caches and afs PAGs (Process Authentication Groups) work.
Here's a writeup on PAGs and web server authentication.
Questions: How are PAGs related to the actual credentials? By the KRB5CCNAME environment variable? (I'm running the Heimdal Kerberos implementation).
Ideally the auth_kerb_module could for each access make sure the apache process/thread has tokens/PAG for either the authenticated user or the www kerberos/afs user.
In theory the mod would do k_hasafs to intialize library, k_setpag() to create a new (empty) PAG, get the proper kerberos 5 credentials (either for the user or Apache's srvtab), convert them to afs tickets with krb5_afslog, perform the request, and then after the request destroy the pag with k_unlog.
More to come (I hope)...
I have authentication via Kerberos 5 working with the auth_kerb_module (mod_auth_kerb.so).
I can't quite wrap my head around how ticket caches and afs PAGs (Process Authentication Groups) work.
Here's a writeup on PAGs and web server authentication.
Questions: How are PAGs related to the actual credentials? By the KRB5CCNAME environment variable? (I'm running the Heimdal Kerberos implementation).
Ideally the auth_kerb_module could for each access make sure the apache process/thread has tokens/PAG for either the authenticated user or the www kerberos/afs user.
In theory the mod would do k_hasafs to intialize library, k_setpag() to create a new (empty) PAG, get the proper kerberos 5 credentials (either for the user or Apache's srvtab), convert them to afs tickets with krb5_afslog, perform the request, and then after the request destroy the pag with k_unlog.
More to come (I hope)...
Labels:
afs,
apache,
Apache 2,
kerberos,
kerberos 5,
mod_auth_kerb,
openafs,
pag
Subscribe to:
Posts (Atom)