Difference between revisions of "Talk:Enable AFP Server"

From AwkwardTV
Jump to: navigation, search
(System Error)
(Missing dynamic libraries)
 
(2 intermediate revisions by 2 users not shown)
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
 +
 +
-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
  
after copying the file i got the following error
+
-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
 
  -bash-2.05b$ sudo /usr/sbin/AppleFileServer
 +
Password:
 
  dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
 
  dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
 
   Referenced from: /usr/sbin/AppleFileServer
 
   Referenced from: /usr/sbin/AppleFileServer
 
   Reason: image not found
 
   Reason: image not found
 
  Trace/BPT trap
 
  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/
  
== System Error ==
+
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
  
-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
 
Trace/BPT trap
-bash-2.05b$
 
  
 +
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?
 +
 +
===
  
WHAT GIVES? Anyone?
+
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 ==
  
That means this file does not exist and is missing
+
I've the same problem trying to enable Apple File Server usign binaries from Leopard.
  
/System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
+
Any ideas?

Latest revision as of 17:39, 19 August 2009

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?

=

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?