Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

AFP Clients cannot connect to OSX Snow Leopard Server

Posted on 2011-03-24
6
Medium Priority
?
1,632 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

 

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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

If you are using Mac OS X and have a large number of login items set up in accounts, under system preferences, you may find that your computer is sluggish and unresponsive during startup until everything is done launching. Another problem that a…
Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
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 …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

618 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