Detailed step by step instructions to reproduce the problem
Udated to 3.9.1-10 a view days ago. today i noticed samba was not running. trying to start samba resulted in the error. even updating to 3.9.1-13 didnt fix the problem.
Web-UI screenshot
Sep 21 14:01:30 wvk-nas systemd: Starting Samba NMB Daemon...
Sep 21 14:01:30 wvk-nas nmbd: /usr/sbin/nmbd: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory
Sep 21 14:01:30 wvk-nas systemd: nmb.service: main process exited, code=exited, status=127/n/a
Sep 21 14:01:31 wvk-nas systemd: Failed to start Samba NMB Daemon.
Sep 21 14:01:31 wvk-nas systemd: Unit nmb.service entered failed state.
Sep 21 14:01:31 wvk-nas systemd: nmb.service failed.
Sep 21 14:07:10 wvk-nas systemd: Starting Cleanup of Temporary Directories...
but
find / -name libwbclient*
/usr/lib64/samba/wbclient/libwbclient.so.0
/usr/lib64/samba/wbclient/libwbclient.so.0.13
and
ls -l
lrwxrwxrwx 1 root root 19 14. Sep 16:34 libwbclient.so.0 → libwbclient.so.0.13
-rwxr-xr-x 1 root root 57376 7. Sep 00:59 libwbclient.so.0.13
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/smart_manager/views/samba_service.py", line 113, in post
systemctl('nmb', command)
File "/opt/rockstor/src/rockstor/system/services.py", line 64, in systemctl
return run_command([SYSTEMCTL_BIN, switch, service_name])
File "/opt/rockstor/src/rockstor/system/osi.py", line 119, in run_command
logger.error(e_msg)
CommandException: Error running a command. cmd = /usr/bin/systemctl start nmb. rc = 1. stdout = ['']. stderr = ['Job for nmb.service failed because the control process exited with error code. See "systemctl status nmb.service" and "journalctl -xe" for details.', '']