I have a server with some directories exported for AFP. I can mount afp volumes from Finder without any problem.
When I try this from the command line:
$ sudo mount_afp 'afp://me:mypass@my-server/home/me' /Users/me/myMountPoint
I get the error
mount_afp: AFPMountURL returned error 2, errno is 2
As stated, I can mount my-server's
/home/me using Finder and my credentials on that machine just fine. Also tried with
mount_afp -i ... interactive mode with no luck.
apparently, error 2 is:
error 2 siInitVBLQsErr: VBLqueues for all slots could not be initialized. or dsAddressErr: address error
Which doesn't help much