Home Forums OS X Server and Client Discussion Questions and Answers troubleshooting AFP beyond the GUI

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #371006
    alternapop
    Participant

    We had an Xserve running both AFP and Windows filesharing. Both were working fine but then AFP starting failing to authenticate users. Windows filesharing continued to work. I tried to stop and restart AFP via Server Admin but that didn’t solve the problem. I rebooted the server and everything worked fine.

    I’d like to know how to fix this in the future without rebooting the entire OS. I’m assuming I can kill AFP and restart it via command line but I don’t know how to do this. What is the recommended method?

    Is there documentation that someone can provide that explains this sort of thing? How to troubleshoot OS X Server problems beyond the GUI?

    Thanks!

    #371007
    khiltd
    Participant

    It’s difficult to say whether simply restarting AFP will cure whatever problem you were encountering, but I believe it lives at /usr/sbin/AppleFileServer and can be killed like any other process.

    launchd will more than likely restart it for you almost immediately, so if you want to prevent this then you’ll need to do a launchctl unload on /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist

    #371036
    mosx86
    Participant

    [QUOTE][u]Quote by: alternapop[/u][p]
    We had an Xserve running both AFP and Windows filesharing. Both were working fine but then AFP starting failing to authenticate users. Windows filesharing continued to work. I tried to stop and restart AFP via Server Admin but that didn’t solve the problem. I rebooted the server and everything worked fine.

    I’d like to know how to fix this in the future without rebooting the entire OS. I’m assuming I can kill AFP and restart it via command line but I don’t know how to do this. What is the recommended method?

    Is there documentation that someone can provide that explains this sort of thing? How to troubleshoot OS X Server problems beyond the GUI?

    Thanks![/p][/QUOTE]

    What were the logs saying? Is this an Open Directory server, or bound to an open directory server?

    #371072
    alternapop
    Participant

    thanks all for the info! i’ll read through those apple pdf’s.
    it’s a stand alone server running a local database. not bound to any other servers.

    #371103
    byrd62au
    Participant

    There are a couple of major threads about this over at Apple.
    http://discussions.apple.com/thread.jspa?threadID=1251475&tstart=0

    The problem is in the way AFP talks to OD for user auth info I’m pretty sure.

    FWIW some claim various solutions which don’t work for others. For me I had problems with Kerberos not starting due to a DNS config error. Now that Kerberos is running I haven’t had AFP fall over for days now.

    Good Luck
    Rob

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed