Netatalk stopped working on Sid
Netatalk worked on my Debian box some times ago, but I didn't use it much.
So I can't really say when it actually broke. This week I've updated Sid via
aptitude and found Netatalk (2.3.0-6) to be broken.
I get the following in syslog of the debian box, when I try to contact to a
new clean (without .AppleXX files) homedir from a Mac OS X box via AFP:
Sep 5 18:30:27 EPIA afpd[3070]: ASIP session:548(5) from
192.168.178.2:52638(8)
Sep 5 18:30:27 EPIA afpd[2711]: server_child[1] 3070 done
Sep 5 18:30:36 EPIA afpd[3071]: ASIP session:548(5) from
192.168.178.2:52639(8)
Sep 5 18:30:36 EPIA afpd[3071]: cleartext login: test
Sep 5 18:30:36 EPIA afpd[3071]: login test (uid 1004, gid 100) AFP3.1
Sep 5 18:30:44 EPIA afpd[3071]: Warning: No CNID scheme for volume
/home/test. Using default.
Sep 5 18:30:44 EPIA afpd[3071]: Setting uid/gid to 1004/100
Sep 5 18:30:44 EPIA afpd[3071]: CNID DB initialized using Sleepycat
Software: Berkeley DB 4.2.52: (December 3, 2003)
Sep 5 18:30:44 EPIA afpd[2711]: server_child[1] 3071 exited 127
The Mac shows an error -36. (Some files could not be read/written ...)
But the homedir now contains an .AppleDB directory with a single __db.001
file.
If I retry to connect, I now get another syslog error on the debian box:
Sep 5 18:39:11 EPIA afpd[3139]: ASIP session:548(5) from
192.168.178.2:52648(8)
Sep 5 18:39:11 EPIA afpd[3139]: cleartext login: test
Sep 5 18:39:11 EPIA afpd[3139]: login test (uid 1004, gid 100) AFP3.1
Sep 5 18:39:13 EPIA afpd[3139]: Warning: No CNID scheme for volume
/home/test. Using default.
Sep 5 18:39:13 EPIA afpd[3139]: Setting uid/gid to 1004/100
Sep 5 18:39:13 EPIA afpd[3139]: CNID DB initialized using Sleepycat
Software: Berkeley DB 4.2.52: (December 3, 2003)
Sep 5 18:39:31 EPIA afpd[3139]: cnid_open: dbenv->open (rw) of
/home/test/.AppleDB failed: Resource temporarily unavailable
Sep 5 18:40:01 EPIA afpd[3139]: cnid_open: dbenv->open of
/home/test/.AppleDB failed: Resource temporarily unavailable
Sep 5 18:40:01 EPIA afpd[3139]: Cannot open CNID db at [/home/test].
Sep 5 18:40:01 EPIA afpd[3139]: Fatal error: cannot open CNID or invalid
CNID backend for /home/test: cdb
Sep 5 18:40:02 EPIA afpd[3139]: logout test
Sep 5 18:40:02 EPIA afpd[3139]: 0.21KB read, 0.15KB written
Sep 5 18:40:02 EPIA afpd[2711]: server_child[1] 3139 done
And the Mac reports error -5014 (Unknown error).
Spent several hours to fix it without success. Tried as well to build from
the source package, but conflicting build dependencies prevented this.
Then installed Netatalk 2.3.0-4 from lenny but that didn't help as well.
Probably it has to something to do with the Berkeley DB but I have no clue
how to find out what is wrong.
Any tips welcome.
Pete
Reply to: