Difference between revisions of "Talk:Enable AFP Server"

From AwkwardTV
Jump to: navigation, search
(System Error)
Line 1: Line 1:
 +
== 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.
 
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
 
Penx
  
 +
== 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 :-(
 
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
  
after copying the file i got the following error
 
 
 
  -bash-2.05b$ sudo /usr/sbin/AppleFileServer
 
  -bash-2.05b$ sudo /usr/sbin/AppleFileServer
 
  dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
 
  dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
Line 14: Line 16:
 
  Trace/BPT trap
 
  Trace/BPT trap
  
== System Error ==
+
-bash-2.05b$ cd frontrow
 
+
-bash-2.05b$ ls
-bash-2.05b$ cd frontrow
+
AppleFileServer.app Desktop Downloads Movies Pictures Sites
-bash-2.05b$ ls
+
Applications Documents Library Music Public atvflash
AppleFileServer.app Desktop Downloads Movies Pictures Sites
+
-bash-2.05b$ AppleFileServer.app /System/Library/CoreServices/
Applications Documents Library Music Public atvflash
+
-bash: AppleFileServer.app: command not found
-bash-2.05b$ AppleFileServer.app /System/Library/CoreServices/
+
-bash-2.05b$ mv AppleFileServer.app /System/Library/CoreServices/
-bash: AppleFileServer.app: command not found
+
-bash-2.05b$ ls
-bash-2.05b$ mv AppleFileServer.app /System/Library/CoreServices/
+
Applications Desktop Documents Downloads Library Movies Music Pictures Public Sites atvflash
-bash-2.05b$ ls
+
-bash-2.05b$ sudo /usr/sbin/AppleFileServer
Applications Desktop Documents Downloads Library Movies Music Pictures Public Sites atvflash
+
Password:
-bash-2.05b$ sudo /usr/sbin/AppleFileServer
+
dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
Password:
+
  Referenced from: /usr/sbin/AppleFileServer
dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
+
  Reason: image not found
  Referenced from: /usr/sbin/AppleFileServer
+
Trace/BPT trap
  Reason: image not found
+
-bash-2.05b$  
Trace/BPT trap
 
-bash-2.05b$  
 
 
 
  
 
WHAT GIVES? Anyone?
 
WHAT GIVES? Anyone?
Line 39: Line 38:
  
 
/System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
 
/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?

Revision as of 23:21, 13 December 2008

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

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
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?