Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

AFP Clients cannot connect to OSX Snow Leopard Server

Posted on 2011-03-24
6
Medium Priority
?
1,636 Views
Last Modified: 2012-08-13
Running snow leopard server on mac mini.  Everything was working fine and all of a sudden no one can connect to the shares via afp.  They all receive the error message "There are no shares available or you are not allowed to access them on the server xxx.xxx.xx.xxx"  They can connect via smb fine. I have checked the afp logs and they show no errors and have started and stopped afp with no success
0
Comment
Question by:Peterson50
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:nxnw
ID: 35206598
Double check to make sure the server is, in fact, at xxx.xxx.xx.xxx.

How are you trying to connect anyway? Using an alias? Clicking the server name under "shared" in the sidebar? Go:Connect to Server?
0
 
LVL 4

Accepted Solution

by:
Bryan_Vines earned 2000 total points
ID: 35211308
Peterson50,

I had this exact problem on a client's Mac mini server running Mac OS X Server 10.6.4. The problem started after the server locked up, and my client power-cycled the server to regain control of it.

A workaround is to use SMB instead of AFP. Your Mac clients can use the Go menu in the Finder to connect to smb://server-name-or-ip-address/ and get to their files. Be aware that there are filename issues that can cause problems. In particular, folder names which contain a trailing space, and file or folder names which contain slashes or other punctuation will be problematic.

There was no easy fix for the problem; I had to back up the Open Directory domain, back up the shared items, then format the server's boot volume and reinstall the OS. Afterwards, I restored the Open Directory domain and the shared items.
0
 

Author Comment

by:Peterson50
ID: 35240646
At present that is what I'm doing using smb which is fine.  Time Machine has stopped working though (via server), does Time Machine use afp to communicate with Time Machine on Server?
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 

Author Comment

by:Peterson50
ID: 35240677
I have narrowed something down, I am able to make an afp connection using the dns name along with only using the xserve admin users account.  If I use mine (which is an admin account also) it does not work.  Any ideas
0
 

Author Comment

by:Peterson50
ID: 35298127
No other account account other than the xserve administrator account is able to log in even if they have administrator access, go figure.  I may need to rebuild the server again
0
 
LVL 4

Expert Comment

by:Bryan_Vines
ID: 35299246
Peterson50,

For what it's worth, I think Time Machine wants to communicate via AFP.
Yes, I recall that the server's local Admin account was the only account which could log in via AFP. Initially this led me to believe there was an issue with the OpenDirectory service on the server, but I saved an OpenDirectory archive before reinstalling the server operating system and then restored that same archive into the new server, and AFP worked -- so the problem doesn't appear to have been with Open Directory.

If you have a current backup of the server, you might want to try saving an OpenDirectory archive, and then immediately reimporting it back into the server. Maybe there IS something weird with OpenDirectory, and archiving and reinstalling the OpenDirectory data fixes it.

No guarantees on that, though.

--
Bryan Vines
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question