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
Solved

AFP Clients cannot connect to OSX Snow Leopard Server

Posted on 2011-03-24
6
1,606 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 500 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In certain circumstances, a Microsoft Office mac application may fail to save a document to a network server, with the following error message: "There has been a network or file permission error. The network connection may be lost." An article at…
The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
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 …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

792 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