I have currently a NS8 server running behind a OPNsense firewall with HAproxy, all virtualized on ESXi, no issues.
I needed new hypervisor hardware and decided to move away from ESXi to Proxmox.
In current test setup my WAN port of Proxmox is connected to my local LAN and I have a isolated Proxmox environment.
I do a NS8 cluster backup config on ESXi and cluster restore on a fresh NS8 qcow2 install on Proxmox
After that a restore (using IDrive S3) of loki, traefik and samba, only I get an error with the samba restore “Job for samba-dc.service failed because a timeout was exceeded.” Restarting the samba-dc service delivers the same time-out.
The var/log/messages on on RockyLinux shows repeatedly:
Oct 4 11:40:27 node bash[10265]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:27 node bash[10265]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
I understand that the reason will be somewhere in my personal setup but I’m fully puzzled where to look further. Any hints pointing me in the right direction are very appreciated.
last part of var/log/messages:
Oct 4 11:40:08 node redis[1456]: 1:M 04 Oct 2025 11:40:08.057 * 1 changes in 5 seconds. Saving...
Oct 4 11:40:08 node redis[1456]: 1:M 04 Oct 2025 11:40:08.058 * Background saving started by pid 86
Oct 4 11:40:08 node redis[1456]: 86:C 04 Oct 2025 11:40:08.233 * DB saved on disk
Oct 4 11:40:08 node redis[1456]: 86:C 04 Oct 2025 11:40:08.233 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
Oct 4 11:40:08 node redis[1456]: 1:M 04 Oct 2025 11:40:08.258 * Background saving terminated with success
Oct 4 11:40:09 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:09 +0000] "GET /cluster-admin/api/cluster/task/c8afd5b2-3386-4166-90b9-482100e1992e/context HTTP/2.0" 200 454 "-" "-" 1533 "cluster-admin-https@file" "http://127.0.0.1:9311" 3ms
Oct 4 11:40:09 node bash[10092]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:09 node bash[10092]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
Oct 4 11:40:10 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:10 +0000] "GET /cluster-admin/api/module/samba1/task/ef9a1cb5-349d-4aef-84fc-c1443e60ae21/context HTTP/2.0" 200 844 "-" "-" 1534 "cluster-admin-https@file" "http://127.0.0.1:9311" 152ms
Oct 4 11:40:14 node redis[1456]: 1:M 04 Oct 2025 11:40:14.079 * 1 changes in 5 seconds. Saving...
Oct 4 11:40:14 node redis[1456]: 1:M 04 Oct 2025 11:40:14.079 * Background saving started by pid 87
Oct 4 11:40:14 node redis[1456]: 87:C 04 Oct 2025 11:40:14.187 * DB saved on disk
Oct 4 11:40:14 node redis[1456]: 87:C 04 Oct 2025 11:40:14.188 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
Oct 4 11:40:14 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:14 +0000] "GET /cluster-admin/api/cluster/task/c8afd5b2-3386-4166-90b9-482100e1992e/context HTTP/2.0" 200 454 "-" "-" 1535 "cluster-admin-https@file" "http://127.0.0.1:9311" 3ms
Oct 4 11:40:14 node redis[1456]: 1:M 04 Oct 2025 11:40:14.281 * Background saving terminated with success
Oct 4 11:40:14 node bash[10092]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:14 node bash[10092]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
Oct 4 11:40:15 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:15 +0000] "GET /cluster-admin/api/module/samba1/task/ef9a1cb5-349d-4aef-84fc-c1443e60ae21/context HTTP/2.0" 200 844 "-" "-" 1536 "cluster-admin-https@file" "http://127.0.0.1:9311" 177ms
Oct 4 11:40:19 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:19 +0000] "GET /cluster-admin/api/cluster/task/c8afd5b2-3386-4166-90b9-482100e1992e/context HTTP/2.0" 200 454 "-" "-" 1537 "cluster-admin-https@file" "http://127.0.0.1:9311" 195ms
Oct 4 11:40:19 node bash[10092]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:19 node bash[10092]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
Oct 4 11:40:19 node systemd[9391]: samba-dc.service: start-post operation timed out. Terminating.
Oct 4 11:40:19 node systemd[9391]: samba-dc.service: Control process exited, code=killed, status=15/TERM
Oct 4 11:40:19 node systemd[9391]: libpod-e90b9a11dee24a37aad8cebe5839964dcc4d1bd0abfd72e21a40b69660529668.scope: Consumed 1.493s CPU time.
Oct 4 11:40:20 node redis[1456]: 1:M 04 Oct 2025 11:40:20.001 * 1 changes in 5 seconds. Saving...
Oct 4 11:40:20 node redis[1456]: 1:M 04 Oct 2025 11:40:20.001 * Background saving started by pid 88
Oct 4 11:40:20 node redis[1456]: 88:C 04 Oct 2025 11:40:20.009 * DB saved on disk
Oct 4 11:40:20 node redis[1456]: 88:C 04 Oct 2025 11:40:20.009 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
Oct 4 11:40:20 node redis[1456]: 1:M 04 Oct 2025 11:40:20.101 * Background saving terminated with success
Oct 4 11:40:20 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:20 +0000] "GET /cluster-admin/api/module/samba1/task/ef9a1cb5-349d-4aef-84fc-c1443e60ae21/context HTTP/2.0" 200 844 "-" "-" 1538 "cluster-admin-https@file" "http://127.0.0.1:9311" 65ms
Oct 4 11:40:20 node podman[10226]: e90b9a11dee24a37aad8cebe5839964dcc4d1bd0abfd72e21a40b69660529668
Oct 4 11:40:20 node systemd[9391]: samba-dc.service: Failed with result 'timeout'.
Oct 4 11:40:20 node systemd[9391]: Failed to start Samba DC and File Server.
Oct 4 11:40:20 node agent@samba1[9412]: Job for samba-dc.service failed because a timeout was exceeded.
Oct 4 11:40:20 node agent@samba1[9412]: See "systemctl --user status samba-dc.service" and "journalctl --user -xeu samba-dc.service" for details.
Oct 4 11:40:20 node agent@samba1[9412]: task/module/samba1/ef9a1cb5-349d-4aef-84fc-c1443e60ae21: action "restore-module" status is "aborted" (1) at step 60resume_state
Oct 4 11:40:20 node agent@cluster[2466]: Assertion failed
Oct 4 11:40:20 node agent@cluster[2466]: File "/var/lib/nethserver/cluster/actions/restore-module/50restore_module", line 103, in <module>
Oct 4 11:40:20 node agent@cluster[2466]: agent.assert_exp(restore_task_result['exit_code'] == 0)
Oct 4 11:40:20 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:20 +0000] "GET /cluster-admin/api/module/samba1/task/ef9a1cb5-349d-4aef-84fc-c1443e60ae21/context HTTP/2.0" 200 844 "-" "-" 1539 "cluster-admin-https@file" "http://127.0.0.1:9311" 3ms
Oct 4 11:40:20 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:20 +0000] "GET /cluster-admin/api/module/samba1/task/ef9a1cb5-349d-4aef-84fc-c1443e60ae21/status HTTP/2.0" 200 3777 "-" "-" 1540 "cluster-admin-https@file" "http://127.0.0.1:9311" 3ms
Oct 4 11:40:20 node agent@cluster[2466]: task/cluster/c8afd5b2-3386-4166-90b9-482100e1992e: action "restore-module" status is "aborted" (2) at step 50restore_module
Oct 4 11:40:20 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:20 +0000] "GET /cluster-admin/api/cluster/task/c8afd5b2-3386-4166-90b9-482100e1992e/context HTTP/2.0" 200 454 "-" "-" 1541 "cluster-admin-https@file" "http://127.0.0.1:9311" 3ms
Oct 4 11:40:20 node traefik[4750]: 192.168.22.188 - - [04/Oct/2025:11:40:20 +0000] "GET /cluster-admin/api/cluster/task/c8afd5b2-3386-4166-90b9-482100e1992e/status HTTP/2.0" 200 324 "-" "-" 1542 "cluster-admin-https@file" "http://127.0.0.1:9311" 2ms
Oct 4 11:40:20 node systemd[9391]: samba-dc.service: Scheduled restart job, restart counter is at 1.
Oct 4 11:40:20 node systemd[9391]: Stopped Samba DC and File Server.
Oct 4 11:40:20 node systemd[9391]: Starting Samba DC and File Server...
Oct 4 11:40:22 node systemd[9391]: Started libcrun container.
Oct 4 11:40:22 node kernel: xfs filesystem being remounted at /home/samba1/.local/share/containers/storage/overlay/6719646a7b48f79780caa01b5812a3c16c225a1c3755df2536345b538051b2e0/merged/etc/samba supports timestamps until 2038 (0x7fffffff)
Oct 4 11:40:22 node kernel: xfs filesystem being remounted at /home/samba1/.local/share/containers/storage/overlay/6719646a7b48f79780caa01b5812a3c16c225a1c3755df2536345b538051b2e0/merged/srv/shares supports timestamps until 2038 (0x7fffffff)
Oct 4 11:40:22 node kernel: xfs filesystem being remounted at /home/samba1/.local/share/containers/storage/overlay/6719646a7b48f79780caa01b5812a3c16c225a1c3755df2536345b538051b2e0/merged/srv/homes supports timestamps until 2038 (0x7fffffff)
Oct 4 11:40:22 node kernel: xfs filesystem being remounted at /home/samba1/.local/share/containers/storage/overlay/6719646a7b48f79780caa01b5812a3c16c225a1c3755df2536345b538051b2e0/merged/var/lib/samba supports timestamps until 2038 (0x7fffffff)
Oct 4 11:40:22 node podman[10240]: 886cfb3ea9c4b47d00cf7c6475d43515c6bdb79fbde2c1bf5814f96ca8d8b9fa
Oct 4 11:40:22 node bash[10265]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:22 node bash[10265]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
Oct 4 11:40:22 node samba-dc[10250]: # Global parameters
Oct 4 11:40:22 node samba-dc[10250]: [global]
Oct 4 11:40:22 node samba-dc[10250]: #011bind interfaces only = Yes
Oct 4 11:40:22 node samba-dc[10250]: #011interfaces = 127.0.0.1 10.5.4.1
Oct 4 11:40:22 node samba-dc[10250]: #011obey pam restrictions = Yes
Oct 4 11:40:22 node samba-dc[10250]: #011passdb backend = samba_dsdb
Oct 4 11:40:22 node samba-dc[10250]: #011realm = AD.mydomain.NL
Oct 4 11:40:22 node samba-dc[10250]: #011registry shares = Yes
Oct 4 11:40:22 node samba-dc[10250]: #011server role = active directory domain controller
Oct 4 11:40:22 node samba-dc[10250]: #011template homedir = /srv/homes/%U
Oct 4 11:40:22 node samba-dc[10250]: #011workgroup = mydomain
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:tcpip = no
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_daemon:spoolssd = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:spoolss = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:winreg = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:ntsvcs = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:eventlog = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:srvsvc = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:svcctl = embedded
Oct 4 11:40:22 node samba-dc[10250]: #011rpc_server:default = external
Oct 4 11:40:22 node samba-dc[10250]: #011winbindd:use external pipes = true
Oct 4 11:40:22 node samba-dc[10250]: #011recycle:versions = yes
Oct 4 11:40:22 node samba-dc[10250]: #011recycle:keeptree = yes
Oct 4 11:40:22 node samba-dc[10250]: #011recycle:repository =
Oct 4 11:40:22 node samba-dc[10250]: #011full_audit:failure = none
Oct 4 11:40:22 node samba-dc[10250]: #011full_audit:success = none
Oct 4 11:40:22 node samba-dc[10250]: #011full_audit:priority = INFO
Oct 4 11:40:22 node samba-dc[10250]: #011full_audit:facility = LOCAL7
Oct 4 11:40:22 node samba-dc[10250]: #011full_audit:prefix = %R|%I|%u|%S
Oct 4 11:40:22 node samba-dc[10250]: #011acl_xattr:ignore system acls = yes
Oct 4 11:40:22 node samba-dc[10250]: #011acl_xattr:security_acl_name = user.NTACL
Oct 4 11:40:22 node samba-dc[10250]: #011idmap config * : backend = tdb
Oct 4 11:40:22 node samba-dc[10250]: #011include = /etc/samba/include.conf
Oct 4 11:40:22 node samba-dc[10250]: #011inherit owner = windows and unix
Oct 4 11:40:22 node samba-dc[10250]: #011map archive = No
Oct 4 11:40:22 node samba-dc[10250]: #011vfs objects = dfs_samba4 acl_xattr recycle full_audit
Oct 4 11:40:22 node samba-dc[10250]:
Oct 4 11:40:22 node samba-dc[10250]:
Oct 4 11:40:22 node samba-dc[10250]: [sysvol]
Oct 4 11:40:22 node samba-dc[10250]: #011inherit owner = no
Oct 4 11:40:22 node samba-dc[10250]: #011path = /var/lib/samba/sysvol
Oct 4 11:40:22 node samba-dc[10250]: #011read only = No
Oct 4 11:40:22 node samba-dc[10250]: #011acl_xattr:ignore system acls = no
Oct 4 11:40:22 node samba-dc[10250]:
Oct 4 11:40:22 node samba-dc[10250]:
Oct 4 11:40:22 node samba-dc[10250]: [netlogon]
Oct 4 11:40:22 node samba-dc[10250]: #011path = /var/lib/samba/sysvol/ad.mydomain.nl/scripts
Oct 4 11:40:22 node samba-dc[10250]: #011read only = No
Oct 4 11:40:22 node samba-dc[10250]:
Oct 4 11:40:22 node samba-dc[10250]:
Oct 4 11:40:22 node samba-dc[10250]: [homes]
Oct 4 11:40:22 node samba-dc[10250]: #011browseable = No
Oct 4 11:40:22 node samba-dc[10250]: #011comment = %u home directory
Oct 4 11:40:22 node samba-dc[10250]: #011read only = No
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04T11:40:22Z chronyd version 4.5 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04T11:40:22Z Disabled control of system clock
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04T11:40:22Z Loaded 0 symmetric keys
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04T11:40:22Z MS-SNTP authentication enabled
Oct 4 11:40:22 node samba-dc[10250]: [2025-10-04T11:40:22.071359] smart-multi-line: error opening smart-multi-line.fsm file; filename='/usr/share/syslog-ng/smart-multi-line.fsm', error='No such file or directory (2)'
Oct 4 11:40:22 node samba-dc[10250]: [2025-10-04T11:40:22.071495] smart-multi-line: your smart-multi-line.fsm seems to be empty or non-existent, automatic multi-line log extraction will probably not work; filename='/usr/share/syslog-ng/smart-multi-line.fsm'
Oct 4 11:40:22 node samba-dc[10250]: samba version 4.19.5-Ubuntu started.
Oct 4 11:40:22 node samba-dc[10250]: Copyright Andrew Tridgell and the Samba Team 1992-2023
Oct 4 11:40:22 node samba-dc[10250]: daemon 'samba' : Starting process...
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04 11:40:22,181:wsdd ERROR(pid 17): error while sending packet on wg0: [Errno 126] Required key not available
Oct 4 11:40:22 node samba-dc[10250]: /usr/sbin/smbd: smbd version 4.19.5-Ubuntu started.
Oct 4 11:40:22 node samba-dc[10250]: /usr/sbin/smbd: Copyright Andrew Tridgell and the Samba Team 1992-2023
Oct 4 11:40:22 node samba-dc[10250]: /usr/sbin/smbd: INFO: Profiling turned OFF from pid 26
Oct 4 11:40:22 node samba-dc[10250]: /usr/sbin/winbindd: winbindd version 4.19.5-Ubuntu started.
Oct 4 11:40:22 node samba-dc[10250]: /usr/sbin/winbindd: Copyright Andrew Tridgell and the Samba Team 1992-2023
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04 11:40:22,344:wsdd ERROR(pid 17): error while sending packet on wg0: [Errno 126] Required key not available
Oct 4 11:40:22 node samba-dc[10250]: 2025-10-04 11:40:22,668:wsdd ERROR(pid 17): error while sending packet on wg0: [Errno 126] Required key not available
Oct 4 11:40:23 node samba-dc[10250]: 2025-10-04 11:40:23,169:wsdd ERROR(pid 17): error while sending packet on wg0: [Errno 126] Required key not available
Oct 4 11:40:26 node redis[1456]: 1:M 04 Oct 2025 11:40:26.021 * 1 changes in 5 seconds. Saving...
Oct 4 11:40:26 node redis[1456]: 1:M 04 Oct 2025 11:40:26.022 * Background saving started by pid 89
Oct 4 11:40:26 node redis[1456]: 89:C 04 Oct 2025 11:40:26.162 * DB saved on disk
Oct 4 11:40:26 node redis[1456]: 89:C 04 Oct 2025 11:40:26.163 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
Oct 4 11:40:26 node redis[1456]: 1:M 04 Oct 2025 11:40:26.223 * Background saving terminated with success
Oct 4 11:40:27 node bash[10265]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:27 node bash[10265]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
Oct 4 11:40:32 node bash[10265]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:32 node bash[10265]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
Oct 4 11:40:37 node bash[10265]: /usr/bin/bash: connect: Connection refused
Oct 4 11:40:37 node bash[10265]: /usr/bin/bash: line 1: /dev/tcp/10.5.4.1/53: Connection refused
error msgs after restore:
renamed 'restore/private' -> './private'
renamed 'restore/state/sysvol' -> './sysvol'
renamed 'restore/state/account_policy.tdb' -> './account_policy.tdb'
renamed 'restore/state/registry.tdb' -> './registry.tdb'
renamed 'restore/state/share_info.tdb' -> './share_info.tdb'
renamed 'restore/state/winbindd_cache.tdb' -> './winbindd_cache.tdb'
removed 'restore/backup.txt'
removed 'restore/state/syslog-ng/syslog-ng-disk-buffer.dirlock'
removed 'restore/state/syslog-ng/syslog-ng-00000.qf'
removed 'restore/state/syslog-ng/syslog-ng-00001.qf'
removed 'restore/state/syslog-ng/syslog-ng-00002.qf'
removed 'restore/state/syslog-ng/syslog-ng-00003.qf'
removed directory 'restore/state/syslog-ng'
removed directory 'restore/state'
removed 'restore/etc/gdbcommands'
removed 'restore/etc/include.conf'
removed 'restore/etc/smb.conf.distro'
removed 'restore/etc/smb.conf'
removed 'restore/etc/smb.conf.orig'
removed directory 'restore/etc'
removed 'restore/gencache.tdb'
removed directory 'restore'
removed 'backup/samba-backup.tar.bz2'
removed directory 'backup'
Created symlink /home/samba1/.config/systemd/user/default.target.wants/samba-dc.service → /home/samba1/.config/systemd/user/samba-dc.service.
Job for samba-dc.service failed because a timeout was exceeded.
See "systemctl --user status samba-dc.service" and "journalctl --user -xeu samba-dc.service" for details.