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/generic_view.py", line 41, in _handle_exception yield File "/opt/rockstor/src/rockstor/storageadmin/views/appliances.py", line 41, in get_queryset self._update_hostname() File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/decorators.py", line 145, in inner return func(*args, **kwargs) File "/opt/rockstor/src/rockstor/storageadmin/views/appliances.py", line 48, in _update_hostname cur_hostname = gethostname() File "/opt/rockstor/src/rockstor/system/osi.py", line 766, in gethostname o, e, rc = run_command([HOSTNAMECTL, '--static']) File "/opt/rockstor/src/rockstor/system/osi.py", 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.', '']
![screencapture-192-168-1-199-home-2018-10-18-16_17_22|690x379](upload://b9rPWy6HIzsQVZUQlVrA3KMK3fP.png) 

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