Forums

Resolved
0 votes
ClearOS 7 Business.
After not running updates for a while, I ran them. Multiple things broke.
One is that the mount command no longer works. Our FTP server relies on a network drive and without that the FTP server has no files.

When I try to mount it, I get:
[root@filegate media]# mount networkdrive/
/sbin/mount.cifs: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory


The relevant line in /etc/fstab is:

//192.168.0.232/JOE4_E/GRA-FTP  /media/networkdrive     cifs    username=XXXX,password=XXXX,iocharset=utf8,sec=ntlm       0 0


I have tried:
yum reinstall libmount

which runs but does not fix the problem.

How do I fix mount on our server?

[root@filegate etc]# rpm -qa libmount
libmount-2.23.2-26.el7_2.3.x86_64
[root@filegate etc]# uname -a
Linux filegate.gra-inc.lan 3.10.0-327.36.3.v7.x86_64 #1 SMP Thu Oct 27 09:14:10 MDT 2016 x86_64 x86_64 x86_64 GNU/Linux
Saturday, February 18 2017, 02:46 AM
Share this post:

Accepted Answer

Saturday, February 18 2017, 08:45 PM - #Permalink
Resolved
0 votes
Have a google for "man yum".

[root@server ~]# yum provides /usr/lib64/samba/wbclient/libwbclient.so.0
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: mirror1-frankfurt.clearos.com
* clearos-centos-updates: download2.clearsdn.com
* clearos-centos-verified: mirror1-frankfurt.clearos.com
* clearos-contribs: mirror1-frankfurt.clearos.com
* clearos-epel-verified: mirror1-frankfurt.clearos.com
* clearos-fast-updates: download2.clearsdn.com
* clearos-infra: mirror1-frankfurt.clearos.com
* clearos-qa: mirror2.egloo.ca
* clearos-verified: mirror1-frankfurt.clearos.com
* private-clearcenter-ad: download2.clearsdn.com:80
* private-clearcenter-antimalware: download2.clearsdn.com:80
* private-clearcenter-antispam: download4.clearsdn.com:80
* private-clearcenter-business: download4.clearsdn.com:80
* private-clearcenter-content-filter: download2.clearsdn.com:80
* private-clearcenter-dyndns: download2.clearsdn.com:80
* private-clearcenter-dynvpn: download4.clearsdn.com:80
* private-clearcenter-ids: download2.clearsdn.com:80
* private-clearcenter-master-slave: download2.clearsdn.com:80
* private-clearcenter-rbs: download2.clearsdn.com:80
* private-clearcenter-security-audit: download2.clearsdn.com:80
* private-clearcenter-verified-updates: download2.clearsdn.com:80
* private-clearcenter-wpad: download2.clearsdn.com:80
libwbclient-4.2.3-10.2.v7.x86_64 : The winbind client library
Repo : clearos
Matched from:
Filename : /usr/lib64/samba/wbclient/libwbclient.so.0



libwbclient-4.2.10-7.v7.1.x86_64 : The winbind client library
Repo : clearos-verified
Matched from:
Filename : /usr/lib64/samba/wbclient/libwbclient.so.0



libwbclient-4.2.10-7.v7.1.x86_64 : The winbind client library
Repo : private-clearcenter-verified-updates
Matched from:
Filename : /usr/lib64/samba/wbclient/libwbclient.so.0



libwbclient-4.4.4-12.v7.1.x86_64 : The winbind client library
Repo : clearos-qa
Matched from:
Filename : /usr/lib64/samba/wbclient/libwbclient.so.0



libwbclient-4.4.4-12.v7.1.x86_64 : The winbind client library
Repo : @clearos-qa
Matched from:
Filename : /usr/lib64/samba/wbclient/libwbclient.so.0
So it looks like libwbclient.
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Tuesday, February 21 2017, 05:43 PM - #Permalink
    Resolved
    0 votes
    Thank you very much again, Nick. A simple
    yum reinstall libwbclient
    fixed the problem.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 18 2017, 01:13 PM - #Permalink
    Resolved
    0 votes
    In the apt-get system, there is a command modifier like "--whatprovides", which will tell you the name of the installed package that provides a given file. Is there a way of doing that with yum?
    My conclusion is that it's a different package that provides libwbclient.so.0. If I can figure out which one, I can reinstall it and hopefully be back in business.
    The reply is currently minimized Show
Your Reply