Error when log into web console - Exception while running command(['/usr/bin/hostnamectl', '--static']): [Errno 24] Too many open files

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

I logged into the Rockstor management page and had this error. I logged off and then back onto the management page and error still there. It’s there for all tabs on the management page.35

Detailed step by step instructions to reproduce the problem

[write here]

Web-UI screenshot

[Drag and drop the image here]

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 877, in gethostname o, e, rc = run_command([HOSTNAMECTL, "--static"]) File "/opt/rockstor/src/rockstor/system/osi.py", line 166, in run_command raise Exception("Exception while running command({}): {}".format(cmd, e)) Exception: Exception while running command(['/usr/bin/hostnamectl', '--static']): [Errno 24] Too many open files

Sorry, wrong screen shot previously

35%20(2)

@MRC-MBU Hello again.

We use to see this a while ago and suspected it was down to AFP or our our treatment of it. But we have not had many reports of late thought. We also removed the AFP Web-UI config capability in 3.9.2-56.

This is a very generic error that will show up in all sorts of ways and the easiest work around for now may be to just reboot. There has been some investigation but I don’t think we have yet had the same report on our newer “Build on openSUSE” Rockstor 4 version which is the only variant we are now able to release update for anyway.

Try a reboot and you may well be just fine there after. You may also find that leaving the dashboad open for prolonged periods can also trigger this. Again in older versions of Rockstor.

Also, post reboot, it’s worth double checking your Rockstor version via:

yum info rockstor

Just in case.

Hope that helps.