SOLVED: Samba V4.3 incompatible with greyhole?

wizards
Posts: 17
Joined: Mon Nov 16, 2015 12:39 pm

SOLVED: Samba V4.3 incompatible with greyhole?

Postby wizards » Sun Mar 13, 2016 10:07 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Samba V4.3 incompatible with greyhole?

Postby bigfoot65 » Sun Mar 13, 2016 3:13 pm

We have an update to Greyhole that needs testing with Amahi 9

If interested please see bug 1966.

This may fix your issue.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Samba V4.3 incompatible with greyhole?

Postby cpg » Sun Mar 13, 2016 7:26 pm

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
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

wizards
Posts: 17
Joined: Mon Nov 16, 2015 12:39 pm

Re: Samba V4.3 incompatible with greyhole?

Postby wizards » Mon Mar 14, 2016 5:48 am

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Samba V4.3 incompatible with greyhole?

Postby cpg » Mon Mar 14, 2016 6:01 am

Focus on getting standard (non Greyhole-backed) shares working first please.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

wizards
Posts: 17
Joined: Mon Nov 16, 2015 12:39 pm

Re: Samba V4.3 incompatible with greyhole?

Postby wizards » Mon Mar 14, 2016 6:12 am

Sorry, I should have said, non greyhole shares work fine.

wizards
Posts: 17
Joined: Mon Nov 16, 2015 12:39 pm

Re: Samba V4.3 incompatible with greyhole?

Postby wizards » Mon Mar 14, 2016 6:13 am

I've noticed that I'm getting this message when I re-boot the server:

CIFS VFS: cifs_mount failed w/return code = -6

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Samba V4.3 incompatible with greyhole?

Postby cpg » Mon Mar 14, 2016 6:22 am

Can you find out exactly why?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

wizards
Posts: 17
Joined: Mon Nov 16, 2015 12:39 pm

Re: Samba V4.3 incompatible with greyhole?

Postby wizards » Mon Mar 14, 2016 6:40 am

Do you mean why do I get the cifs_mount error? if so, I don't know but I could do some more research.

wizards
Posts: 17
Joined: Mon Nov 16, 2015 12:39 pm

Re: Samba V4.3 incompatible with greyhole?

Postby wizards » Mon Mar 14, 2016 9:30 am

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

Who is online

Users browsing this forum: No registered users and 14 guests