Talk:Enable AFP Server
From AwkwardTV
Contents |
[edit] SAMBA
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.
Penx
[edit] 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 :-(
[edit] 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 AppleFileServer.app Desktop Downloads Movies Pictures Sites Applications Documents Library Music Public atvflash -bash-2.05b$ AppleFileServer.app /System/Library/CoreServices/ -bash: AppleFileServer.app: command not found -bash-2.05b$ mv AppleFileServer.app /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 Password: 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$
WHAT GIVES? Anyone?
That means this file does not exist and is missing
/System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
DK> I got the same error after copying AppleFileServer.app 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 Password: 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?
[edit] =
I tried with the files stored on the 1.0 recovery image. It did not give any error message yet AFP is not running.
[edit] Problems AFPd with 2.3 x Leopard
I've the same problem trying to enable Apple File Server usign binaries from Leopard.
Any ideas?
