AFP not seeing shares on OES2

  • 7008187
  • 23-Mar-2011
  • 25-Jun-2013

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 similar as below :

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

Resolution

It appears that the AFP desktop database has become corrupted.

To resolve the corruption, please stop the AFP daemon :
# rcnovell-afptcpd stop

Next, for safe-keeping purposes, move the DESKTOP.AFP directories for each AFP share using :
# mv DESKTOP.AFP DESKTOP.AFP.OLD

And start the AFP daemon again :
# rcnovell-afptcpd start

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

After verifying that AFP works well once again, one can remove the previously renamed DESKTOP.AFP.OLD directories.