More Netatalk Debugging and Solutions
Posted: August 24th, 2011 | Author: Godwin | Filed under: Mac, netatalk, Time Machine, Ubuntu | Tags: afpd, AppleTalk, AppleVolumes.default, cnid, MacOSX, netatalk, Ubuntu, Ubuntu 10.10 | No Comments »I had to reinstall my Ubuntu system because my Seagate drive died of a horrible and quick death. I replaced the drives with WD Greens. Since the Seagate had a SMART error, bad sectors were growing every second, basically the data on the OS drive was spinning to pieces.
When I reinstalled netatalk; I installed the self compiled netatalk package (that was mentioned previous). However I encounter the following error:
afpd {cnid_dbd.c:314} (E:CNID): dbd_rpc: Error reading header from fd (db_dir /var/dbd/AppleDB/tm): Connection reset by peer
afpd {cnid_dbd.c:400} (E:CNID): transmit: Request to dbd daemon (db_dir /var/dbd/AppleDB/tm) timed out.
afpd {cnid_dbd.c:400} (E:CNID): transmit: Request to dbd daemon (db_dir /var/dbd/AppleDB/tm) timed out.
That is relatively simple. I just had to make sure the dbpath in AppleVolumes.default exists.
Another error message I got:
afpd {volume.c:1907} (W:AFPDaemon): volume "usr" does not support Extended Attributes, using ea:ad instead
Solution:
I made sure cnidscheme is set to dbd and ea is set to sys in AppleVolume.default.
:DEFAULT: cnidscheme:dbd ea:sys
Reference:
Netatalk manual’s coverage on AppleTalk.default.