From: didier <dga...@ma...> - 2006-08-19 01:00:51
|
Hi, On ven, 2006-08-18 at 12:10 -0400, Chris Hoogendyk wrote: > > didier wrote: > > Hi, > > On ven, 2006-08-18 at 07:55 -0400, Chris Hoogendyk wrote: > > > >> I have several Sun E250's running Solaris 9 that I have brought up in > >> the last year with Netatalk 2.0.3. Each has had differences in its > >> history and has presented different challenges. > >> > >> I have one I brought up just Wednesday that is giving me headaches with: > >> > >> Aug 17 16:00:13 server251 afpd[7350]: [ID 702911 daemon.error] > >> afp_openvol(/export/revr): volume pathlen too long > >> > > getcwd function failed just after a chdir. Is /export/revr a symlink? > > The error message maybe misleading though. > > > nope. it's a mount point for a partition. >From google, unmount the volume, check the permissions for the mount point and permissions for /etc/mnttab. Note: afp_openvol(/export/revr) is ran with the connected user right. and /or Replace in etc/afpd/volume.c:afp_openvol() around line 1707 if ( NULL == getcwd(path, MAXPATHLEN)) { /* shouldn't be fatal but it will fail later */ LOG(log_error, logtype_afpd, "afp_openvol(%s): volume pathlen too long", volume->v_path); ret = AFPERR_MISC; goto openvol_err; } with LOG(log_error, logtype_afpd, "afp_openvol(%s) %s:", volume->v_path, strerror(errno)); and recompile, it will return the true error code. Didier |