Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
version SAMBA_4.1.11 not found - no shares
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-16
11:11 AM
2014-09-16
11:11 AM
version SAMBA_4.1.11 not found - no shares
Hi together,
I have a serious problem with samba and my RN 104. Since a few days I cannot Access the shares from my Rn 104. I installed the actual firmware 6.1.8 again, but the shares only visible after the first restart after flashing. When a cold start is happened the shares not appear.
When I connect with ssh and start a samba command e.g. smbtree the following is shown:
###:~# smbtree
smbtree: /usr/lib/arm-linux-gnueabi/samba/liberrors.so: version `SAMBA_4.1.11' not found (required by /usr/lib/arm-linux-gnueabi/libndr.so.0)
###:~#_
If anybody has an idea what is wrong with the samba conf or something else, plz give me a note.
bye the fly
I have a serious problem with samba and my RN 104. Since a few days I cannot Access the shares from my Rn 104. I installed the actual firmware 6.1.8 again, but the shares only visible after the first restart after flashing. When a cold start is happened the shares not appear.
When I connect with ssh and start a samba command e.g. smbtree the following is shown:
###:~# smbtree
smbtree: /usr/lib/arm-linux-gnueabi/samba/liberrors.so: version `SAMBA_4.1.11' not found (required by /usr/lib/arm-linux-gnueabi/libndr.so.0)
###:~#_
If anybody has an idea what is wrong with the samba conf or something else, plz give me a note.
bye the fly
Message 1 of 17
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-16
11:57 AM
2014-09-16
11:57 AM
Re: version SAMBA_4.1.11 not found - no shares
It looks like you made manual changes to the installed packages on the system... perhaps with apt-get?
Message 2 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-18
10:46 PM
2014-09-18
10:46 PM
Re: version SAMBA_4.1.11 not found - no shares
Yes, I didn't know that I don't have to. But ís there any help to get samba work again. I only use the samba Shares at the readynas. Can Samba be reinstalled and uses the netgear share config? And why it works after flashing and not after cold boot?
Message 3 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-18
11:04 PM
2014-09-18
11:04 PM
Re: version SAMBA_4.1.11 not found - no shares
Have you loaded much data onto the unit yet?
What's the output of the following?:
Also if you download your logs zip file, apt-history.log should indicate what packages have been installed via apt-get (some of which you may have installed manually). This should give some clues as to which packages you replaced assuming you did it via apt-get.
You may wish to backup your data and do a factory reset (wipes all data, settings, everything) then restore your data from backup.
We include updates to packages in firmware updates.
For example 6.1.9 includes samba 4.0.21 whereas 6.1.8 has samba 4.0.16
What's the output of the following?:
# dpkg -l | grep samba
Also if you download your logs zip file, apt-history.log should indicate what packages have been installed via apt-get (some of which you may have installed manually). This should give some clues as to which packages you replaced assuming you did it via apt-get.
You may wish to backup your data and do a factory reset (wipes all data, settings, everything) then restore your data from backup.
We include updates to packages in firmware updates.
For example 6.1.9 includes samba 4.0.21 whereas 6.1.8 has samba 4.0.16
Message 4 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-19
09:18 AM
2014-09-19
09:18 AM
Re: version SAMBA_4.1.11 not found - no shares
Thanks for the answer. Factory reset is not an Option, because it is filled with more data which I can backup. The upgrade today to 6.1.9 doesn't change anything.
Here some outputs with hope for help:
Here some outputs with hope for help:
dpkg -l | grep samba:
ii libsamba-credentials0:armel 2:4.0.21-netgear1 armel Samba Credentials management library
ii libsamba-hostconfig0:armel 2:4.0.21-netgear1 armel Samba host configuration library
ii libsamba-util0:armel 2:4.0.21-netgear1 armel Samba utility function library
ii samba 2:4.0.21-netgear1 armel SMB/CIFS file, NT domain and active directory server (version 4)
ii samba-common 2:4.0.21-netgear1 all common files used by both the Samba server and client
ii samba-common-bin 2:4.0.21-netgear1 armel Samba 4 common files used by both the server and the client
initrd.log:
[2014/02/27 09:52:58] Factory default initiated due to new disks (no RAID, no partitions)!
[2014/02/27 09:53:16] Defaulting to X-RAID2 mode, RAID level 1
[2014/02/27 09:53:41] Factory default initiated on ReadyNASOS 6.1.6.
[2014/03/13 12:49:14] Updated from ReadyNASOS 6.1.6 (1391111179) to 6.1.7 (1394646198).
[2014/03/18 12:31:05] Updated from ReadyNASOS 6.1.7 to 6.1.6.
[2014/04/15 12:28:23] Updated from ReadyNASOS 6.1.6 (1391111179) to 6.1.7 (1396977042).
[2014/05/18 12:06:25] Updated from ReadyNASOS 6.1.7 (1396977042) to 6.1.8 (1398980083).
[2014/06/29 02:14:01] Updated from ReadyNASOS 6.1.8 (1398980083) to 6.1.9 (1403301897).
[2014/07/21 12:48:03] Updated from ReadyNASOS 6.1.9 (1403301897) to 6.1.9 (1405706270).
[2014/08/14 11:07:26] Updated from ReadyNASOS 6.1.9 (1405706270) to 6.1.9 (1407979333).
[2014/08/29 12:32:10] Updated from ReadyNASOS 6.1.9 (1407979333) to 6.1.9 (1408568742).
[2014/09/04 14:21:42] Updated from ReadyNASOS 6.1.9 (1408568742) to 6.1.9 (1408568742).
[2014/09/04 14:28:09] Updated from ReadyNASOS 6.1.9 (1408568742) to 6.1.9 (1408568742).
[2014/09/08 11:53:02] Updated from ReadyNASOS 6.1.9 (1408568742) to 6.1.9 (1408568742).
[2014/09/14 12:41:24] Updated from ReadyNASOS 6.1.9 (1408568742) to 6.1.9 (1408568742).
[2014/09/15 12:00:54] Updated from ReadyNASOS 6.1.9 (1408568742) to 6.1.8 (1398980083).
[2014/09/19 09:58:11] Updated from ReadyNASOS 6.1.8 (1398980083) to 6.1.9 (1409791183).
apt-history.log:
...
Start-Date: 2014-09-14 20:31:38
Commandline: apt-get upgrade
Upgrade: dmsetup:armel (1.02.74-7, 1.02.74-8), libdcerpc0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libc-bin:armel (2.13-38+deb7u3, 2.13-38+deb7u4), base-files:armel (7.1wheezy1, 7.1wheezy6), libsnmp15:armel (5.4.3~dfsg-2.7, 5.4.3~dfsg-2.8), libsmbclient-raw0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), smbclient:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libjpeg8:armel (8d-1netgear1, 8d1-netgear1), libsamba-util0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libsamdb0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libtdb1:armel (1.2.12-0.netgear1, 1.3.0-0.netgear1), libapr1:armel (1.4.6-3, 1.4.6-3+deb7u1), libsamba-hostconfig0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libsamba-credentials0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libsmbclient:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libexpat1:armel (2.1.0-1, 2.1.0-1+deb7u1), libdevmapper1.02.1:armel (1.02.74-7, 1.02.74-8), libnss-winbind:armel (4.0.21-netgear1, 4.1.11-0.netgear1), lua5.1:armel (5.1.5-4, 5.1.5-4+deb7u1), snmpd:armel (5.4.3~dfsg-2.7, 5.4.3~dfsg-2.8), samba-common-bin:armel (4.0.21-netgear1, 4.1.11-0.netgear1), btrfs-tools:armel (0.20+20131108-netgear3, 3.14.2-netgear2), multiarch-support:armel (2.13-38+deb7u3, 2.13-38+deb7u4), samba:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libwbclient0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), sysvinit-utils:armel (2.88dsf-41, 2.88dsf-41+deb7u1), libndr-standard0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libldb1:armel (1.1.16-netgear1, 1.1.17-0.netgear1), tzdata:armel (2013c-0wheezy1, 2014e-0wheezy1), liblua5.1-0:armel (5.1.5-4, 5.1.5-4+deb7u1), gpgv:armel (1.4.12-7+deb7u4, 1.4.12-7+deb7u6), libsnmp-base:armel (5.4.3~dfsg-2.7, 5.4.3~dfsg-2.8), samba-common:armel (4.0.21-netgear1, 4.1.11-0.netgear1), winbind:armel (4.0.21-netgear1, 4.1.11-0.netgear1), sysv-rc:armel (2.88dsf-41, 2.88dsf-41+deb7u1), libc6:armel (2.13-38+deb7u3, 2.13-38+deb7u4), initscripts:armel (2.88dsf-41, 2.88dsf-41+deb7u1), libndr0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), libgensec0:armel (4.0.21-netgear1, 4.1.11-0.netgear1), gnupg:armel (1.4.12-7+deb7u4, 1.4.12-7+deb7u6)
End-Date: 2014-09-14 20:33:11
Start-Date: 2014-09-14 20:44:35
Commandline: apt-get -y install --fix-broken
Upgrade: perl-base:armel (5.14.2-21, 5.14.2-21+deb7u1), libperl5.14:armel (5.14.2-21, 5.14.2-21+deb7u1)
End-Date: 2014-09-14 20:44:42
Start-Date: 2014-09-15 20:03:24
Commandline: apt-get -y install --fix-broken
Upgrade: perl-base:armel (5.14.2-21, 5.14.2-21+deb7u1), libperl5.14:armel (5.14.2-21, 5.14.2-21+deb7u1)
Remove: mailutils:armel (2.99.97-3), libgnutls-openssl27:armel (2.12.20-8+deb7u2), ssmtp:armel (2.64-7)
End-Date: 2014-09-15 20:03:31
Start-Date: 2014-09-16 19:40:23
Commandline: apt-get upgrade
Upgrade: dmsetup:armel (1.02.74-7, 1.02.74-8), libc-bin:armel (2.13-38, 2.13-38+deb7u2), base-files:armel (7.1wheezy1, 7.1wheezy6), libsnmp15:armel (5.4.3~dfsg-2.7, 5.4.3~dfsg-2.8), libapt-pkg4.12:armel (0.9.7.9, 0.9.7.9+deb7u2), libapr1:armel (1.4.6-3, 1.4.6-3+deb7u1), libexpat1:armel (2.1.0-1, 2.1.0-1+deb7u1), libdevmapper1.02.1:armel (1.02.74-7, 1.02.74-8), snmpd:armel (5.4.3~dfsg-2.7, 5.4.3~dfsg-2.8), apt:armel (0.9.7.9, 0.9.7.9+deb7u2), dpkg:armel (1.16.10, 1.16.15), multiarch-support:armel (2.13-38, 2.13-38+deb7u2), sysvinit-utils:armel (2.88dsf-41, 2.88dsf-41+deb7u1), tzdata:armel (2013c-0wheezy1, 2014e-0wheezy1), libsnmp-base:armel (5.4.3~dfsg-2.7, 5.4.3~dfsg-2.8), sysv-rc:armel (2.88dsf-41, 2.88dsf-41+deb7u1), libc6:armel (2.13-38, 2.13-38+deb7u2), initscripts:armel (2.88dsf-41, 2.88dsf-41+deb7u1)
End-Date: 2014-09-16 19:41:30
Start-Date: 2014-09-16 19:46:09
Commandline: apt-get autoremove
Remove: libswresample0:armel (1.2.6-netgear1)
End-Date: 2014-09-16 19:46:11
Start-Date: 2014-09-16 19:46:30
Commandline: apt-get remove samba
Remove: libnss-winbind:armel (4.0.16-netgear1), samba:armel (4.0.16-netgear1), winbind:armel (4.0.16-netgear1)
End-Date: 2014-09-16 19:46:33
Start-Date: 2014-09-16 19:46:46
Commandline: apt-get install samba
Install: samba:armel (4.0.16-netgear1)
End-Date: 2014-09-16 19:46:49
Start-Date: 2014-09-19 18:00:43
Commandline: apt-get -y install --fix-broken
Upgrade: perl-base:armel (5.14.2-21, 5.14.2-21+deb7u1), libperl5.14:armel (5.14.2-21, 5.14.2-21+deb7u1)
End-Date: 2014-09-19 18:00:47
Message 5 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-19
09:44 AM
2014-09-19
09:44 AM
Re: version SAMBA_4.1.11 not found - no shares
So after doing an apt-get update / upgrade ist Samba 4.1.11 working again - I know thats not the right way, but I only need the smb shares.
only the Shares from:
will not shown, but the Rn104 is back in network places. Maybe I only had to correct the samba config to enable the shares?
#smbstatus
Samba version 4.1.11
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
/var/lock/samba/locking.tdb not initialised
This is normal if an SMB client has never connected to your server.
only the Shares from:
cat /etc/samba/smb.conf | grep Shares.conf
include = /etc/frontview/samba/Shares.conf
will not shown, but the Rn104 is back in network places. Maybe I only had to correct the samba config to enable the shares?
Message 6 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-19
04:24 PM
2014-09-19
04:24 PM
Re: version SAMBA_4.1.11 not found - no shares
So I've screwed up my samba install too via apt-get upgrade. n00b mistake, I didn't realize until further reading that this is not recommended. So is there really no other way of fixing this besides doing a factory reset?
I can launch smbd from the cli but any changes made to shares in the gui kill the process and I have to restart it again and it doesn't show that samba is running on the settings/services page. Any tricks or thoughts on how I can repair the samba install to have it function normally would be greatly appreciated.
I can launch smbd from the cli but any changes made to shares in the gui kill the process and I have to restart it again and it doesn't show that samba is running on the settings/services page. Any tricks or thoughts on how I can repair the samba install to have it function normally would be greatly appreciated.
Message 7 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-19
04:31 PM
2014-09-19
04:31 PM
Re: version SAMBA_4.1.11 not found - no shares
Well the challenge would be to reverse the changes that were made by the apt-get upgrade.
Edit: don't do OS re-install. See post below.
Edit: don't do OS re-install. See post below.
Message 8 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-19
05:06 PM
2014-09-19
05:06 PM
Re: version SAMBA_4.1.11 not found - no shares
Don't do OS reinstall. Just execute the following command:
apt-get install libdcerpc0=2:4.0.21-netgear1 libgensec0=2:4.0.21-netgear1 libndr-standard0=2:4.0.21-netgear1 libndr0=2:4.0.21-netgear1 libsamba-credentials0=2:4.0.21-netgear1 libsamba-hostconfig0=2:4.0.21-netgear1 libsamba-util0=2:4.0.21-netgear1 libsamdb0=2:4.0.21-netgear1 libsmbclient=2:4.0.21-netgear1 libsmbclient-raw0=2:4.0.21-netgear1 libwbclient0=2:4.0.21-netgear1 samba=2:4.0.21-netgear1 samba-common=2:4.0.21-netgear1 samba-common-bin=2:4.0.21-netgear1 libldb1=1:1.1.16-netgear1
Message 9 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-20
09:27 AM
2014-09-20
09:27 AM
Re: version SAMBA_4.1.11 not found - no shares
That did it! Woo! Thank you so much. Everything appears to be back to normal. :werd: Very much appreciated.
-kad
-kad
Message 10 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-20
10:42 AM
2014-09-20
10:42 AM
Re: version SAMBA_4.1.11 not found - no shares
I get it working with samba 4.1.11 with only a few things. If anyone is interested:
The good effect is that 4.1.11 is much faster than 4.0. Gigabit Ethernet is fully used to capacity while copying.
The samba start scripts were missing. I took these files from another debian install:
The only thing was that they don't start with /etc/rc5.d/ like in a normal debian.
So I decided to use a script:
and used crontab to start:
It works for me in the moment and I won't touch to rollback.
The good effect is that 4.1.11 is much faster than 4.0. Gigabit Ethernet is fully used to capacity while copying.
The samba start scripts were missing. I took these files from another debian install:
l *bd* *samba*
-rwxr-xr-x 1 root root 1948 Sep 19 21:33 nmbd
-rwxr-xr-x 1 root root 1266 Sep 19 21:32 samba
-rwxr-xr-x 1 root root 2299 Sep 19 21:33 samba-ad-dc
-rwxr-xr-x 1 root root 1930 Sep 19 21:32 smbd
The only thing was that they don't start with /etc/rc5.d/ like in a normal debian.
So I decided to use a script:
cat smb.sh
#!/bin/bash
sleep 3
date >>/opt/smb.log
/etc/init.d/samba start 1>>/opt/smb.log 2>1
date >>/opt/smb.log
and used crontab to start:
crontab -l | grep smb
@reboot /opt/smb.sh
It works for me in the moment and I won't touch to rollback.
Message 11 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-22
11:44 PM
2014-09-22
11:44 PM
Re: version SAMBA_4.1.11 not found - no shares
If anyone comes across this thread, if you want to use samba 4.1.x (but have not yet installed it), a better option than installing it manually would be to try 6.2.0 beta.
6.2.0 beta is now available for those of you who would like to try it: http://www.readynas.com/forum/viewtopic.php?f=154&t=77765
Please read the Release Notes carefully before trying this release and also be sure to make sure your backup is up to date before installing the update.
6.2.0 beta is now available for those of you who would like to try it: http://www.readynas.com/forum/viewtopic.php?f=154&t=77765
Please read the Release Notes carefully before trying this release and also be sure to make sure your backup is up to date before installing the update.
Message 12 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-21
07:27 PM
2014-10-21
07:27 PM
Re: version SAMBA_4.1.11 not found - no shares
Thanks so much, this was a life saver! I had this same problem after running apt-get recently. (Well almost the same, it was complaining about SAMBA_4.0.22.) Running the above commands worked perfectly.
Just for my curiousity, what happened that broke it? I had run apt-get update before to install text editors, etc., and never had any problems.
Thanks,
Evan
Just for my curiousity, what happened that broke it? I had run apt-get update before to install text editors, etc., and never had any problems.
Thanks,
Evan
Message 13 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-21
07:53 PM
2014-10-21
07:53 PM
Re: version SAMBA_4.1.11 not found - no shares
Did you do an
We don't recommend that.
Or did you install something that depended on samba?
# apt-get upgrade
We don't recommend that.
Or did you install something that depended on samba?
Message 14 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-26
04:22 PM
2014-10-26
04:22 PM
Re: version SAMBA_4.1.11 not found - no shares
mdgm wrote: Did you do an
# apt-get upgrade
We don't recommend that.
Yes I did :oops: Not the best idea I'm learning. I'll avoid this in the future. But I was curious what specifically happened with it that would break this. I was under the impression that apt-get was set to point to specific Netgear repos that were kosher to upgrade against. I guess that is incorrect.
Thanks,
Evan
Message 15 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-26
04:32 PM
2014-10-26
04:32 PM
Re: version SAMBA_4.1.11 not found - no shares
It does point to our repos, but also standard non-NETGEAR ones. We do pin some packages but not everything. Furthermore the 3rd party repository may get updated frequently and it would be impossible to keep up with all the changes.
Message 16 of 17
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-28
04:55 PM
2014-10-28
04:55 PM
Re: version SAMBA_4.1.11 not found - no shares
It's not the upgrade that's the problem, at least on OS6 boxes. It's just if you install a firmware update afterward (or do an OS reinstall, etc) that includes an older version of some shared libraries, then the system will end up eventually re-linking the shared libraries to their newest versions. So mismatches between programs (like Samba) and the shared libraries that they depend on can arise. Our 6.2.0 release will do some additional housekeeping to get rid of those additional files as part of the update process, so this particular situation wouldn't happen in the future.
Message 17 of 17