Restore configuration data error

NethServer Version: 7.7.1908
Module: Backup

Hello to everybody,
I’m tryng to restore a configuration file but the server reply with this error:

Task completato con errori
S80nethserver-dc-sysvolreset #37 (codice d’uscita 256)
S50nethserver-sssd-initkeytabs #351 (codice d’uscita 1280)

Does anyone know how to fix this problem?

Thank you in advance

Please have a look at the logfile /var/log/messages as there may be more detailed error messages.

Ok, this afternoon I will check the log and I will post the error here.

Thank you

Matteo

In the log I found this error:

Nov 18 11:15:20 server esmith::event[40256]: [NOTICE] Reset ACLs on Samba DC sysvol share
Nov 18 11:15:20 server esmith::event[40256]: Traceback (most recent call last):
Nov 18 11:15:20 server esmith::event[40256]: File “/bin/nsdc-run”, line 38, in
Nov 18 11:15:20 server esmith::event[40256]: so.connect(’/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock’)
Nov 18 11:15:20 server esmith::event[40256]: File “/usr/lib64/python2.7/socket.py”, line 224, in meth
Nov 18 11:15:20 server esmith::event[40256]: return getattr(self._sock,name)(*args)
Nov 18 11:15:20 server esmith::event[40256]: socket.error: [Errno 2] No such file or directory
Nov 18 11:15:20 server esmith::event[40256]: Action: /etc/e-smith/events/post-restore-config/S80nethserver-dc-sysvolreset FAILED: 1 [0.044372]

Is it a bug?

Found another thread with similar problem and the solution was to upgrade the DC container.

signal-event nethserver-dc-upgrade

Please post your config if it still doesn’t work:

config show nsdc
config show sssd
1 Like