Problem with Samba on openSUSE Tumbleweed

I have a problem where Samba sporadically gives a ‘tdb_transaction_start_nonblock error’.
I have also tried using Smb4K to browse the network but it gives me the same error.

smbclient -L does however work and lists the shares available on the server.

I also get a


Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_smb'.

when I try to access the share via Dolphin or Krusader

Here is some info from the machine

Smb4K


Version 0.10.9
Using KDE Development Platform 4.6.5 (4.6.5) "release 4"

uname -a


Linux host.domain.local 3.0.1-40-desktop #1 SMP PREEMPT Fri Aug 5 20:05:41 UTC 2011 (191d3db) x86_64 x86_64 x86_64 GNU/Linux

tail -n50 /var/log/samba/log.nmbd


  reload_interfaces: No subnets to listen to. Waiting..
[2011/08/16 19:09:56,  0] nmbd/nmbd.c:860(main)
  nmbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/08/16 19:09:57,  0] nmbd/nmbd_subnetdb.c:250(create_subnets)
  create_subnets: No local IPv4 non-loopback interfaces !
[2011/08/16 19:09:57,  0] nmbd/nmbd_subnetdb.c:251(create_subnets)
  create_subnets: Waiting for an interface to appear ...
[2011/08/16 20:00:24,  0] nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
  *****
  
  Samba name server HOSTNAME is now a local master browser for workgroup DOMAIN on subnet 192.168.100.65
  
  *****
[2011/08/16 21:19:53,  0] nmbd/nmbd.c:66(terminate)
  Got SIGTERM: going down...
/usr/sbin/nmbd: symbol lookup error: /usr/sbin/nmbd: undefined symbol: tdb_transaction_start_nonblock
[2011/08/17 09:32:57,  0] nmbd/nmbd.c:860(main)
  nmbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/08/17 09:32:57,  0] nmbd/nmbd_subnetdb.c:250(create_subnets)
  create_subnets: No local IPv4 non-loopback interfaces !
[2011/08/17 09:32:57,  0] nmbd/nmbd_subnetdb.c:251(create_subnets)
  create_subnets: Waiting for an interface to appear ...
[2011/08/17 10:38:34,  0] nmbd/nmbd.c:66(terminate)
  Got SIGTERM: going down...
/usr/sbin/nmbd: symbol lookup error: /usr/sbin/nmbd: undefined symbol: tdb_transaction_start_nonblock
[2011/08/17 10:38:34,  0] nmbd/nmbd.c:860(main)
  nmbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/08/17 11:29:04,  0] nmbd/nmbd_namequery.c:109(query_name_response)
  query_name_response: Multiple (2) responses received for a query on subnet 192.168.2.64 for name DOMAIN<1d>.
  This response was from IP 192.168.2.42, reporting an IP address of 192.168.2.42.
[2011/08/17 16:44:40,  0] nmbd/nmbd.c:66(terminate)
  Got SIGTERM: going down...
/usr/sbin/nmbd: symbol lookup error: /usr/sbin/nmbd: undefined symbol: tdb_transaction_start_nonblock
[2011/08/17 23:22:48,  0] nmbd/nmbd.c:860(main)
  nmbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/08/17 23:22:49,  0] nmbd/nmbd_subnetdb.c:250(create_subnets)
  create_subnets: No local IPv4 non-loopback interfaces !
[2011/08/17 23:22:49,  0] nmbd/nmbd_subnetdb.c:251(create_subnets)
  create_subnets: Waiting for an interface to appear ...
[2011/08/18 10:03:57,  0] nmbd/nmbd.c:860(main)
  nmbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/08/18 10:03:58,  0] nmbd/nmbd_subnetdb.c:250(create_subnets)
  create_subnets: No local IPv4 non-loopback interfaces !
[2011/08/18 10:03:58,  0] nmbd/nmbd_subnetdb.c:251(create_subnets)
  create_subnets: Waiting for an interface to appear ...

tail -n50 /var/log/samba/log.smbd


/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
[2011/08/17 23:22:50,  0] smbd/server.c:1045(main)
  smbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
/usr/sbin/smbd: symbol lookup error: /usr/sbin/smbd: undefined symbol: tdb_transaction_start_nonblock
[2011/08/18 10:03:58,  0] smbd/server.c:1045(main)
  smbd version 3.6.0-5.1-2588-SUSE-SL11.4-x86_64 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011

This is my smb.conf


[global]
        workgroup = DOMAIN
        passdb backend = tdbsam
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        include = /etc/samba/dhcp.conf
        logon path = \\%L\profiles\.msprofile
        logon home = \\%L\%U\.9xprofile
        logon drive = P:
        usershare allow guests = No
        security = domain
        add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
        domain logons = No
        domain master = No
        ldap suffix = 
        netbios name = HOSTNAME
        security = user
        usershare max shares = 100
        wins server = 
        wins support = No
[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes

On Thu August 18 2011 08:46 am, Wolfblitz wrote:

>
> This is my smb.conf
>
>
> Code:
> --------------------
>
> [global]
> workgroup = DOMAIN
> passdb backend = tdbsam
> printing = cups
> printcap name = cups
> printcap cache time = 750
> cups options = raw
> map to guest = Bad User
> include = /etc/samba/dhcp.conf
> logon path = \%L\profiles.msprofile
> logon home = \%L%U.9xprofile
> logon drive = P:
> usershare allow guests = No
> security = domain
> add machine script = /usr/sbin/useradd -c
Machine -d /var/lib/nobody -s /bin/false %m$
> domain logons = No
> domain master = No
> ldap suffix =
> netbios name = HOSTNAME
> security = user
> usershare max shares = 100
> wins server =
> wins support = No
> [homes]
> comment = Home Directories
> valid users = %S, %D%w%S
> browseable = No
> read only = No
> inherit acls = Yes
>
> --------------------
>
>
Wolfblitz;

Unless your Opensuse machine is a member of an NT or Samba domain, the
parameter “security = domain” should NOT be used. Just delete that parameter
and let Samba use the default of “security = user”. For details on this and
all the parameters see man smb.conf.

http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

After the change restart Samba.

In addition make sure both smbd and nmbd are started, and that these three
services are allowed through the firewall. Samba Server, Netbios Server and
Samba Client.

In addition to these, name resolution would work much better if you used the
following parameter in /etc/samba/smb.conf:


name resolve order = bcast host lmhosts wins

this makes sure that broadcasts are tried first in resolving netbios names
(this is the default method of MS Windows.)

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

SOLVED!!!

Firstly @venzkep thanks for that. Don’t know how I missed that one. Also added the name resolve order as suggested.

Unfortunately that didn’t solve the problem.

The problem came about when I ran zypper dup to upgrade from 11.4 to Tumbleweed. Somewhere in one of the packages a dependency or version is not marked and things broke.
It was trying to use the wrong libraries which caused the

symbol lookup error
and
undefined symbol
errors.

How I fixed it.

  1. Open YaST
  2. Search the packages for Samba
  3. Go and check all of the installed packages and make sure the latest ones from the openSUSE Tumbleweed repository is installed
  4. Restart smb and nmb
  5. tadaaa

Problem expunged.