Error running a command. cmd

Brief description of the problem

[write here]

Detailed step by step instructions to reproduce the problem

[write here]

Web-UI screenshot

Error Traceback provided on the Web-UI

Traceback (most recent call last): File "/opt/rockstor/src/rockstor/rest_framework_custom/", line 41, in _handle_exception yield File "/opt/rockstor/src/rockstor/storageadmin/views/", line 41, in get_queryset self._update_hostname() File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/", line 145, in inner return func(*args, **kwargs) File "/opt/rockstor/src/rockstor/storageadmin/views/", line 48, in _update_hostname cur_hostname = gethostname() File "/opt/rockstor/src/rockstor/system/", line 766, in gethostname o, e, rc = run_command([HOSTNAMECTL, '--static']) File "/opt/rockstor/src/rockstor/system/", line 121, in run_command raise CommandException(cmd, out, err, rc) CommandException: Error running a command. cmd = /usr/bin/hostnamectl --static. rc = 1. stdout = ['']. stderr = ['Could not get property: Refusing activation, D-Bus is shutting down.', '']

Hi @Nick_Jorens,

Could you please provide some context? What were you attempting to do when this message was displayed and what actions are not working?

It appears as though the D-Bus service is causing your issue. I’ve seen D-Bus issues with systemd commands before, and they can usually be temporarily alleviated with either:

systemctl restart systemd-logind

- OR -

systemctl restart dbus