![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2005
Beans: 31
|
Re: HOWTO : install and use the open-afs client [dapper]
Openafs 1.4.2 (included in Debian Unstable) works fine with never kernels.
To build a package from Debian's source-package do the following: 1) Make a directory "openafs" and download the packages to it from: $ mkdir openafs; cd openafs $ wget http://ftp.debian.org/debian/pool/ma....2.orig.tar.gz $ wget http://ftp.debian.org/debian/pool/ma....4.2-2.diff.gz 2) Unpack and patch $ tar xzvf openafs_1.4.2.orig.tar.gz $ zcat openafs_1.4.2-2.diff.gz | patch -p0 3) Install necessary dependencies $ sudo apt-get build-dep openafs-client $ sudo apt-get install build-essential fakeroot 4) Build the Debian packages (takes a long time) $ cd openafs-1.4.2 $ chmod u+x debian/rules $ dpkg-buildpackage -rfakeroot Compilation may fail if you don't have all dependencies installed. Just install the missing packages and rebuild. 5) Install the packages $ sudo dpkg -i ../openafs-modules-source_1.4.2-2_all.deb openafs-client_1.4.2-2_i386.deb 6) Build the kernel module $ sudo apt-get install module-assistant $ sudo module-assistant prepare openafs-modules $ sudo module-assistant auto-build openafs-modules $ sudo dpkg -i openafs-modules-2.6.17-10-386_1.4.2-2+2.6.17-10.33_i386.deb 7) Install the packages (and say [Y]es to overwriting /etc config scripts; there's a bug in the old ones) $ sudo dpkg -i /usr/src/openafs-modules-2.6.17-10-386_1.4.2-2+2.6.17-10.33_i386.deb That did if it for me, at least. Last edited by JDahl; November 1st, 2006 at 07:50 PM.. |
|
|
|
|
|
#12 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2005
Location: Sweden
Beans: 34
Ubuntu 7.04 Feisty Fawn
|
Re: HOWTO : install and use the open-afs client [dapper]
Code:
dpkg-deb: parse error, in file `debian/openafs-dbg/DEBIAN/control' near line 6 package `openafs-dbg': `Depends' field, reference to `openafs-fileserver': error in version: version string is empty Code:
dpkg-buildpackage -rfakeroot Any suggestions? Thanks!
__________________
"Real programmers does not document. If it was hard to write, it should be hard to read." Last edited by Sethiano; November 3rd, 2006 at 08:19 AM.. |
|
|
|
|
|
#13 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2005
Beans: 31
|
Re: HOWTO : install and use the open-afs client [dapper]
I don't know where that error comes from.
This is line 6 from my version of debian/openafs-dbg/DEBIAN/control Depends: openafs-fileserver (= 1.4.2-2) I don't see any reason why yours should be empty. Maybe you can just manually insert the fileserver version number? It probably wouldn't take the Ubuntu package maintainer long to update the openafs package, though, which would be the preferred solution to this problem. Last edited by JDahl; November 6th, 2006 at 01:58 PM.. |
|
|
|
|
|
#14 | |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2005
Location: Sweden
Beans: 34
Ubuntu 7.04 Feisty Fawn
|
Re: HOWTO : install and use the open-afs client [dapper]
Quote:
Thanks for all the help! P.S Now that we know this, JDahl and other users should be aware that there is possible to run AFS perfectly on Edgy Eft.
__________________
"Real programmers does not document. If it was hard to write, it should be hard to read." |
|
|
|
|
|
|
#15 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
Beans: 4
|
Re: HOWTO : install and use the open-afs client [dapper]
I managed to get openafs-modules to build on my Edgy ppc64 (G5 iMac) machine and all seems to be working except for a stack trace in aklog:
Code:
[16:31][jnt@bingo]~$ kinit jtys003 Password for jtys003@EC.AUCKLAND.AC.NZ: [16:32][jnt@bingo]~$ aklog stackcheck = 0: stack = 0 topstack = 0xf7fcb03c: stackptr = 0xf7f9b008: stacksize = 0x30000 Wed Nov 15 16:32:04 2006 LWP: stack overflow in process IO MANAGER! Aborted (core dumped) |
|
|
|
|
|
#16 |
|
Spilled the Beans
![]() Join Date: Sep 2006
My beans are hidden!
|
Re: HOWTO : install and use the open-afs client [dapper]
The current openAFS version in the universe repositories is still 1.4.1. Why is that? Debian packages for 1.4.2 which solve the rlim problem that is happening with the 2.6.17/18 kernel has been in debian testing for about a month now. Who do I have to mail to get openAFS to 1.4.2 in universe?
And version 1.5.12 of AFS lists only Windows and Mac support. Besides suggesting that you report the stack overflow to the AFS people, I can't help much more. EDIT: my noobiness made me forget to check if it had been released in feisty, lets see if I a backport is possible Last edited by krugger; December 8th, 2006 at 07:23 AM.. |
|
|
|
|
|
#17 |
|
Ubuntu Guru
![]() |
Re: HOWTO : install and use the open-afs client [dapper]
__________________
A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed. ~ Archbishop Desmond Tutu, 1999 ![]() |
|
|
|
|
|
#18 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
My beans are hidden!
|
Re: HOWTO : install and use the open-afs client [dapper]
Backport openafs-1.4.2 from Feisty:
1. Edit /etc/apt/sources.list to add these lines: deb http://fr.archive.ubuntu.com/ubuntu/ feisty universe multiverse deb-src http://fr.archive.ubuntu.com/ubuntu/ feisty universe multiverse This will add the feisty repositories. 2. Edit /etc/apt/preferences file to add: Package: * Pin: release a=feisty Pin-Priority: 200 Package: openafs-modules-source Pin: release a=feisty Pin-Priority: 999 This will deactivate all feisty packages except the openafs-modules-sources package. After that, proceed as usual with openafs installation. |
|
|
|
|
|
#19 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Location: Manitoba
Beans: 172
Ubuntu 9.10 Karmic Koala
|
Re: HOWTO : install and use the open-afs client [dapper]
I've been following the original instructions and I'm encountering a strange problem. When I try and start afs I get the following error
Code:
paul@paul-desktop:~$ sudo /etc/init.d/openafs-client start Password: Starting AFS services: afsd. afsd: All AFS daemons started. afsd: Can't mount AFS on /afs(22)
__________________
Casulty In The Fight Against Boredom |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|