Mac OS X Server 10.4.9: Mac OS 9 client cannot copy some files via AFP

Mac OS X Server 10.4.9: Mac OS 9 client cannot copy some files via AFP

We have a client that has a serial scanner connected to an OS9 workstation. Recently, we updated their server and other OSX workstations to 10.4.9. When attempting to copy scanned files back to the OSX file server, they were continually getting: “The file server’s connection has unexpectedly closed down” message.

Apparently things changed on the OSX 10.4.9 end of things.

 

 

The Solution

 

Issue or symptom: File larger than about 1.5 MB may not successfully copy from a Mac OS 9.2.2 client to Mac OS X Server 10.4.9 via AFP. The copy may stop and this alert may appear:

“The file server’s connection has unexpectedly closed down.”

Products affected

Mac OS X 10.4.9 Server Mac OS 9 Solution

On the server, change the TCPQuantum value used by the Apple File Service from 262144 to 327680. You can change this value using the serveradmin command, or by directly editing the preference file. You only need to use one of these methods:

serveradmin method

Make sure all users are disconnected from the server. Open Terminal (or ssh to the server from another computer) and execute these commands, each on a single line: sudo serveradmin stop afp sudo serveradmin settings afp:TCPQuantum = 327680 sudo serveradmin start afp

defaults method

Make sure all users are disconnected from the server. Stop Apple File Service. Open Terminal (or ssh to the server from another computer) and execute this command on a single line: sudo defaults write /Library/Preferences/com.apple.AppleFileServer TCPQuantum -int 327680 Start Apple File Service. This document will be updated as more information becomes available.

 

 


The Apple documentation on the issue can be found here.

Kyle MacLean holds degrees in Marketing, Design and Advertising. Always neck deep in technology, he carefully juggles a passion for gadgets with one for rustic travel and the great outdoors.