I am having trouble mounting my Greyhole shares locally. I followed the directions according to the wiki using the mount_shares_locally script, creating .smb_credentials, etc.
If I manually run "service mount_shares_locally start" as root everything works fine. However, upon reboot, the shares are created but they are empty.
Checking boot.log I see "mount error(111): Connection refused". However, if I run "service mount_shares_locally stop" and then "service mount_shares_locally start" all is fine again -> shares created which contain my data.
Any ideas?
Thanks.
Mount Shares Locally mount.cifs Error 111
-
- Posts: 12
- Joined: Sat Jun 26, 2010 1:11 pm
Re: Mount Shares Locally mount.cifs Error 111
Did you follow the wiki guidance exactly? I overlooked the one modification to /etc/init.d/mount_shares_locally file. That caused me issues, but once I completed that step all was well.
ßî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
-
- Posts: 12
- Joined: Sat Jun 26, 2010 1:11 pm
Re: Mount Shares Locally mount.cifs Error 111
Thanks.
Yes I followed them exactly and have double checked it several times. What's odd is that the script works fine if I manually run it in a terminal. It's just not working on startup. It appears it cannot connect 127.0.0.1 which is a little confusing.
Yes I followed them exactly and have double checked it several times. What's odd is that the script works fine if I manually run it in a terminal. It's just not working on startup. It appears it cannot connect 127.0.0.1 which is a little confusing.
Re: Mount Shares Locally mount.cifs Error 111
Do you run the service command as root, or as your user, when you run it manually ?
fpaste your complete boot.log please. Maybe Samba starts too soon before mount_shares_locally or something.
fpaste your complete boot.log please. Maybe Samba starts too soon before mount_shares_locally or something.
- Guillaume Boudreau
-
- Posts: 12
- Joined: Sat Jun 26, 2010 1:11 pm
Re: Mount Shares Locally mount.cifs Error 111
Does your /etc/init.d/mount_shares_locally file contain a "sleep 10" on line 26 ?
If not, re-download the script from the URL in here: http://wiki.amahi.org/index.php/Mount_Shares_Locally
(and change the username) then try again.
If not, re-download the script from the URL in here: http://wiki.amahi.org/index.php/Mount_Shares_Locally
(and change the username) then try again.
- Guillaume Boudreau
-
- Posts: 12
- Joined: Sat Jun 26, 2010 1:11 pm
Re: Mount Shares Locally mount.cifs Error 111
I did not have a sleep 10 in my 'mount_shares_locally' file. I grabbed the file again and everything is working. Thanks.
-Michael
-Michael
Re: Mount Shares Locally mount.cifs Error 111
I had mounted my shares locally just fine on Amahi5
Now on Amahi6 when i try to edit the mount_shares_locally file in the etc/init.d/ folder it says I don't have permission to do that and it won't let me save...
Any ideas???
Now on Amahi6 when i try to edit the mount_shares_locally file in the etc/init.d/ folder it says I don't have permission to do that and it won't let me save...
Any ideas???
Re: Mount Shares Locally mount.cifs Error 111
You need to be root to edit that file.
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 37 guests