Hi all.
I think my problems started when I updated my Mac to the latest 10.8.3 update, but I am not entirely sure. Anyway the problems can be described in this way. Either my shares open up read-only, or they say my disk is full when trying to write files larger than a few megabytes. In my logs, I am seeing:
When I start netatalk, it says in my logs:
What I have already done.
My system was FreeBSD 9.0, so I upgraded it to 9.1 using a recipe I found in thefreebsd FreeBSD book. Upgraded the /usr/ports tree, and upgraded the latest netatalk 2.2.4 (from 2.2.3), I did have to remove the old version and install it again. I have deleted all .AppleD* files as people have said. No luck.
I did create a new fresh empty IFS filesystem called mysan/asan just to test with so I don't damage the other ones, but no luck.
This is extremely urgent as I have my
I enclose my config files in hope someone can help me. I did omit the lines with # as they are useless. Here are the files (then no one needs to download them):
All files from /usr/local/etc
afpd.conf
netatalk.conf
AppleVolumes.default
In my /etc/rc.conf I have (complete file):
I hope someone can help me. I have been googling for weeks, trying everything and that includes deleting everything and start from scratch.
Side question, is netatalk going to be useless?
I think my problems started when I updated my Mac to the latest 10.8.3 update, but I am not entirely sure. Anyway the problems can be described in this way. Either my shares open up read-only, or they say my disk is full when trying to write files larger than a few megabytes. In my logs, I am seeing:
Code:
May 5 14:07:43 q afpd[64337]: AFP3.3 Login by tj
May 5 14:07:46 q cnid_metad[64329]: error in sendmsg: Broken pipe
May 5 14:08:07 q afpd[64337]: transmit: Request to dbd daemon (db_dir /mysan/asan) timed out.
May 5 14:08:07 q afpd[64337]: Reopen volume /mysan/asan using in memory temporary CNID DB.
Code:
May 5 13:47:38 q afpd[64112]: main: atp_open: Protocol not supported
May 5 13:47:38 q afpd[64112]: AFP/TCP started, advertising 10.0.0.94:548 (2.2.4)
May 5 13:47:38 q afpd[64112]: AFP/TCP started, advertising 10.0.0.94:548 (2.2.4)
May 5 13:47:38 q afpd[64112]: dsi_tcp_init: no suitable network config for TCP socket
May 5 13:47:38 q afpd[64112]: main: dsi_init: Address already in use
May 5 13:47:38 q afpd[64112]: uam_register: "DHCAST128" already loaded by uams_dhx_passwd.so
May 5 13:47:38 q afpd[64112]: uam_load(uams_dhx_passwd.so): uam_setup failed
May 5 13:47:38 q afpd[64112]: uam: uams_dhx_passwd.so load failure
May 5 13:47:38 q afpd[64112]: uam_register: "DHX2" already loaded by uams_dhx2_passwd.so
May 5 13:47:38 q afpd[64112]: uam_load(uams_dhx2_passwd.so): uam_setup failed
May 5 13:47:38 q afpd[64112]: uam: uams_dhx2_passwd.so load failure
What I have already done.
My system was FreeBSD 9.0, so I upgraded it to 9.1 using a recipe I found in the
I did create a new fresh empty IFS filesystem called mysan/asan just to test with so I don't damage the other ones, but no luck.
This is extremely urgent as I have my
I enclose my config files in hope someone can help me. I did omit the lines with # as they are useless. Here are the files (then no one needs to download them):
All files from /usr/local/etc
afpd.conf
Code:
"Q" - defaultvol /usr/local/etc/AppleVolumes.default -systemvol /usr/local/etc/AppleVolumes.system -uamlist uams_random.so,uams_dhx.so,uams_dhx2.so -maccodepage MAC_ROMAN -unixcodepage UTF8 -savepassword -setpassword -transall -mimicmodel RackMac -ipaddr 10.0.0.94
default:
- -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so -nosavepassword
Code:
ATALK_UNIX_CHARSET='LOCALE'
ATALK_MAC_CHARSET='MAC_ROMAN'
export ATALK_UNIX_CHARSET
export ATALK_MAC_CHARSET
CNID_METAD_RUN=yes
AFPD_RUN=yes
Code:
:DEFAULT: options:upriv,usedots
/mysan/traustitm "TimeMachine for $u" adouble:osx allow:tj cnidscheme:dbd ea:auto options:tm,invisibledots,upriv dperm:0770 fperm:0660 volcharset:UTF8
/mysan/elsatm "TimeMachine for $u" adouble:osx allow:elsa cnidscheme:dbd ea:auto options:tm,invisibledots,upriv dperm:0770 fperm:0660 volcharset:UTF8
/mysan/scratch "NAS area" adouble:osx allow:elsa,tj cnidscheme:dbd ea:auto options:tm,invisibledots,upriv dperm:0770 fperm:0660 volcharset:UTF8
/mysan/asan "Apple San" adouble:osx allow:tj cnidscheme:dbd ea:auto options:tm,invisibledots,upriv dperm:0770 fperm:0660 volcharset:UTF8
Code:
ntpd_enable="YES"
ntpd_sync_on_start="YES"
hostname="q"
zfs_enable="YES"
sshd_enable="YES"
keymap="icelandic.iso.kbd"
ifconfig_em0=" inet 10.0.0.94 netmask 255.255.255.0"
defaultrouter="10.0.0.138"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
dbus_enable="YES"
netatalk_enable="YES"
afpd_enable="YES"
cnid_metad_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
hald_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
nfs_client_enable="YES"
rpcbind_enable="YES"
iscsi_target_enable="YES"
samba_enable="YES"
svscan_enable="YES"
#djb dns
# Daemontools svscan variables
MINSEGMENT=10240
MAXSEGMENT=20480
MAXFILESIZE=10240
MAXFD=100
MAXCHILD=40
# ulimits
ulimit -d ${MINSEGMENT}
ulimit -f ${MAXFILESIZE}
ulimit -m ${MAXSEGMENT}
ulimit -n ${MAXFD}
ulimit -s ${MINSEGMENT}
ulimit -u ${MAXCHILD}
Side question, is netatalk going to be useless?