Eventually AFS did shut down (after about 5 mins or more). I got in the logs

Oct 11 22:23:13 Chris-Jones-Macbook-Pro kernel[0]: afs: WARM shutting down of: 
vcaches... CB... afs... BkG... CTrunc... AFSDB... NetIfPoller... WARNING: not 
all blocks freed: large 0 small -1
Oct 11 22:23:13 Chris-Jones-Macbook-Pro kernel[0]: ALL allocated tables... done
Oct 11 22:23:13 Chris-Jones-Macbook-Pro kernel[0]: AFS not initialized - not 
shutting down
Oct 11 22:23:13 Chris-Jones-Macbook-Pro kernel[0]: org.openafs.filesystems.afs 
kext unloaded; (load tag 117).
 
Chris

On 11 Oct 2011, at 10:22pm, Chris Jones wrote:

> Hi,
> 
> trying to shut afs down via the preferences plane generates
> 
> Oct 11 22:17:20 Chris-Jones-Macbook-Pro System Preferences[481]: Shutting 
> down afs
> Oct 11 22:17:25 Chris-Jones-Macbook-Pro authexec[507]: executing 
> /Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.rc
> 
> in the system logs, nothing more. Just the beach ball (still spinning away).
> 
> Chris
> 
> On 11 Oct 2011, at 10:16pm, Chris Jones wrote:
> 
>> Hi,
>> 
>> I jusr reinstalled OpenAFS (for the 5th or 6th time now) and this time it 
>> did appear to start OK, in that I can list /afs
>> 
>> However, if I try and shutdown ads from the prefs plane the in finite beach 
>> ball returns.
>> 
>> Also, if I try and shut the machine down with OpenAFS running I get a 
>> similar hang up. Eventually (>5mins) I loose patience and do a hard reset. 
>> Startup after this is similarly ver very slow but eventually gets there.
>> 
>> I have uninstalled and reinstalled Openafs multiple times now so I am pretty 
>> sure the shutdown hangups are caused by openafs.
>> 
>> I have another machine the same home network that appears OK, running the 
>> same OSX version and OpenAFS version, so I don't think it is a network 
>> problem. The difference between the machine that seems OK and the one that 
>> isn't is the one OK is a new mac mini that came with 10.7, where as the 
>> machine with problems I upgraded from 10.6 (originally 10.5).
>> 
>> Sorry if I am being vague, here. If you need more details just ask.
>> 
>> Chris
>> 
>> On the machine with problems
>> 
>> Chris-Jones-Macbook-Pro ~ > sudo lsof|grep UDP
>> Password:
>> launchd     1           root   11u     IPv4 0xffffff8014001dd8       0t0     
>>             UDP *:netbios-ns
>> launchd     1           root   12u     IPv4 0xffffff8014001c60       0t0     
>>             UDP *:netbios-dgm
>> UserEvent  11           root    4u     IPv4 0xffffff8014000f28       0t0     
>>             UDP *:*
>> mDNSRespo  12 _mdnsresponder    8u     IPv4 0xffffff8014001970       0t0     
>>             UDP *:mdns
>> mDNSRespo  12 _mdnsresponder    9u     IPv6 0xffffff80140017f8       0t0     
>>             UDP *:mdns
>> mDNSRespo  12 _mdnsresponder   31u     IPv4 0xffffff8013ffdeb0       0t0     
>>             UDP *:51643
>> mDNSRespo  12 _mdnsresponder   32u     IPv6 0xffffff8013ffdd38       0t0     
>>             UDP *:51643
>> mDNSRespo  12 _mdnsresponder   33u     IPv4 0xffffff8013ffdbc0       0t0     
>>             UDP *:49726
>> mDNSRespo  12 _mdnsresponder   34u     IPv6 0xffffff80140007d0       0t0     
>>             UDP *:49726
>> mDNSRespo  12 _mdnsresponder   35u     IPv4 0xffffff8014001218       0t0     
>>             UDP *:55802
>> mDNSRespo  12 _mdnsresponder   36u     IPv6 0xffffff8014000948       0t0     
>>             UDP *:55802
>> mDNSRespo  12 _mdnsresponder   37u     IPv4 0xffffff8014000ac0       0t0     
>>             UDP *:57455
>> mDNSRespo  12 _mdnsresponder   38u     IPv6 0xffffff80140004e0       0t0     
>>             UDP *:57455
>> mDNSRespo  12 _mdnsresponder   39u     IPv4 0xffffff8014000368       0t0     
>>             UDP *:49873
>> mDNSRespo  12 _mdnsresponder   40u     IPv6 0xffffff8013ffea70       0t0     
>>             UDP *:49873
>> mDNSRespo  12 _mdnsresponder   41u     IPv4 0xffffff8013ffe8f8       0t0     
>>             UDP *:51145
>> mDNSRespo  12 _mdnsresponder   42u     IPv6 0xffffff8013ffe780       0t0     
>>             UDP *:51145
>> mDNSRespo  12 _mdnsresponder   43u     IPv4 0xffffff8013ffe608       0t0     
>>             UDP *:50754
>> mDNSRespo  12 _mdnsresponder   44u     IPv6 0xffffff8013ffe490       0t0     
>>             UDP *:50754
>> mDNSRespo  12 _mdnsresponder   45u     IPv4 0xffffff8013ffda48       0t0     
>>             UDP *:64859
>> mDNSRespo  12 _mdnsresponder   46u     IPv6 0xffffff8013ffd8d0       0t0     
>>             UDP *:64859
>> mDNSRespo  12 _mdnsresponder   47u     IPv4 0xffffff8013ffd758       0t0     
>>             UDP *:49739
>> mDNSRespo  12 _mdnsresponder   48u     IPv6 0xffffff8013ffd5e0       0t0     
>>             UDP *:49739
>> mDNSRespo  12 _mdnsresponder   49u     IPv4 0xffffff8013ffd468       0t0     
>>             UDP *:57341
>> mDNSRespo  12 _mdnsresponder   50u     IPv6 0xffffff8013ffd2f0       0t0     
>>             UDP *:57341
>> configd    15           root   10u     IPv6 0xffffff8014001508       0t0     
>>             UDP *:*
>> configd    15           root   16u     IPv4 0xffffff80140010a0       0t0     
>>             UDP *:*
>> configd    15           root   21u     IPv4 0xffffff8013fff920       0t0     
>>             UDP *:*
>> configd    15           root   23u     IPv4 0xffffff8013fff7a8       0t0     
>>             UDP *:*
>> configd    15           root   25u     IPv4 0xffffff8013fff630       0t0     
>>             UDP *:*
>> blued      23           root    4u     IPv4 0xffffff80140001f0       0t0     
>>             UDP *:*
>> ntpd       47           root   20u     IPv4 0xffffff8014000078       0t0     
>>             UDP *:ntp
>> ntpd       47           root   21u     IPv6 0xffffff8013ffff00       0t0     
>>             UDP *:ntp
>> ntpd       47           root   22u     IPv6 0xffffff8013fffc10       0t0     
>>             UDP localhost:ntp
>> ntpd       47           root   23u     IPv4 0xffffff8013fff4b8       0t0     
>>             UDP localhost:ntp
>> ntpd       47           root   24u     IPv6 0xffffff8013fff340       0t0     
>>             UDP localhost:ntp
>> ntpd       47           root   25u     IPv6 0xffffff8013fff1c8       0t0     
>>             UDP chris-jones-macbook-pro.local:ntp
>> ntpd       47           root   26u     IPv4 0xffffff8013fff050       0t0     
>>             UDP 10.0.1.5:ntp
>> kdc        67           root    5u     IPv6 0xffffff8014001390       0t0     
>>             UDP *:kerberos
>> kdc        67           root    7u     IPv4 0xffffff8014001680       0t0     
>>             UDP *:kerberos
>> afsd      123           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      123           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      123           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      123           root    6u     IPv4 0xffffff8018c43468       0t0     
>>             UDP *:60207
>> afsd      124           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      124           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      124           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> netbiosd  127       _netbios    3u     IPv4 0xffffff8014001c60       0t0     
>>             UDP *:netbios-dgm
>> netbiosd  127       _netbios    4u     IPv4 0xffffff8014001dd8       0t0     
>>             UDP *:netbios-ns
>> afsd      134           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      134           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      134           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      136           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      136           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      136           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      137           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      137           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      137           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      138           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      138           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      138           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      140           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      140           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      140           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      142           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      142           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      142           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      144           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      144           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      144           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> afsd      145           root    3u     IPv4 0xffffff8014000db0       0t0     
>>             UDP *:*
>> afsd      145           root    4u     IPv4 0xffffff8013fffd88       0t0     
>>             UDP *:*
>> afsd      145           root    5u     IPv4 0xffffff8013ffeed8       0t0     
>>             UDP *:*
>> Adium     226          chris   13u     IPv4 0xffffff8013ffe318       0t0     
>>             UDP *:55702
>> SystemUIS 229          chris    9u     IPv4 0xffffff8013ffed60       0t0     
>>             UDP *:*
>> Finder    231          chris    5u     IPv4 0xffffff8013ffe1a0       0t0     
>>             UDP *:*
>> 
>> On 11 Oct 2011, at 9:57pm, Derrick Brashear wrote:
>> 
>>> On Tue, Oct 11, 2011 at 4:53 PM, Chris Jones <[email protected]> 
>>> wrote:
>>>> 
>>>> On 11 Oct 2011, at 9:49pm, Derrick Brashear wrote:
>>>> 
>>>>> also, why do you need to start afs? it should already start. did you
>>>>> confirm before you tried starting it that no afsd were already running
>>>>> e.g. are we chasing the right issue?
>>>> 
>>>> yes, I think I am. It failed to start by itself. Also, it failed after 
>>>> server reboots to start up.
>>> 
>>> failed to mount afs is not what i'm asking. i asked the question i did
>>> for a reason.
>>> 
>>> as far as 7001,
>>> sudo lsof|grep UDP
>>> 
>>> and assuming it's a user process which grabbed the port, you'll see
>>> it. (7001 or afs3-callback depending on if lsof can find the port
>>> mappings)
>>> 
>>> if a kernel module already did, all bets are off.
>>> 
>>>> cheers Chris
>>>> 
>>>>> 
>>>>> On Tue, Oct 11, 2011 at 1:47 PM, Chris Jones <[email protected]> 
>>>>> wrote:
>>>>>> Hi,
>>>>>> 
>>>>>> I have installed Open AFS 1.6.0 on a OSX 10.7 macbook pro. Installation 
>>>>>> seems to go OK, but when I try and start AFS from the preferences plane 
>>>>>> it just hangs with the infamous spinning beach ball.
>>>>>> 
>>>>>> kernel messages in console are
>>>>>> 
>>>>>> Oct 11 18:30:37 Chris-Jones-Macbook-Pro kernel[0]: 
>>>>>> org.openafs.filesystems.afs kext loaded; 229 pages at 0xffffff7f8213a000 
>>>>>> (load tag 122).
>>>>>> Oct 11 18:30:37 Chris-Jones-Macbook-Pro kernel[0]: AFS: RX failed to 
>>>>>> initialize -7).
>>>>>> 
>>>>>> Any idea what could be wrong ?
>>>>>> 
>>>>>> I originally tried restarting, but the machine just hangs on shutdown, 
>>>>>> and takes a very very long time to start up, for what I think is the 
>>>>>> same problem.
>>>>>> 
>>>>>> cheers Chris
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Derrick
>>>>> _______________________________________________
>>>>> OpenAFS-info mailing list
>>>>> [email protected]
>>>>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Derrick
>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to