AFP not seeing shares

  • 7008188
  • 23-Mar-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (all SPs)

Situation

AFP says it can't see any shares even though there are shares enabled in iManager.

In /var/log/messages, afptcpd logs messages like:

Mar 20 06:30:10 oes2 afptcpd[12345]: [error] Failed to get volume key for SHARE:\ 

Resolution

This probably means that the AFP desktop database is corrupted. 

Please stop the AFP daemon:

# rcnovell-afptcpd stop

Then, move away the DESKTOP.AFP directories for each AFP share using:

# mv DESKTOP.AFP desktopafpold

And finally start the AFP daemon again:

# rcnovell-afptcpd start

This will recreate the desktop database for AFP shares and your clients should be able to see the shares again.