[OpenAFS] A newbie on Install/Configure openafs-1.4.12.1-src
Hi ,all I'm newbie for OpenAFS , now working under RedHat6 x86_64 , but no rpms for my evironment . So beg your help . After comple the openafs-1.4.12.1-src.tar.gz , my dir is now under /usr/local/src/openafs-1.4.12.1/amd64_linux26/dest/ .The results showed below [r...@linux ~] ls /usr/local/src/openafs-1.4.12.1/amd64_linux26/dest/ bin etc include lib LICENSE root.client root.perf root.server As docs http://docs.openafs.org/QuickStartUnix/ch02s09.html#HDRWQ44 sayed : Copy the AFS kernel library files to the local /usr/vice/etc/modload directory , but no /usr/vice or /usr/afs exist as no rpm install . I wanna know should I mv root.server to /usr/afs , and root.client to /usr/vice ? what about other files ? Maybe what I doubt is can comling src completely replace the rpm install ? 2. How can I start my afs if all the installation is done ( I did only on one machine right now ), docs instruct me to start bosserver , what's the relation between bosserver and afs ? I did start the bosserver -noauth , at the same time , use the below cmd , but showed wrong info # /etc/init.d/afs start Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes. Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly. Ifconfig is obsolete! For replacement check ip. Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes. Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly. Ifconfig is obsolete! For replacement check ip. Failed to load AFS client, not starting AFS services. Thank you for your reply :) -- Best Regards Wei MU Follow me on Twitter https://twitter.com/LInd_cn
[OpenAFS] Problem with openafs 1.4.12-34 in RHEL6 beta
Hi there, i tried to use the ATRPMS-openafs-packages for RHEL6 beta2 (kernel 2.6.32-44.2.el6.i686 openafs version 1.4.12-34.el5_89_1). If i start openafs i get the error: afsd: All AFS daemons started. afsd: Can't mount AFS on /afs(22) afs-module was loaded: # lsmod |grep afs libafs558460 0 bye Thomas ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
[OpenAFS] VMware and AFS
We are running an Ubuntu server Ubuntu 8.04.4 LTS with the OpenAFS 1.4.11 client on a VM guest. This works great except over time the afs client wedges the server - (Ram gets consumed). When this happens we have to do a hard reboot to get it back on line. How many others are running AFS clients on VMware guests? Any issues or suggestions on troubleshooting this? The VMWare is version 4.0. Steve Devine Systems Infrastructure Academic Technology Services Michigan State University ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
[OpenAFS] Re: A newbie on Install/Configure openafs-1.4.12.1-src
On Thu, 16 Sep 2010 14:37:33 +0800 LInd heavenmade1...@gmail.com wrote: Hi ,all I'm newbie for OpenAFS , now working under RedHat6 x86_64 , but no rpms for my evironment . So beg your help . Do you want RPMs? You can build your own; if you use a couple of patches from the git repository it will even work with RHEL 6. We can tell you how, if you want to go that route. After comple the openafs-1.4.12.1-src.tar.gz , my dir is now under /usr/local/src/openafs-1.4.12.1/amd64_linux26/dest/ .The results showed below [r...@linux ~] ls /usr/local/src/openafs-1.4.12.1/amd64_linux26/dest/ bin etc include lib LICENSE root.client root.perf root.server As docs http://docs.openafs.org/QuickStartUnix/ch02s09.html#HDRWQ44 sayed : Copy the AFS kernel library files to the local /usr/vice/etc/modload directory , but no /usr/vice or /usr/afs exist as no rpm install . I wanna know should I mv root.server to /usr/afs , and root.client to /usr/vice ? what about other files ? If you ran ./configure with --enable-transarc-paths, you generally want the stuff in root.client/usr/vice/etc/ to be in /usr/vice/etc/ on your machine. If /usr/vice/etc/ doesn't exist, then just create it. Same for /usr/afs/etc/. The Quick Start Guide assumes you ran with --enable-transarc-paths, I think. The stuff in bin/ and etc/ you can put anywhere in your PATH. Historically it has gone in /usr/afsws/bin and /usr/afsws/etc, but most distributions put them in /usr/bin and /usr/sbin. You may want to put the stuff in bin/ in /usr/local/bin/ and etc/ in /usr/local/sbin/. But it's up to you. You mostly likely don't need the stuff in include/ or lib/ or root.perf/ at all. If you did _not_ run ./configure with --enable-transarc-paths, I don't think you want to run 'make dest'. You can just run 'make' and 'make install'. 2. How can I start my afs if all the installation is done ( I did only on one machine right now ), docs instruct me to start bosserver , what's the relation between bosserver and afs ? I did start the bosserver -noauth , at the same time , use the below cmd , but showed wrong info Are you trying to create a new AFS cell, or do you just want to run a client to access other cells? bosserver is the daemon that runs other OpenAFS server daemons; you configure it on cell fileservers and database servers. # /etc/init.d/afs start If you are trying to set up your own cell, you cannot start the client just right after starting bosserver; there are other things you need to set up first. You might be a little confused because the Quick Start Guide I think guides you to set up some client stuff before setting up the server. This is because historically it was necessary to set up some client bits before setting up the server, but on Linux and a few other modern systems you don't need to. I'd say set up the server before bothering with any client stuff at all. That is, I think you want to continue following the guide from here: http://docs.openafs.org/QuickStartUnix/ch02s11.html -- Andrew Deason adea...@sinenomine.net ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles....
Claudio Prono ha scritto: Hello all, I am testing a solution like: OpenAFS with kerberos, Windows XP with Integrated logon and roaming profile. OpenAFS works, Kerberos works, integrated logon works... The profile on AFS not. I have manually copied the profile in a directory on AFS like msprofile, edited the windows registry at key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and changed the key ProfileImagePath to \\afs\mediaservice-test.pri\users\claudio\msprofile Deleted the local profile, rebooted the machine, logged in as claudio... and...a new local profile was created!!! If i check the registry key, it is changed again to the default (something like %SystemDrive%\Documents and Settings\claudio.TESTAFS)... What i am doing wrong? What is the best solution? Cordially, Claudio Prono. No one have any hint about that? Sorry to bother again... 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
[OpenAFS] Re: Problem with openafs 1.4.12-34 in RHEL6 beta
On Thu, 16 Sep 2010 09:49:12 +0200 Thomas Koppe thomas.ko...@hrz.tu-chemnitz.de wrote: Hi there, i tried to use the ATRPMS-openafs-packages for RHEL6 beta2 (kernel 2.6.32-44.2.el6.i686 openafs version 1.4.12-34.el5_89_1). If i start openafs i get the error: afsd: All AFS daemons started. afsd: Can't mount AFS on /afs(22) afs-module was loaded: # lsmod |grep afs libafs558460 0 Anything in dmesg or syslog? Does /afs exist (should be an empty dir)? What options are you giving to afsd? What's the local cell (in ThisCell)? -- Andrew Deason adea...@sinenomine.net ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles....
Claudio Prono claudio.pr...@atpss.net wrote: I am testing a solution like: OpenAFS with kerberos, Windows XP with Integrated logon and roaming profile. OpenAFS works, Kerberos works, integrated logon works... The profile on AFS not. I have manually copied the profile in a directory on AFS like msprofile, edited the windows registry at key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and changed the key ProfileImagePath to \\afs\mediaservice-test.pri\users\claudio\msprofile Deleted the local profile, rebooted the machine, logged in as claudio... and...a new local profile was created!!! If i check the registry key, it is changed again to the default (something like %SystemDrive%\Documents and Settings\claudio.TESTAFS)... What i am doing wrong? What is the best solution? Are you literally changing the registry? And not doing things the supported way by setting the user profile path within Active Directory? I'd say the best solution is to NOT edit the registry directly to change a profile location. There are some group policy settings to disable windows trying to change permissions on the profile path. I suspect this might be causing problems as Windows does not know how to set AFS permissions and if this attempt fails, Windows reverts to a local profile. Also, you might need to set at least system:anyuser l on the folder so that the computer itself (without AFS credentials) can see that the folder exists before trying to use it as a profile path. I am not sure about that though. CDC ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
RE: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles....
I would guess - and I emphasize guess - is that when the XP log in process needs the profile, AFS is not yet functioning, no profile is found and so XP creates a new one. -Original Message- From: openafs-info-ad...@openafs.org [mailto:openafs-info- ad...@openafs.org] On Behalf Of Claudio Prono Sent: Thursday, September 16, 2010 10:24 AM To: openafs-info@openafs.org Subject: Re: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles Claudio Prono ha scritto: Hello all, I am testing a solution like: OpenAFS with kerberos, Windows XP with Integrated logon and roaming profile. OpenAFS works, Kerberos works, integrated logon works... The profile on AFS not. I have manually copied the profile in a directory on AFS like msprofile, edited the windows registry at key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and changed the key ProfileImagePath to \\afs\mediaservice-test.pri\users\claudio\msprofile Deleted the local profile, rebooted the machine, logged in as claudio... and...a new local profile was created!!! If i check the registry key, it is changed again to the default (something like %SystemDrive%\Documents and Settings\claudio.TESTAFS)... What i am doing wrong? What is the best solution? Cordially, Claudio Prono. No one have any hint about that? Sorry to bother again... 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 ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] VMware and AFS
We are running AFS as both servers and clients under a combination of vmware products. We have 3 AFS servers running under ESXi. Our student UNIX login servers are also running under ESXI and are running the client. Both have worked flawlessly. I am also running a fourth AFS server under VMWare fusion, and its been running flawlessly as well (it was just tricky to have it startup at boot). We use VMWare workstation / fusion for a number of courses, and each have AFS client installed. Again, students use those in a variety of abusive ways and it has worked fine. We *were* using 8.10 on our servers - so I wasn't using 8.04. You may want to look to ensure that your cache settings on the clients aren't set to use memory, that can make things pretty slow - esp. since VMWare places game with the guest's physical memory and how its actually allocated. My intuition is that the memory cache would reduce performance for the virtual machine. -tom On Thu, Sep 16, 2010 at 9:03 AM, Steve Devine s...@msu.edu wrote: We are running an Ubuntu server Ubuntu 8.04.4 LTS with the OpenAFS 1.4.11 client on a VM guest. This works great except over time the afs client wedges the server - (Ram gets consumed). When this happens we have to do a hard reboot to get it back on line. How many others are running AFS clients on VMware guests? Any issues or suggestions on troubleshooting this? The VMWare is version 4.0. Steve Devine Systems Infrastructure Academic Technology Services Michigan State University ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info -- - Tom Briggs, PhD Associate Professor, Department of Computer Science Shippensburg University of Pennsylvania
[OpenAFS] Re: VMware and AFS
On Thu, 16 Sep 2010 09:03:01 -0400 Steve Devine s...@msu.edu wrote: We are running an Ubuntu server Ubuntu 8.04.4 LTS with the OpenAFS 1.4.11 client on a VM guest. This works great except over time the afs client wedges the server - (Ram gets consumed). Technically I have some clients in VMware guests, but it's not like they're particularly loaded or anything. The VM becomes completely hung; not even a panic message or anything on the console? If you can get vmware to send it an alt-sysrq-t or alt-sysrq-w, does it not print anything? Can you run cmdebug from another machine, pointed to the server that's hanging? -- Andrew Deason adea...@sinenomine.net ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles....
Yes, can be... but i have no idea of how to prove it, and if is that the problem... how to make OpenAFS start before Uhm... Claudio. Mickey Lane ha scritto: I would guess - and I emphasize guess - is that when the XP log in process needs the profile, AFS is not yet functioning, no profile is found and so XP creates a new one. -Original Message- From: openafs-info-ad...@openafs.org [mailto:openafs-info- ad...@openafs.org] On Behalf Of Claudio Prono Sent: Thursday, September 16, 2010 10:24 AM To: openafs-info@openafs.org Subject: Re: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles Claudio Prono ha scritto: Hello all, I am testing a solution like: OpenAFS with kerberos, Windows XP with Integrated logon and roaming profile. OpenAFS works, Kerberos works, integrated logon works... The profile on AFS not. I have manually copied the profile in a directory on AFS like msprofile, edited the windows registry at key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and changed the key ProfileImagePath to \\afs\mediaservice-test.pri\users\claudio\msprofile Deleted the local profile, rebooted the machine, logged in as claudio... and...a new local profile was created!!! If i check the registry key, it is changed again to the default (something like %SystemDrive%\Documents and Settings\claudio.TESTAFS)... What i am doing wrong? What is the best solution? Cordially, Claudio Prono. No one have any hint about that? Sorry to bother again... 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 ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info !DSPAM:1,4c922f9a147681932918946! -- 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
Re: [OpenAFS] Testing OpenAFS with Windows XP Roaming Profiles....
Christopher D. Clausen ha scritto: Claudio Prono claudio.pr...@atpss.net wrote: I am testing a solution like: OpenAFS with kerberos, Windows XP with Integrated logon and roaming profile. OpenAFS works, Kerberos works, integrated logon works... The profile on AFS not. I have manually copied the profile in a directory on AFS like msprofile, edited the windows registry at key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and changed the key ProfileImagePath to \\afs\mediaservice-test.pri\users\claudio\msprofile Deleted the local profile, rebooted the machine, logged in as claudio... and...a new local profile was created!!! If i check the registry key, it is changed again to the default (something like %SystemDrive%\Documents and Settings\claudio.TESTAFS)... What i am doing wrong? What is the best solution? Are you literally changing the registry? And not doing things the supported way by setting the user profile path within Active Directory? I'd say the best solution is to NOT edit the registry directly to change a profile location. Yes, i changing the registry because i don't have any Active Directory (and i don't want it), or domain controller. There are some group policy settings to disable windows trying to change permissions on the profile path. I suspect this might be causing problems as Windows does not know how to set AFS permissions and if this attempt fails, Windows reverts to a local profile. I have read about that permissions, but i don't have found it anywhere in Windows XP.. Also, you might need to set at least system:anyuser l on the folder so that the computer itself (without AFS credentials) can see that the folder exists before trying to use it as a profile path. I am not sure about that though. AFS user now, for test purpouses have full control on the profile directory on the AFS Cordially, Claudio. CDC ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info !DSPAM:1,4c922f5b145421363019681! -- 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] aklog: ktc 7 error using OpenAFS for windows
More information on our problem with WIndows 7 (64 bit) OpenAFS 1.5.77 I have several students who have successfully installed OpenAFS on Windows 7 and have it working at least for while, although some said that in order to avoid VERY VERY LONG (*) waits on login, they had to un-install and then install first 32 bit and then 64 bit. (Others said this doesn't work. It's very confusing.) BTW: The VERY LONG WAIT happens even if one checks prevent OPENAFS from running on startup) (*) VERY VERY LONG may be forever; the user has to ctrl-alt-delete to get their desktop to start. We've waited 15 minutes before giving up. The question was whether the problem was only after a network change. It is true that the one remaining student who cannot use OpenAFS with Windows 7 is using a wireless service that requires a login AFTER connecting, but as it happens AFS is completely broken even before logging in to the wireless system. (NB: The other person who had ktc 7 error gave up after two weeks of attempts and installed Ubuntu.) NET VIEW \\AFS hangs for about 5 minutes and then reports: System error 53 has occurred. The network path was not found This happens BEFORE connecting to the wireless network, AND AFTER connecting and AFTER getting tickets with NIM. nbstat is not found as an executable, so I wasn't able to run nbstat -S NIM does say that the AFS client service is running. John Boyland ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
[OpenAFS] Re: VMware and AFS
On 9/16/10 12:01 PM, openafs-info-requ...@openafs.org wrote: We are running an Ubuntu server Ubuntu 8.04.4 LTS with the OpenAFS 1.4.11 client on a VM guest. This works great except over time the afs client wedges the server - (Ram gets consumed). Technically I have some clients in VMware guests, but it's not like they're particularly loaded or anything. The VM becomes completely hung; not even a panic message or anything on the console? If you can get vmware to send it an alt-sysrq-t or alt-sysrq-w, does it not print anything? Can you run cmdebug from another machine, pointed to the server that's hanging? -- Andrew Deason adea...@sinenomine.net I will try cmdebug the next time it hangs. When this happens I can ssh into the machine but a graceful restart is impossible because it will not umount /afs Also if I try to ls /afs that will hang because there is nothing there anymore. This is a web based front end server running UofM's Mfiles app and apache modwaklog. This gives users access to their home AFS volumes via a web browser. When it wedges again I will see if I can get apache to shut down and then try a restart of the AFS client. -- Steve Devine Systems Infrastructure Academic Technology Services Michigan State University ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
[OpenAFS] Re: aklog: ktc 7 error using OpenAFS for windows
On Thu, 16 Sep 2010 11:20:26 -0500 John Tang Boyland boyl...@pabst.cs.uwm.edu wrote: nbstat is not found as an executable, so I wasn't able to run nbstat -S nbtstat, not nbstat -- Andrew Deason adea...@sinenomine.net ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] VMware and AFS
Steve Devine s...@msu.edu writes: We are running an Ubuntu server Ubuntu 8.04.4 LTS with the OpenAFS 1.4.11 client on a VM guest. This works great except over time the afs client wedges the server - (Ram gets consumed). When this happens we have to do a hard reboot to get it back on line. How many others are running AFS clients on VMware guests? Any issues or suggestions on troubleshooting this? The VMWare is version 4.0. We're running tons of AFS clients on VM guests and haven't ever had this problem. That unfortunately doesn't help you with fixing it, but at least it might help narrow your search for what's wrong. -- Russ Allbery (r...@stanford.edu) http://www.eyrie.org/~eagle/ ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info