[1223] in athena10
Re: "Your AFS client does not seem to be working."
daemon@ATHENA.MIT.EDU (Evan Broder)
Fri Feb 27 03:43:00 2009
Message-ID: <49A7A763.2090804@mit.edu>
Date: Fri, 27 Feb 2009 03:42:11 -0500
From: Evan Broder <broder@MIT.EDU>
MIME-Version: 1.0
To: Greg Price <price@mit.edu>
CC: debathena@mit.edu
In-Reply-To: <20090227083358.GH16524@vinegar-pot.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Punted to whoever's in the office. I don't recognize the symptoms, so
I'm not sure where to go with debugging; physical access might help.
One thing to try might be creating an image file with an ext3 filesystem
and loop mounting that for the AFS cache.
- Evan
Greg Price wrote:
> [-user]
>
> Do we have an idea what's going on here? It's troubling if someone
> has AFS not working after installing Debathena and we can't figure it
> out.
>
> Greg
>
>
>
> On Sun, Feb 15, 2009 at 07:23:39PM -0500, Cathy Wu wrote:
>
>> Ok, I dropped down to the root prompt and reverted the change. So my ubuntu
>> partition is working again.
>>
>> Here is what I see in the terminal when I try to make the change again:
>>
>> $ sudo nano /etc/openafs/afs.conf
>> $ sudo /etc/init.d/openafs-client restart
>> Stopping AFS services: openafs.
>> Starting AFS services: openafs afsd.
>> afsd: All AFS daemons started.
>> [**here, the system hangs]
>> $ sudo /etc/init.d/openafs-client restart
>> Stopping AFS services:afsd: Shutting down all afs processes and afs state
>> [**here, the system hangs again]
>>
>> Additionally, the system hangs again when I revert the change and restart
>> the openafs-client. I'm not really understanding the situation. What
>> should I try next? Please advise me.
>>
>> Thanks for your patience,
>>
>> Cathy
>>
>>
>>
>>
>>
>> 2009/2/14 Cathy Wu <cathywu@mit.edu>
>>
>>
>>> Thanks again for your quick reply. I tried the above and then upon running
>>> 'sudo /etc/init.d/openafs-client restart,' the terminal would hold when the
>>> openafsd processes tried to stop. I thought it would be a good idea to
>>> restart my machine, so I did so, and now I come across the same error
>>> message when I try to boot (unsuccessfully).
>>>
>>> I am now using my Windows partition. Is there any way to revert the change
>>> and/or fix the problem?
>>>
>>> Thanks!
>>>
>>> Cathy
>>>
>>> 2009/2/11 Evan Broder <broder@mit.edu>
>>>
>>> Hi Cathy -
>>>
>>>> As the message suggests, your hard drive was not formatted with
>>>> either ext2 or ext3, which are the only supported filesystems for the
>>>> local AFS cache on Linux.
>>>>
>>>> A fairly straightforward alternative is to keep the AFS cache entirely
>>>> in memory, instead of on disk. To enable this, edit
>>>> /etc/openafs/afs.conf, and find the line that sets the OPTIONS variable
>>>> (should be line 65 or so). Edit that line to say
>>>>
>>>> OPTIONS="-stat 10000 -daemons 6 -volumes 200 -memcache"
>>>>
>>>> Then run `sudo /etc/init.d/openafs-client restart`
>>>>
>>>> - Evan
>>>>
>>>> Cathy Wu wrote:
>>>>
>>>>> Thank you for the quick reply.
>>>>>
>>>>> I checked debathena.list and the 2 lines were already uncommented. I
>>>>> then ran the 3 commands and got:
>>>>>
>>>>> $ sudo /etc/init.d/openafs-client restart
>>>>> Stopping AFS services: openafs.
>>>>> Starting AFS services: openafs afsd.
>>>>> afsd: ERROR: Cache dir check failed (must use ext2 or ext3 for cache
>>>>> partition)
>>>>> fs: Invalid argument.
>>>>>
>>>>> Do you have any further advice?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Cathy
>>>>>
>>>>> 2009/2/9 Evan Broder <broder@mit.edu <mailto:broder@mit.edu>>
>>>>>
>>>>> Hi Cathy -
>>>>> If you edit /etc/apt/sources.list.d/debathena.list, you'll find
>>>>> that
>>>>> there should be two lines that were commented out by the release
>>>>> upgrade
>>>>> process. The contents of that file should look something like this:
>>>>>
>>>>> deb http://debathena.mit.edu/apt intrepid debathena
>>>>>
>>>> debathena-config
>>>>
>>>>> debathena-system openafs
>>>>> deb-src http://debathena.mit.edu/apt intrepid debathena
>>>>> debathena-config
>>>>> debathena-system openafs
>>>>>
>>>>> Edit the file to contain those two lines, and then run "sudo
>>>>>
>>>> aptitude
>>>>
>>>>> update && sudo aptitude dist-upgrade"
>>>>>
>>>>> You may also need to run "sudo /etc/init.d/openafs-client restart"
>>>>> after
>>>>> that.
>>>>>
>>>>> - Evan
>>>>>
>>>>> Cathy Wu wrote:
>>>>> > Dear Debathena maintainers,
>>>>> >
>>>>> > I tried to "add 6.02" today and came across this error: "Your AFS
>>>>> > client does not seem to be working" when I tried to renew my
>>>>>
>>>> tokens.
>>>>
>>>>> > I've followed the troubleshooting page without success
>>>>> > (http://debathena.mit.edu/troubleshooting > Stock Kernel >
>>>>>
>>>> Ubuntu).
>>>>
>>>>> >
>>>>> > I've been using debathena for a few weeks without issues, but I've
>>>>> > recently upgraded to Ubuntu 8.10. I suspect that is where the
>>>>> problem
>>>>> > is and would like to cleanly uninstall debathena. How can I do
>>>>> that?
>>>>> >
>>>>> > If I am misguided in my thinking, please advise me!
>>>>> >
>>>>> > Thanks!
>>>>> > Cathy
>>>>>
>>>>>
>>>>>
>>>