Results 1 to 10 of 10

Thread: Samba problems on Tumbleweed

  1. #1

    Default Samba problems on Tumbleweed

    Hi

    A little while back, I stated to have problems with connecting to samba shares from Dolphin. A little bit more digging around (slowly, since I rarely need to connect to any SMB shares) and it appears that it's not an issue with my DE (KDE) or user account (tried creating a new user), but that my Samba install is somehow borked.

    If I try and run any of the Samba tools, I get these sort of error messsages:
    smbstatus: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)

    If I run systemctl status smb.service I get the following:
    ● smb.service - Samba SMB Daemon
    Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Fri 2018-02-09 08:26:53 NZDT; 2h 27min ago
    Process: 7786 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
    Process: 7782 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
    Main PID: 7786 (code=exited, status=1/FAILURE)

    Feb 09 08:26:53 xxxx systemd[1]: Starting Samba SMB Daemon...
    Feb 09 08:26:53 xxxx smbd[7786]: /usr/sbin/smbd: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:26:53 xxxx smbd[7786]: /usr/sbin/smbd: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:26:53 xxxx smbd[7786]: /usr/sbin/smbd: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:26:53 xxxx smbd[7786]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:26:53 xxxx smbd[7786]: /usr/sbin/smbd: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:26:53 xxxx systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
    Feb 09 08:26:53 xxxx systemd[1]: Failed to start Samba SMB Daemon.
    Feb 09 08:26:53 xxxx systemd[1]: smb.service: Unit entered failed state.
    Feb 09 08:26:53 xxxx systemd[1]: smb.service: Failed with result 'exit-code'.
    Similarly for nmb:
    ● nmb.service - Samba NMB Daemon
    Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Fri 2018-02-09 08:10:59 NZDT; 2h 40min ago
    Main PID: 1522 (code=exited, status=1/FAILURE)

    Feb 09 08:10:59 xxxx systemd[1]: Starting Samba NMB Daemon...
    Feb 09 08:10:59 xxxx nmbd[1522]: /usr/sbin/nmbd: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:10:59 xxxx nmbd[1522]: /usr/sbin/nmbd: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:10:59 xxxx nmbd[1522]: /usr/sbin/nmbd: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:10:59 xxxx nmbd[1522]: /usr/sbin/nmbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:10:59 xxxx nmbd[1522]: /usr/sbin/nmbd: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    Feb 09 08:10:59 xxxx systemd[1]: nmb.service: Main process exited, code=exited, status=1/FAILURE
    Feb 09 08:10:59 xxxx systemd[1]: Failed to start Samba NMB Daemon.
    Feb 09 08:10:59 xxxx systemd[1]: nmb.service: Unit entered failed state.
    Feb 09 08:10:59 xxxx systemd[1]: nmb.service: Failed with result 'exit-code'.
    ldd /usr/bin/smbstatus
    /usr/bin/smbstatus: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    linux-vdso.so.1 (0x00007ffdbbfe5000)
    libpopt-samba3-samba4.so => /usr/lib64/samba/libpopt-samba3-samba4.so (0x00007f9780a50000)
    libsamba-util.so.0 => /usr/lib64/libsamba-util.so.0 (0x00007f97807da000)
    libsmbconf.so.0 => /usr/lib64/libsmbconf.so.0 (0x00007f9780550000)
    ....bunch of others.....


    I've tried zypper dup (including disabling all additional repos, and just having the Tumbleweed ones), I've also tried unconditionally re-installing all the installed samba packages, but no change. So, I can see it seems to be having problems with some libraries, but not sure how to fix this. Does anyone have any suggestions / pointers?


    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,708
    Blog Entries
    1

    Default Re: Samba problems on Tumbleweed

    For a better picture of the situation, please report back with the output of the following commands
    Code:
    zypper se -si samba
    Code:
    zypper lr -d
    Please also enclose the output within code tags (refer to the '#' button in the forum editor).

  3. #3

    Default Re: Samba problems on Tumbleweed

    Code:
    zypper se -si samba
    Loading repository data...
    Reading installed packages...
    
    S  | Name                   | Type    | Version                      | Arch   | Repository      
    ---+------------------------+---------+------------------------------+--------+-----------------
    i+ | gvfs-backend-samba     | package | 1.34.1-7.1                   | x86_64 | openSUSE:Factory
    i+ | gvfs-backend-samba     | package | 1.34.1-7.1                   | x86_64 | repo-oss        
    i+ | libsamba-credentials0  | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-credentials0  | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | libsamba-errors0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-errors0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | libsamba-errors0-32bit | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-errors0-32bit | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | libsamba-hostconfig0   | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-hostconfig0   | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | libsamba-passdb0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-passdb0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | libsamba-policy0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-policy0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | libsamba-util0         | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | libsamba-util0         | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba                  | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba                  | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba-client           | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba-client           | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba-dsdb-modules     | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba-dsdb-modules     | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba-kdc              | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba-kdc              | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba-libs             | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba-libs             | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba-python           | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba-python           | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | samba-winbind          | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | openSUSE:Factory
    i+ | samba-winbind          | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss        
    i+ | yast2-samba-client     | package | 3.1.19-1.3                   | noarch | openSUSE:Factory
    i+ | yast2-samba-client     | package | 3.1.19-1.3                   | noarch | repo-oss        
    i+ | yast2-samba-server     | package | 3.2.2-1.2                    | noarch | openSUSE:Factory
    i+ | yast2-samba-server     | package | 3.2.2-1.2                    | noarch | repo-oss
    and

    Code:
    zypper lr -d
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    #  | Alias                               | Name             | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                 | Service
    ---+-------------------------------------+------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
     1 | Mozilla                             | Mozilla          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/              |        
     2 | Opera                               | Opera            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://rpm.opera.com/rpm                                                           |        
     3 | VLC                                 | VLC              | No      | ----      | ----    |  100     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/                               |        
     4 | http-download.opensuse.org-ce8596ac | openSUSE:Factory | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                   |        
     5 | openSUSE_Tumbleweed                 | Samba TESTING    | No      | ----      | ----    |  101     | rpm-md | http://download.opensuse.org/repositories/network:/samba:/TESTING/openSUSE_Factory/ |        
     6 | packman                             | packman          | No      | ----      | ----    |  100     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                 |        
     7 | repo-debug                          | repo-debug       | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/debug                                  |        
     8 | repo-non-oss                        | repo-non-oss     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss                                |        
     9 | repo-oss                            | repo-oss         | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss                                    |        
    10 | repo-update                         | repo-update      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                     |
    (Note: I have been doing some playing around with the Samba repos, I can set these back to the defaults if necessary. Nothing I've changed so far has made any difference)


    Thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,708
    Blog Entries
    1

    Default Re: Samba problems on Tumbleweed

    Repos 4 and 9 are duplicates, so one of those can be removed, and I would remove repo 5 (Samba-TESTING) as well, then do
    Code:
    zypper dup

  5. #5

    Default Re: Samba problems on Tumbleweed

    Will do.

    I have previously reset the repos back to just the defaults and done the zypper dup, with no change. I'm probably not going to be able to get back to you straight away, but thanks for the assistance so far.

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,708
    Blog Entries
    1

    Default Re: Samba problems on Tumbleweed

    Quote Originally Posted by pchnzqa View Post
    Will do.

    I have previously reset the repos back to just the defaults and done the zypper dup, with no change. I'm probably not going to be able to get back to you straight away, but thanks for the assistance so far.
    You might need to invoke
    Code:
    zypper dup --allow-vendor-change
    or
    Code:
    zypper dup --from repo-oss
    I'm sure others could advise better than I can for TW.

  7. #7

    Default Re: Samba problems on Tumbleweed

    I've reset the repos and run:
    Code:
    zypper dup --allow-vendor-change
    Accepted the changes, ran the update and rebooted.


    Output from "zypper lr -d"
    Code:
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    # | Alias        | Name         | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                    | Service
    --+--------------+--------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------+--------
    1 | Mozilla      | Mozilla      | No      | ----      | ----    |  100     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/ |        
    2 | Opera        | Opera        | No      | ----      | ----    |  100     | rpm-md | https://rpm.opera.com/rpm                                              |        
    3 | VLC          | VLC          | No      | ----      | ----    |  100     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/                  |        
    4 | packman      | packman      | No      | ----      | ----    |  100     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/    |        
    5 | repo-debug   | repo-debug   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/debug                     |        
    6 | repo-non-oss | repo-non-oss | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss                   |        
    7 | repo-oss     | repo-oss     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss                       |        
    8 | repo-update  | repo-update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                        |

    Output from "zypper se -si samba"
    Code:
    Loading repository data...
    Reading installed packages...
    
    S  | Name                        | Type    | Version                      | Arch   | Repository
    ---+-----------------------------+---------+------------------------------+--------+-----------
    i+ | gvfs-backend-samba          | package | 1.34.2-1.1                   | x86_64 | repo-oss  
    i+ | libsamba-credentials0       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | libsamba-credentials0-32bit | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | libsamba-errors0            | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | libsamba-errors0-32bit      | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | libsamba-hostconfig0        | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | libsamba-hostconfig0-32bit  | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | libsamba-passdb0            | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | libsamba-passdb0-32bit      | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | libsamba-policy0            | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | libsamba-util0              | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | libsamba-util0-32bit        | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba                       | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba-client                | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | samba-client-32bit          | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba-dsdb-modules          | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba-kdc                   | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | samba-kdc-32bit             | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba-libs                  | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | samba-libs-32bit            | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba-python                | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | samba-winbind               | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i  | samba-winbind-32bit         | package | 4.7.3+git.30.54c196e5d35-1.4 | x86_64 | repo-oss  
    i+ | yast2-samba-client          | package | 3.1.19-1.3                   | noarch | repo-oss  
    i+ | yast2-samba-server          | package | 3.2.2-1.2                    | noarch | repo-oss

    And running "smbstatus"
    Code:
    smbstatus: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    smbstatus: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)

    And "ldd /usr/bin/smbstatus"
    Code:
    ldd /usr/bin/smbstatus 
    /usr/bin/smbstatus: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
        linux-vdso.so.1 (0x00007ffc4b3c4000)
        libpopt-samba3-samba4.so => /usr/lib64/samba/libpopt-samba3-samba4.so (0x00007fc2c0118000)
        libsamba-util.so.0 => /usr/lib64/libsamba-util.so.0 (0x00007fc2bfea2000)
        libsmbconf.so.0 => /usr/lib64/libsmbconf.so.0 (0x00007fc2bfc18000)
        libreplace-samba4.so => /usr/lib64/samba/libreplace-samba4.so (0x00007fc2bfa15000)
        libsmbd-base-samba4.so => /usr/lib64/samba/libsmbd-base-samba4.so (0x00007fc2bf4b3000)
        libsamba-debug-samba4.so => /usr/lib64/samba/libsamba-debug-samba4.so (0x00007fc2bf2ad000)
        libsamba-errors.so.1 => /usr/lib64/libsamba-errors.so.1 (0x00007fc2bef63000)
    .....

    So, still the same as before.

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,708
    Blog Entries
    1

    Default Re: Samba problems on Tumbleweed

    Quote Originally Posted by pchnzqa View Post
    And "ldd /usr/bin/smbstatus"
    Code:
    ldd /usr/bin/smbstatus 
    /usr/bin/smbstatus: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libsocket-blocking-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libtime-basic-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    /usr/bin/smbstatus: /usr/lib64/samba/libgenrand-samba4.so: version `SAMBA_4.6.7_GIT.49.562D44FAA9DSUSE_OS13.3_X86_64' not found (required by /usr/lib64/libsamba-util.so.0)
    So, still the same as before.
    Yes, it is strange. Those library files are all part of samba-libs, and reported an incompatible version by /usr/lib64/libsamba-util.so.0 if I understand right? A consequence of having installed incompatible packages at some point? I would have thought the 'downgraded' packages from the OSS repo would have fixed the above. Perhaps you could try removing /usr/lib64/libsamba-util.so.0, and then reinstalling libsamba-util0. No promises though. A bug report might be needed to help resolve.

  9. #9

    Default Re: Samba problems on Tumbleweed

    Quote Originally Posted by deano_ferrari View Post
    Yes, it is strange. Those library files are all part of samba-libs, and reported an incompatible version by /usr/lib64/libsamba-util.so.0 if I understand right? A consequence of having installed incompatible packages at some point? I would have thought the 'downgraded' packages from the OSS repo would have fixed the above. Perhaps you could try removing /usr/lib64/libsamba-util.so.0, and then reinstalling libsamba-util0. No promises though. A bug report might be needed to help resolve.

    So, after a bit more digging, I noticed this:
    Code:
    ls lib*samba* -l
    lrwxrwxrwx 1 root root      29 Feb  4 10:12 libsamba-credentials.so.0 -> libsamba-credentials.so.0.0.1
    -rwxr-xr-x 1 root root   79880 Feb  4 10:13 libsamba-credentials.so.0.0.1
    -rwxr-xr-x 1 root root 1349704 Feb  4 10:13 libsamba-errors.so.1
    lrwxrwxrwx 1 root root      28 Feb  4 10:12 libsamba-hostconfig.so.0 -> libsamba-hostconfig.so.0.0.1
    -rwxr-xr-x 1 root root  180192 Feb  4 10:13 libsamba-hostconfig.so.0.0.1
    lrwxrwxrwx 1 root root      25 Feb  4 10:12 libsamba-passdb.so.0 -> libsamba-passdb.so.0.27.0
    -rwxr-xr-x 1 root root  292944 Feb  4 10:13 libsamba-passdb.so.0.27.0
    lrwxrwxrwx 1 root root      24 Feb  4 10:12 libsamba-policy.so.0 -> libsamba-policy.so.0.0.1
    -rwxr-xr-x 1 root root   59472 Feb  4 10:13 libsamba-policy.so.0.0.1
    lrwxrwxrwx 1 root root      31 Feb  8 13:27 libsamba-util.so.0 -> libsamba-util.so.0.0.1;59e3cf0a
    -rwxr-xr-x 1 root root  485656 Feb  4 10:13 libsamba-util.so.0.0.1
    -rwxr-xr-x 1 root root  481528 Oct  8 08:14 libsamba-util.so.0.0.1;59e3cf0a

    Hmmm, something's not right there! So, remove the dodgy looking link so:

    Code:
    ls lib*samba* -l
    lrwxrwxrwx 1 root root      29 Feb  4 10:12 libsamba-credentials.so.0 -> libsamba-credentials.so.0.0.1
    -rwxr-xr-x 1 root root   79880 Feb  4 10:13 libsamba-credentials.so.0.0.1
    -rwxr-xr-x 1 root root 1349704 Feb  4 10:13 libsamba-errors.so.1
    lrwxrwxrwx 1 root root      28 Feb  4 10:12 libsamba-hostconfig.so.0 -> libsamba-hostconfig.so.0.0.1
    -rwxr-xr-x 1 root root  180192 Feb  4 10:13 libsamba-hostconfig.so.0.0.1
    lrwxrwxrwx 1 root root      25 Feb  4 10:12 libsamba-passdb.so.0 -> libsamba-passdb.so.0.27.0
    -rwxr-xr-x 1 root root  292944 Feb  4 10:13 libsamba-passdb.so.0.27.0
    lrwxrwxrwx 1 root root      24 Feb  4 10:12 libsamba-policy.so.0 -> libsamba-policy.so.0.0.1
    -rwxr-xr-x 1 root root   59472 Feb  4 10:13 libsamba-policy.so.0.0.1
    lrwxrwxrwx 1 root root      22 Feb 19 08:12 libsamba-util.so.0 -> libsamba-util.so.0.0.1
    -rwxr-xr-x 1 root root  485656 Feb  4 10:13 libsamba-util.so.0.0.1
    -rwxr-xr-x 1 root root  481528 Oct  8 08:14 libsamba-util.so.0.0.1;59e3cf0a

    Then run "smbstatus" and;
    Code:
    smbstatus
    
    Samba version 4.7.3-git.30.54c196e5d35SUSE-oS15.5-x86_64
    PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing              
    ----------------------------------------------------------------------------------------------------------------------------------------
    
    Service      pid     Machine       Connected at                     Encryption   Signing     
    --------------------------------------------------------------------------------------------
    It's odd that I did a force update on all packages, and on all samba packages, but the dodgy link still remained.

    Thanks, Deano, your last comment provided the clue.

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,708
    Blog Entries
    1

    Default Re: Samba problems on Tumbleweed

    It's odd that I did a force update on all packages, and on all samba packages, but the dodgy link still remained.

    Thanks, Deano, your last comment provided the clue.
    Good to read of your progress with this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •