Problem: Überprüfe den Samba Replikations Status | Solved

Hallo,

nach dem Update des Systems bekomme ich bei der Systemdiagnose im PDC folgenden Fehler geworfen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/__init__.py", line 270, in execute
    result = execute(umc_module, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/41_samba_tool_showrepl.py", line 148, in run
    drs = DRSUAPI()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/41_samba_tool_showrepl.py", line 61, in __init__
    drs_tuple = drs_utils.drsuapi_connect(self.server, self.load_param, self.credentials)
  File "/usr/lib/python2.7/dist-packages/samba/drs_utils.py", line 56, in drsuapi_connect
    raise drsException("DRS connection to %s failed: %s" % (server, e))
drsException: drsException: DRS connection to mars.mocca.lan failed: (-1073741258, 'The transport-connection attempt was refused by the remote system.')

Auf dem BDC ist alles in Ordnung.
Sehe gerade keinen Ansatz zum Lösen des Problems und wäre für eine Hilfestellung sehr dankbar.

Gruß.

Solved

Zwar hatte ein Neustart den Fehler nicht beseitigt - jedoch das manuelle restarten des samba und samba-ad-dc. Nun scheint der Fehler auch nach einem Neustart Geschichte zu sein.

UCS 4.4
I have the same result in system diagnose.
In Systemdienste I found Samba4 stopped.
When I tried to start samba4 I got the following result:
Ein Fehler ist aufgetreten:
Die Anfrage konnte nicht ausgeführt werden.
Fehlernachricht des Servers:
Der Dienst samba4 konnte nicht neugestartet werden:
Unit samba4.service could not be found.
APP ADDC 4.10 has been installed.
What is wrong?

You cannot restart the Samba service via the UMC. That’s a known issue. Restart it on the console instead (systemctl restart samba-ad-dc).

I used systemctl and recieved no erro message but in UMC Dienste samba4 is set on stopped. I will check the log.

Yeah, like I said, don’t use the UMC for checking on or trying to interact with the Samba service.

Mastodon