Talk:Enable AFP Server

From AwkwardTV
Revision as of 17:39, 19 August 2009 by Teddy (talk | contribs) (Missing dynamic libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Does the same technique work for enabling samba? ie SMBSERVER=-YES- ? If so, could someone add this to the wiki? Would really like to be able to access ATV from both Macs and PCs on my network.


Illegal instruction

The problem I encountered with 1.1 is that recovery partition doesn't contain the AppleFileServer binary and the binaries copied over from 10.4 systems (and system updates crash with "Illegal instruction" upon starting :-(

Missing dynamic libraries

after copying the file i got the following error

-bash-2.05b$ sudo /usr/sbin/AppleFileServer
dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
  Referenced from: /usr/sbin/AppleFileServer
  Reason: image not found
Trace/BPT trap
-bash-2.05b$ cd frontrow
-bash-2.05b$ ls	Desktop			Downloads		Movies			Pictures		Sites
Applications		Documents		Library			Music			Public			atvflash
-bash-2.05b$ /System/Library/CoreServices/
-bash: command not found
-bash-2.05b$ mv /System/Library/CoreServices/
-bash-2.05b$ ls
Applications	Desktop		Documents	Downloads	Library		Movies		Music		Pictures	Public		Sites		atvflash
-bash-2.05b$ sudo /usr/sbin/AppleFileServer
dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
  Referenced from: /usr/sbin/AppleFileServer
  Reason: image not found
Trace/BPT trap


That means this file does not exist and is missing


DK> I got the same error after copying from Leopard 10.5.5. I tried to copy missing libraries as well:

> scp -r /System/Library/PrivateFrameworks/ByteRangeLocking.framework frontrow@appletv.local:~
> scp -r /System/Library/PrivateFrameworks/MDSChannel.framework frontrow@appletv.local:~
frontrow@AppleTV.local ~> sudo mv ByteRangeLocking.framework /System/Library/PrivateFrameworks/
frontrow@AppleTV.local ~> sudo mv MDSChannel.framework /System/Library/PrivateFrameworks/

It is of no use - I ended up with:

frontrow@AppleTV.local ~> sudo /usr/sbin/AppleFileServer                          
dyld: Symbol not found: _kMDServerPortName
  Referenced from: /System/Library/PrivateFrameworks/MDSChannel.framework/Versions/A/MDSChannel
  Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices

Trace/BPT trap

Has anyone made it work from Leopard binaries? Does it make sense to go back to the Tiger DVD which I have and try Tiger binaries?


I tried with the files stored on the 1.0 recovery image. It did not give any error message yet AFP is not running.

Problems AFPd with 2.3 x Leopard

I've the same problem trying to enable Apple File Server usign binaries from Leopard.

Any ideas?