SOLVED: Problem accessing shares on new Amahi 11 install
Re: Problem accessing shares on new Amahi 11 install
The samba-module/bin/4.7/greyhole-x86_64.so file doesn't exist on my system that I can find. Where should it be located?
Re: Problem accessing shares on new Amahi 11 install
From /var/log/greyhole.log :
Oct 06 15:04:15 INFO daemon: The Samba daemon will now restart...
Oct 06 15:06:38 INFO daemon: Greyhole (version 0.10.15) daemon started.
Oct 06 15:06:38 INFO daemon: Optimizing MySQL tables...
Oct 06 15:06:39 WARN daemon: Greyhole VFS module for Samba was missing, or the wrong version for your Samba. It will now be replaced with a symlink to /usr/lib64/greyhole/greyhole-samba47.so
Oct 06 15:06:39 WARN daemon: PHP Warning [2]: symlink(): No such file or directory in /usr/bin/greyhole on line 1760; BT: greyhole[L3635] run() => greyhole[L3601] initialize() => greyhole[L3624] samba_check_vfs() => greyhole[L4980] gh_symlink(/usr/lib64/greyhole/greyhole-samba47.so,/usr/lib64/samba/vfs/greyhole.so) => greyhole[L1760] symlink(/usr/lib64/greyhole/greyhole-samba47.so,/usr/lib64/samba/vfs/greyhole.so)
Oct 06 15:06:39 INFO daemon: The Samba daemon will now restart...
Oct 06 15:04:15 INFO daemon: The Samba daemon will now restart...
Oct 06 15:06:38 INFO daemon: Greyhole (version 0.10.15) daemon started.
Oct 06 15:06:38 INFO daemon: Optimizing MySQL tables...
Oct 06 15:06:39 WARN daemon: Greyhole VFS module for Samba was missing, or the wrong version for your Samba. It will now be replaced with a symlink to /usr/lib64/greyhole/greyhole-samba47.so
Oct 06 15:06:39 WARN daemon: PHP Warning [2]: symlink(): No such file or directory in /usr/bin/greyhole on line 1760; BT: greyhole[L3635] run() => greyhole[L3601] initialize() => greyhole[L3624] samba_check_vfs() => greyhole[L4980] gh_symlink(/usr/lib64/greyhole/greyhole-samba47.so,/usr/lib64/samba/vfs/greyhole.so) => greyhole[L1760] symlink(/usr/lib64/greyhole/greyhole-samba47.so,/usr/lib64/samba/vfs/greyhole.so)
Oct 06 15:06:39 INFO daemon: The Samba daemon will now restart...
Re: Problem accessing shares on new Amahi 11 install
Not sure as I am away and can’t look at my machine.
Might try:
Watch the output and check Greyhole log file for errors.
Might try:
Code: Select all
sudo dnf reinstall amahi-Greyhole
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Problem accessing shares on new Amahi 11 install
I think I got it. The problem was that greyhole-samba47.so doesn't get installed in /usr/lib64/greyhole for some reason. When greyhole starts and tries to initialize a samba link it fails. Samba then creates a symlink for greyhole-samba47.so but it doesn't point anywhere because the target file doesn't exist. To try and fix this I went to the Greyhole site and downloaded greyhole-x86_64.so from the greyhole- 0.10.15.tar.gz archive. I copied this file to /usr/lib64/greyhole and renamed it to greyhole-samba47.so. Then I was able to recreate the symlink.
Restart greyhole
I was then able to access the greyhole shares from a windows client. Seems to be working.
Code: Select all
ln -s /usr/lib64/greyhole/greyhole-samba47.so /usr/lib64/samba/vfs/greyhole.so
Code: Select all
systemctl restart amahi-greyhole
Re: Problem accessing shares on new Amahi 11 install
Great job on finding the issue.
We will repackage Greyhole so that file is included.
Presume we can mark this as resolved.
We will repackage Greyhole so that file is included.
Presume we can mark this as resolved.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Problem accessing shares on new Amahi 11 install
Yep. It seems to be working ok now. Thanks for your help.
Who is online
Users browsing this forum: No registered users and 16 guests