Re: [OpenAFS] Re: afs-newcell fail: Couldn't get CPS for AnyUser
On Sat, 2 May 2009 04:54:04 -0700 Xiong Jiang linus...@gmail.com wrote: Problem solved by using the key for afs/cell.n...@realm.name, instead of a...@realm.name. I don't know why I cannot use the later. So the section about the Kerberos principal and key in the guide at http://www.debian-administration.org/article/OpenAFS_installation_on_Debian should be: sudo rm -f /tmp/afs.keytab sudo kadmin.local Authenticating as principal root/ad...@spinlock.hr with password. kadmin.local: addprinc -policy service -randkey -e des-cbc-crc:v4 afs/spinlock.hr Principal afs/spinlock...@spinlock.hr created. kadmin.local: ktadd -k /tmp/afs.keytab -e des-cbc-crc:v4 afs/spinlock.hr Entry for principal afs with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/tmp/afs.keytab. kadmin.local: quit This usually works, it may be non-working due to some quirk in your setup. I'll see if I'll update the guide, because I'm not sure that masking the possible misconfiguration that you have somewhere in this way is good or bad. If you find out the specific problem in your setup that prevented this from working with as-is instructions from d-a guide, let us know. Cya, -doc ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
[OpenAFS] Connection Timed Out errors occasionally when accessing openafs drive
Hello, I have openafs 1.4.9 client and server running on two separate machines across a WAN. The client has scripts that access the /afs/our.cell/ directory. Occasionally, the script will fail to complete, and the logs will say that the Connection Timed Out on a mkdir -p /afs/our.cell/x/y/z command. The frequency of the errors are approximately 1 in 100, small enough to not be easily reproducible manually, but enough to hamper our project. The scripts run as the root user, and is guaranteed to have the proper ticket and token. It's also important to note that these scripts often run in parallel (4 at a time, all root, modifying our cell). When one fails, all scripts running concurrently will fail with the same error, and I typically either unlog;kdestroy or restart the openafs-client (I am unsure which of those solutions is necessary or sufficient). I will soon have an additional LAN setup, and will determine if the same error occurs. Has anyone dealt with this issue before? Thank you for the assistance, Ken ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Connection Timed Out errors occasionally when accessing openafs drive
I'd venture this is a bug fixed in 1.4.10, with idle dead time computation in rx. Derrick On May 10, 2009, at 9:53 PM, Ken Elkabany k...@elkabany.com wrote: Hello, I have openafs 1.4.9 client and server running on two separate machines across a WAN. The client has scripts that access the /afs/our.cell/ directory. Occasionally, the script will fail to complete, and the logs will say that the Connection Timed Out on a mkdir -p /afs/our.cell/x/y/z command. The frequency of the errors are approximately 1 in 100, small enough to not be easily reproducible manually, but enough to hamper our project. The scripts run as the root user, and is guaranteed to have the proper ticket and token. It's also important to note that these scripts often run in parallel (4 at a time, all root, modifying our cell). When one fails, all scripts running concurrently will fail with the same error, and I typically either unlog;kdestroy or restart the openafs-client (I am unsure which of those solutions is necessary or sufficient). I will soon have an additional LAN setup, and will determine if the same error occurs. Has anyone dealt with this issue before? Thank you for the assistance, Ken ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Connection Timed Out errors occasionally when accessing openafs drive
Is this bug fixed in the client or the server? Thanks. Ken On Sun, May 10, 2009 at 7:22 PM, Derrick Brashear sha...@gmail.com wrote: I'd venture this is a bug fixed in 1.4.10, with idle dead time computation in rx. Derrick On May 10, 2009, at 9:53 PM, Ken Elkabany k...@elkabany.com wrote: Hello, I have openafs 1.4.9 client and server running on two separate machines across a WAN. The client has scripts that access the /afs/our.cell/ directory. Occasionally, the script will fail to complete, and the logs will say that the Connection Timed Out on a mkdir -p /afs/our.cell/x/y/z command. The frequency of the errors are approximately 1 in 100, small enough to not be easily reproducible manually, but enough to hamper our project. The scripts run as the root user, and is guaranteed to have the proper ticket and token. It's also important to note that these scripts often run in parallel (4 at a time, all root, modifying our cell). When one fails, all scripts running concurrently will fail with the same error, and I typically either unlog;kdestroy or restart the openafs-client (I am unsure which of those solutions is necessary or sufficient). I will soon have an additional LAN setup, and will determine if the same error occurs. Has anyone dealt with this issue before? Thank you for the assistance, Ken ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Connection Timed Out errors occasionally when accessing openafs drive
it probably matters in the server here, but both. Derrick On May 10, 2009, at 10:35 PM, Ken Elkabany k...@elkabany.com wrote: Is this bug fixed in the client or the server? Thanks. Ken On Sun, May 10, 2009 at 7:22 PM, Derrick Brashear sha...@gmail.com wrote: I'd venture this is a bug fixed in 1.4.10, with idle dead time computation in rx. Derrick On May 10, 2009, at 9:53 PM, Ken Elkabany k...@elkabany.com wrote: Hello, I have openafs 1.4.9 client and server running on two separate machines across a WAN. The client has scripts that access the /afs/our.cell/ directory. Occasionally, the script will fail to complete, and the logs will say that the Connection Timed Out on a mkdir -p /afs/our.cell/x/y/z command. The frequency of the errors are approximately 1 in 100, small enough to not be easily reproducible manually, but enough to hamper our project. The scripts run as the root user, and is guaranteed to have the proper ticket and token. It's also important to note that these scripts often run in parallel (4 at a time, all root, modifying our cell). When one fails, all scripts running concurrently will fail with the same error, and I typically either unlog;kdestroy or restart the openafs-client (I am unsure which of those solutions is necessary or sufficient). I will soon have an additional LAN setup, and will determine if the same error occurs. Has anyone dealt with this issue before? Thank you for the assistance, Ken ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info