Failed to start samba due to a system error: Error running a command. cmd 22

@mladams Welcome to the Rockstor community.

I suspect that you have already resolved these issues but given the first is a know upstream samba update failure with our now legacy CentOS base and the key to it’s cause can be had via the suggested commands at the end of that error message:

Essentially a samba library is known to occasionally fail during our now rather large update set from CentOS, due in part to our rather old ISO.

See the following forum thread for how some folks resolved this in their Rockstor installs:

This samba library update failure and many other failures can be down to rebooting mid update. This is easily done now that there are hundreds of MBs of upstream updates. And we have insufficient Web-UI feedback to indicate when exactly all these updates are in place. One work around, post subscribing to an update channel via the Web-UI, on the older Rockstor 3 variants only, is to do this now very large update via the command line as the root user:

yum update

You may in this process be asked to accept new upstream repo keys.

Our newer ‘Built on openSUSE’ release candidate variant, now at 4.0.6, does not suffer from this update issue and uses zypper as it’s main update program.

Hope that helps at least with this issue.

1 Like