OK. It's finally working. I had to
a) yum install kernel-module-openafs-`uname -r` (as the yum groupinstall
indeed picked to wrong module)
b) apply the attached patch to /etc/rc.d/init.d/afs (provided by
Jean-Michel).
Thanks all for your help,
Regards,
Troy Dawson wrote:
> Laurent Aphecetche wrote:
>
>> Hi Troy,
>>
>> Thanks a lot!
>> The "yum groupinstall "OpenAFS Client" suceeded.
>>
>> But "service afs start" hangs. Do I have to reboot ?
>>
>
> There are two things you probrubly still need to do.
> First is to make sure you put whatever AFS cell you are in ThisCell. I'm
> not sure what AFS cell in2p3 uses. But if you were at Fermilab you
> would do
>
> echo fnal.gov > /usr/vice/etc/ThisCell
>
> Also, I've noticed in the test's to track down this problem, that yum
> doesn't always get the right kernel-module-openafs when doing the first
> install. So do the following
>
> uname -r
> rpm -qa | grep kernel-module
>
> and make sure that the kernel-module-openafs is the right one for the
> kernel you have running. If it isn't then you'll need to do a
>
> yum install kernel-module-openafs-`uname -r`
>
>
>
>> BTW, is there a doc on the available yum groups ?
>>
>
> Not yet.
> you can do a
>
> yum grouplist
>
> And that will list them all and to find out what's in them do a
>
> yum grouplist "<groupname>"
>
> all of these functionalities are in the 'man yum'. That is one of the
> good man pages, ranks right up there with 'man rpm'
>
> Basically the list of groups currently in that list, is what you'd see
> during an install. The various groups that you can pick and choose.
>
>> Regards,
>>
>> Troy Dawson wrote:
>>
>>> Hi,
>>> What error do you get if you do a
>>>
>>> yum groupinstall "OpenAFS Client"
>>>
>>> This should install everything you need for openafs in one swoop.
>>>
>>> Also, if that doesn't help, can you send the output of
>>>
>>> rpm -q kernel kernel-smp
>>>
>>> Thanks
>>> Troy
>>>
>>> Laurent Aphecetche wrote:
>>>
>>>> Hi,
>>>>
>>>> Well, it does not seem to help :
>>>>
>>>> > rpm -q yum
>>>> yum-2.0.7-2.SL
>>>>
>>>> > yum install openafs-client
>>>> ...
>>>> .....Unable to satisfy dependencies
>>>> Package kernel-module-openafs-2.4.21-15.0.3.ELsmp needs
>>>> /boot/vmlinuz-2.4.21-15.0.3.ELsmp, this is not available.
>>>>
>>>> Also, another strange thing is that I cannot remove openafs (base) rpm
>>>> package (by yum remove or plain rpm -e) :
>>>>
>>>> rpm -e openafs
>>>> error: %preun(openafs-1.2.11-15.5.SL) scriptlet failed, exit status 1
>>>>
>>>> Regards,
>>>>
>>>> Jean-Michel Barbet wrote:
>>>>
>>>>> Laurent Aphecetche wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I've just installed SL302 on my laptop. I've chosen Workstation
>>>>>> installation type. Now I need afs. So here's what I've tried:
>>>>>>
>>>>>> yum install openafs
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> [...]
>>>>>
>>>>> Hi Laurent,
>>>>>
>>>>> First update yum with this testing update so that the dependencies
>>>>> are correctly handled :
>>>>>
>>>>> rpm -Fvh /stock/SL/testing/yum-2.0.7-2.SL.noarch.rpm
>>>>>
>>>>> JM
>>>>>
>>>
>>>
>>
>>
>> --
>> Dr. Laurent APHECETCHE (mailto:[log in to unmask]) (IN2P3-CNRS)
>> SUBATECH-EMN-4 rue Alfred Kastler-BP 20722-44307 NANTES cedex 03
>> TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24 (France)
>> Collaboration PHENIX http://www.phenix.bnl.gov/~aphecetc
>
>
>
--
Dr. Laurent APHECETCHE (mailto:[log in to unmask]) (IN2P3-CNRS)
SUBATECH-EMN-4 rue Alfred Kastler-BP 20722-44307 NANTES cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24 (France)
Collaboration PHENIX http://www.phenix.bnl.gov/~aphecetc
--- /etc/rc.d/init.d/afs.org 2004-09-08 09:00:17.000000000 +0200
+++ /etc/rc.d/init.d/afs 2004-09-08 09:13:39.000000000 +0200
@@ -183,9 +183,9 @@
case "$1" in
start)
if [ ! "$afs_rh" -o ! -f /var/lock/subsys/afs ]; then
- if [ `echo "$OPTIONS" | grep -c dynroot` = 0 ]; then
- on_network || exit 1
- fi
+# if [ `echo "$OPTIONS" | grep -c dynroot` = 0 ]; then
+# on_network || exit 1
+# fi
# Load kernel extensions
if load_client ; then :
else
|