黑群晖6.2.3,想用Moments的时候需要启动家目录服务,发现有问题,不能启动也不能关闭。
在 https://community.synology.com/enu/forum/17/post/44283?page=1&sort=oldest 找到如下描述:
Ok, maybe there is a problem with a symlink.
The home directories are residing in /volume1/homes/<username>, but actually the system looks for them under /var/services/homes/<username> (e.g. if you check /etc/passwd file).
Now, normally, /var/services has a 'symbolic link' to the real directories.
E.g. on my NAS: [root@Synology services]# ls -al /var/services drwxr-xr-x 3 root root 4096 Jul 31 13:40 . drwxr-xr-x 14 root root 4096 Jul 29 07:48 .. drwxr-xr-x 2 nobody root 4096 Aug 16 2010 blog lrwxrwxrwx 1 root root 18 Nov 12 2011 download -> /volume1/@download lrwxrwxrwx 1 root root 14 Jul 31 13:40 homes -> /volume1/homes lrwxrwxrwx 1 root root 14 Jul 31 13:40 music -> /volume1/Music lrwxrwxrwx 1 root root 24 Nov 12 2011 mysql -> /volume1/@database/mysql lrwxrwxrwx 1 root root 24 Nov 12 2011 pgsql -> /volume1/@database/pgsql lrwxrwxrwx 1 root root 15 Nov 12 2011 printer -> /volume1/@spool lrwxrwxrwx 1 root root 14 Jul 31 13:40 video -> /volume1/video So, if you feel you can run some command from terminal, do the following:
- enable telnet/ssh access on Synology
- login as root (password is same as admin)
- type "ls -al /var/services/". Maybe you'll find something different from above situation
- check also with "ls -al /volume1/homes/" that the real home directories are there.
到/var/services下果然发现homes目录是一个真的目录,不是软连接。把这个真目录拷贝到/volume1/homes后,把/var/services下的homes目录改成软连接后,家目录终于可以启动和关闭了。问题解决。