Page 1 of 2
SOLVED: Samba V4.3 incompatible with greyhole?
Posted: Sun Mar 13, 2016 10:07 am
by wizards
Hi,
Having installed Amahi 9 I am having trouble with greyhole and samba; shares in greyhole are not accessible over the network.
In /usr/lib64/greyhole I see greyhole-samba43.so is highlighted in red which I understand to mean that it is archived (although I don’t really know what that means).
It seems that the version of samba installed (version 4.3.4) is not compatible with greyhole as re-installing amahi-greyhole gives this message:
Warning: Greyhole doesn't include a VFS module for your version of Samba (4 3).
We will try to use the VFS for Samba 3.6, but that might not work.
So it appears that I need to downgrade the version of samba that I am using. I would be grateful if you could tell me how to do this or if there is any other fix for this problem.
Thanks
Gary
Re: Samba V4.3 incompatible with greyhole?
Posted: Sun Mar 13, 2016 3:13 pm
by bigfoot65
We have an update to Greyhole that needs testing with Amahi 9
If interested please see
bug 1966.
This may fix your issue.
Re: Samba V4.3 incompatible with greyhole?
Posted: Sun Mar 13, 2016 7:26 pm
by cpg
We have updated the RPM with new bits. Please install and report how it goes. Do this as root or sudo:
Code: Select all
rpm -Uvh http://alpha.amahi.org/tmp/amahi-greyhole-0.9.64-0.x86_64.rpm
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 5:48 am
by wizards
Thanks for the quick response. I've installed the update without any problems but I still can't see the greyhole shares from a windows machine on my network, well I can see the folders but I get this message when I try to open them:
"Windows cannot access \\HDA\Gary
Check the spelling of the name. ...."
I've tried re-starting the HDA and my Windows machine.
Also mount_shares_locally doesn't work, I can see the folder names but no content.
Have I missed something?
Thanks
Gary
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 6:01 am
by cpg
Focus on getting standard (non Greyhole-backed) shares working first please.
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 6:12 am
by wizards
Sorry, I should have said, non greyhole shares work fine.
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 6:13 am
by wizards
I've noticed that I'm getting this message when I re-boot the server:
CIFS VFS: cifs_mount failed w/return code = -6
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 6:22 am
by cpg
Can you find out exactly why?
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 6:40 am
by wizards
Do you mean why do I get the cifs_mount error? if so, I don't know but I could do some more research.
Re: Samba V4.3 incompatible with greyhole?
Posted: Mon Mar 14, 2016 9:30 am
by wizards
I'm sorry but I'm getting nowhere with this. If I run "journalctl -b" I see errors like this for each share:
Mar 14 16:19:16 merlin smbd[1366]: [2016/03/14 16:19:16.572813, 0] ../lib/util/modules.c:48(load_module)
Mar 14 16:19:16 merlin smbd[1366]: Error loading module '/usr/lib64/samba/vfs/greyhole.so': libsmbd_base.so: cannot open shared object file: No such file or directory
Mar 14 16:19:16 merlin smbd[1366]: [2016/03/14 16:19:16.573236, 0] ../source3/smbd/vfs.c:184(vfs_init_custom)
Mar 14 16:19:16 merlin smbd[1366]: error probing vfs module 'greyhole': NT_STATUS_UNSUCCESSFUL
Mar 14 16:19:16 merlin smbd[1366]: [2016/03/14 16:19:16.574139, 0] ../source3/smbd/vfs.c:349(smbd_vfs_init)
Mar 14 16:19:16 merlin smbd[1366]: smbd_vfs_init: vfs_init_custom failed for greyhole
Mar 14 16:19:16 merlin smbd[1366]: [2016/03/14 16:19:16.574171, 0] ../source3/smbd/service.c:642(make_connection_snum)
Mar 14 16:19:16 merlin smbd[1366]: vfs_init failed for service Carol
Mar 14 16:19:16 merlin kernel: CIFS VFS: cifs_mount failed w/return code = -6
Mar 14 16:19:16 merlin mount_shares_locally[1130]: Retrying with upper case share name
Mar 14 16:19:16 merlin smbd[1381]: [2016/03/14 16:19:16.646446, 0] ../lib/util/modules.c:48(load_module)
Mar 14 16:19:16 merlin smbd[1381]: Error loading module '/usr/lib64/samba/vfs/greyhole.so': libsmbd_base.so: cannot open shared object file: No such file or directory
Mar 14 16:19:16 merlin smbd[1381]: [2016/03/14 16:19:16.646510, 0] ../source3/smbd/vfs.c:184(vfs_init_custom)
Mar 14 16:19:16 merlin smbd[1381]: error probing vfs module 'greyhole': NT_STATUS_UNSUCCESSFUL
Mar 14 16:19:16 merlin smbd[1381]: [2016/03/14 16:19:16.646552, 0] ../source3/smbd/vfs.c:349(smbd_vfs_init)
Mar 14 16:19:16 merlin smbd[1381]: smbd_vfs_init: vfs_init_custom failed for greyhole
Mar 14 16:19:16 merlin smbd[1381]: [2016/03/14 16:19:16.646581, 0] ../source3/smbd/service.c:642(make_connection_snum)
Mar 14 16:19:16 merlin smbd[1381]: vfs_init failed for service Carol
Mar 14 16:19:16 merlin kernel: CIFS VFS: cifs_mount failed w/return code = -6
Mar 14 16:19:16 merlin mount_shares_locally[1130]: mount error(6): No such device or address
Mar 14 16:19:16 merlin mount_shares_locally[1130]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Does this give you any clues?
Thanks
Gary