Below you will find pages that utilize the taxonomy term “FreeNAS”
Netatalk 在客户端打开特定目录时的崩溃问题
我的FreeNAS服务器上开启了Netatalk接受客户端的AFP连接。有些时候,当客户电脑打开某个特定目录时,Finder会失去响应。此时在NAS的系统日志里有大量错误消息,类似于
May 30 12:49:23 nas afpd[3670]: Convert OS X to Netatalk AppleDouble: /mnt/main/xxx/._2000.jpg
May 30 12:49:23 nas afpd[3670]: ===============================================================
May 30 12:49:23 nas afpd[3670]: INTERNAL ERROR: Signal 11 in pid 3670 (3.1.1)
May 30 12:49:23 nas kernel: pid 3670 (afpd), uid 21110: exited on signal 6
May 30 12:49:23 nas afpd[3670]: ===============================================================
May 30 12:49:24 nas winbindd[73484]: [2014/05/30 12:49:24.221380, 0] ../source3/winbindd/winbindd_cred_cache.c:840(store_memory_creds)
May 30 12:49:24 nas winbindd[73484]: failed to mlock memory: Resource temporarily unavailable (35)
May 30 12:49:24 nas afpd[3673]: pam_winbind(netatalk): user ‘bear’ granted access
May 30 12:49:24 nas afpd[3673]: Login by bear (AFP3.4)
May 30 12:49:24 nas afpd[3673]: afp_disconnect: trying primary reconnect
May 30 12:49:24 nas afpd[76175]: Reconnect: no child[3670]
May 30 12:49:29 nas afpd[3673]: afp_disconnect: primary reconnect failed
May 30 12:49:29 nas afpd[3673]: parse_entries: bogus eid: 9, off: 50, len: 3760
May 30 12:49:29 nas afpd[3673]: parse_entries: bogus eid: 2, off: 3810, len: 286
May 30 12:49:29 nas afpd[3673]: ad_header_read(/mnt/main/xxx/._2000.jpg): malformed AppleDouble
May 30 12:49:29 nas afpd[3673]: Convert OS X to Netatalk AppleDouble: /mnt/main/xxx/._2000.jpg
May 30 12:49:29 nas afpd[3673]: ===============================================================
May 30 12:49:29 nas afpd[3673]: INTERNAL ERROR: Signal 11 in pid 3673 (3.1.1)
May 30 12:49:29 nas kernel: pid 3673 (afpd), uid 21110: exited on signal 6
May 30 12:49:29 nas afpd[3673]: ===============================================================
May 30 12:49:29 nas winbindd[73484]: [2014/05/30 12:49:29.800753, 0] ../source3/winbindd/winbindd_cred_cache.c:840(store_memory_creds)
May 30 12:49:29 nas winbindd[73484]: failed to mlock memory: Resource temporarily unavailable (35)
May 30 12:49:29 nas afpd[3677]: pam_winbind(netatalk): user ‘bear’ granted access
May 30 12:49:29 nas afpd[3677]: Login by bear (AFP3.4)
May 30 12:49:29 nas afpd[3677]: afp_disconnect: trying primary reconnect
May 30 12:49:29 nas afpd[76175]: Reconnect: no child[3673]
May 30 12:49:34 nas afpd[3677]: afp_disconnect: primary reconnect failed
May 30 12:49:34 nas afpd[3677]: parse_entries: bogus eid: 9, off: 50, len: 3760
May 30 12:49:34 nas afpd[3677]: parse_entries: bogus eid: 2, off: 3810, len: 286
May 30 12:49:34 nas afpd[3677]: ad_header_read(/mnt/main/xxx/._2000.jpg): malformed AppleDouble
May 30 12:49:34 nas afpd[3677]: Convert OS X to Netatalk AppleDouble: /mnt/main/xxx/._2000.jpg
May 30 12:49:34 nas afpd[3677]: ===============================================================
May 30 12:49:34 nas afpd[3677]: INTERNAL ERROR: Signal 11 in pid 3677 (3.1.1)
May 30 12:49:34 nas kernel: pid 3677 (afpd), uid 21110: exited on signal 6
May 30 12:49:34 nas afpd[3677]: ===============================================================
FreeNAS 9 无法加入 Active Directory 的解决方法
最近用samba4搭了一个AD,但是在FreeNAS 9.1下始终无法加入Active Directory,一启动这个服务就自动停止……
将FreeNAS 9.1升级到Beta版,甚至于Nightly版(FreeNAS-9.2.1-RC-5ccac93-x64)都无效。但是,在Nightly版本中,Active Directory的设定中多出了一项 Verbose Log 。启动后可以看到更多的Log信息。根据Log,可以看到,FreeNAS在执行到
ActiveDirectory: AD_status_domain: net -k ads status samba.whitebearhome.com
提示 Not Okay。但是我抢在FreeNAS离开域前手动在控制台执行这一句命令,结果返回是正确的。Google了一下,找到了文章。但是在FreeNAS的Nightly版中的rc.freenas文件里已经没有超时设定了。我尝试在Active Directory设定里提供的超时选项中更改,但是却没有效果。
于是,继续根据日志,发现FreeNAS是读取保存在
ActiveDirectory: AD_init: config exists, loading values from /etc/directoryservice/ActiveDirectory/config
中的配置信息的。于是手动编辑这个文件,将超时改为60,问题解决。