Mac person trying his best to fake it through Ubuntu enough to keep MiaB running smoothly. I have been successful so far but about two weeks ago this started to be my email notice that there were updates to do. Status Checks in MiaB fail with “There was an error” too.
Any suggestions?
Thank you,
Keith.
Missing privilege separation directory: /run/sshd
Traceback (most recent call last):
File "management/status_checks.py", line 1088, in <module>
run_and_output_changes(env, pool)
File "management/status_checks.py", line 933, in run_and_output_changes
run_checks(True, env, cur, pool)
File "management/status_checks.py", line 51, in run_checks
if not run_services_checks(env, output, pool):
File "management/status_checks.py", line 91, in run_services_checks
ret = pool.starmap(check_service, ((i, service, env) for i, service in enumerate(get_services())), chunksize=1)
File "management/status_checks.py", line 34, in get_services
{ "name": "SSH Login (ssh)", "port": get_ssh_port(), "public": True, },
File "management/status_checks.py", line 72, in get_ssh_port
output = shell('check_output', ['sshd', '-T'])
File "/home/keith/mailinabox/management/utils.py", line 123, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['sshd', '-T']' returned non-zero exit status 255.