Hi there I updated the server to the new nethserver-dc nethserver-dc-1.9.0 2 with the package.
It doesn’t work.
After upgrade the nethserver-dc it says:
nsdc-run -e – samba -V
Version 4.9.18’’’
Hi there I updated the server to the new nethserver-dc nethserver-dc-1.9.0 2 with the package.
It doesn’t work.
After upgrade the nethserver-dc it says:
nsdc-run -e – samba -V
Version 4.9.18’’’
Would you please post the output of rpm -qa nethserver-dc*
?
Hi there!!
The output.
[root@XXX me]# rpm -qa nethserver-dc*
nethserver-dc-1.9.0-1.ns7.x86_64
[root@XXX me]#
Any error on logs during the installation?
Have you tried stopping/(re)starting the services or running signal-event nethserver-dc-update
?
[root@s-xx xx]# signal-event nethserver-dc-update
[root@s-x x]# nsdc-run -e – samba -V
Traceback (most recent call last):
File “/bin/nsdc-run”, line 55, in
buf = so.recv(buf_sz)
socket.error: [Errno 104] Connection reset by peer
Oops! Things gone wrong.
systemctl status -l nsdc
[root@s-xx an.xx]# systemctl status -l nsdc
● nsdc.service - NethServer Domain Controller container
Loaded: loaded (/usr/lib/systemd/system/nsdc.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2022-11-26 19:46:58 -05; 18h ago
Docs: man:systemd-nspawn(1)
Main PID: 3561 (systemd-nspawn)
Status: “Container running.”
CGroup: /machine.slice/nsdc.service
├─3561 /usr/bin/systemd-nspawn --quiet --keep-unit --boot --network-bridge=br0 --machine=nsdc --capability=CAP_SYS_TIME
├─4409 /usr/lib/systemd/systemd
└─system.slice
├─samba.service
│ ├─ 816 /usr/sbin/samba -i --debug-stderr
│ ├─23231 /usr/sbin/samba -i --debug-stderr
│ ├─23271 /usr/sbin/samba -i --debug-stderr
│ ├─23272 /usr/sbin/samba -i --debug-stderr
│ ├─23273 /usr/sbin/samba -i --debug-stderr
│ ├─23274 /usr/sbin/samba -i --debug-stderr
│ ├─23275 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
│ ├─23276 /usr/sbin/samba -i --debug-stderr
│ ├─23277 /usr/sbin/samba -i --debug-stderr
│ ├─23278 /usr/sbin/samba -i --debug-stderr
│ ├─23279 /usr/sbin/samba -i --debug-stderr
│ ├─23280 /usr/sbin/samba -i --debug-stderr
│ ├─23281 /usr/sbin/samba -i --debug-stderr
│ ├─23282 /usr/sbin/samba -i --debug-stderr
│ ├─23283 /usr/sbin/samba -i --debug-stderr
│ ├─23285 /usr/sbin/samba -i --debug-stderr
│ ├─23286 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
│ ├─23287 /usr/sbin/samba -i --debug-stderr
│ ├─23288 /usr/sbin/samba -i --debug-stderr
│ ├─23317 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
│ ├─23318 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
│ ├─23328 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
│ ├─23481 /usr/sbin/samba -i --debug-stderr
│ ├─24313 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
│ ├─24320 /usr/sbin/samba -i --debug-stderr
│ ├─32261 /usr/sbin/samba -i --debug-stderr
│ └─32447 /usr/sbin/samba -i --debug-stderr
├─console-getty.service
│ └─7602 /sbin/agetty --noclear --keep-baud console 115200,38400,9600 vt220
├─systemd-logind.service
│ └─7600 /usr/lib/systemd/systemd-logind
├─dbus.service
│ └─7567 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
├─ntpd.service
│ └─7582 /usr/sbin/ntpd -u ntp:ntp -g
└─systemd-journald.service
└─7393 /usr/lib/systemd/systemd-journald
No errors during instalattion, Can you send me the path were to Look?
signal-event nethserver-dc-upgrade
journalctl -M nsdc
Nov 26 19:47:06 nsdc-s-lsfc.XXX systemd-journal[14]: Runtime journal is using 8.0M (max allowed 1.5G, trying to leave 2.3G free of 15.5G
Nov 26 19:47:06 nsdc-s-lsfc.XXX systemd-journal[14]: Journal started
Nov 26 19:47:06 nsdc-s-lsfc.XXX systemd[1]: Starting Flush Journal to Persistent Storage…
Nov 26 19:47:07 nsdc-s-lsfc.XXX systemd-journal[14]: Permanent journal is using 128.0M (max allowed 4.0G, trying to leave 4.0G free of 1
Nov 26 19:47:07 nsdc-s-lsfc.XXX systemd-journal[14]: Time spent on flushing to /var is 65.024ms for 4 entries.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Started Flush Journal to Persistent Storage.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Starting Create Volatile Files and Directories…
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Started Create Volatile Files and Directories.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Starting Update UTMP about System Boot/Shutdown…
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Started Update UTMP about System Boot/Shutdown.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Reached target System Initialization.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Listening on D-Bus System Message Bus Socket.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Started Daily Cleanup of Temporary Directories.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Reached target Timers.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Listening on NSDC container remote command server.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Reached target Sockets.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Reached target Basic System.
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Starting Network Time Service…
Nov 26 19:47:08 nsdc-s-lsfc.XXX systemd[1]: Started D-Bus System Message Bus.
Nov 26 19:47:09 nsdc-s-lsfc.XXX ntpd[19]: ntpd 4.2.6p5@1.2349-o Tue Jun 23 15:38:18 UTC 2020 (1)
Nov 26 19:47:09 nsdc-s-lsfc.XXX ntpd[21]: proto: precision = 0.044 usec
Nov 26 19:47:09 nsdc-s-lsfc.XXX ntpd[21]: 0.0.0.0 c01d 0d kern kernel time sync enabled
Nov 26 19:47:09 nsdc-s-lsfc.XXX ntpd[21]: MS-SNTP signd operations currently block ntpd degrading service to all clients.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Starting Network Service…
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Starting Permit User Sessions…
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Starting Login Service…
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Network Time Service.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Login Service.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd-logind[24]: New seat seat0.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Permit User Sessions.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Console Getty.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Reached target Login Prompts.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd-networkd[22]: host0 : Cannot configure IPv4 forwarding for interface host0: Read-only
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd-networkd[22]: host0 : Cannot configure IPv6 forwarding for interface: Read-only file s
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd-networkd[22]: Enumeration completed
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Network Service.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd-networkd[22]: host0 : gained carrier
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Reached target Network.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd-networkd[22]: host0 : link configured
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Samba domain controller daemon.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Reached target Multi-User System.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Reached target Graphical Interface.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Starting Update UTMP about System Runlevel Changes…
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Started Update UTMP about System Runlevel Changes.
Nov 26 19:47:09 nsdc-s-lsfc.XXX systemd[1]: Startup finished in 6.151s.
Nov 26 19:47:13 nsdc-s-lsfc.XXX samba[26]: samba version 4.9.18 started.
Nov 26 19:47:13 nsdc-s-lsfc.XXX samba[26]: Copyright Andrew Tridgell and the Samba Team 1992-2018
Nov 26 19:47:18 nsdc-s-lsfc.XXX samba[26]: binary_smbd_main: samba: using ‘standard’ process model
Nov 26 19:47:19 nsdc-s-lsfc.XXX winbindd[44]: [2022/11/26 19:47:19.788328, 0] …/source3/winbindd/winbindd_cache.c:3161(initialize_winb
Nov 26 19:47:19 nsdc-s-lsfc.XXX winbindd[44]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Nov 26 19:47:20 nsdc-s-lsfc.XXX winbindd[44]: [2022/11/26 19:47:20.103472, 0] …/lib/util/become_daemon.c:136(daemon_ready)
Nov 26 19:47:20 nsdc-s-lsfc.XXX winbindd[44]: daemon_ready: daemon ‘winbindd’ finished starting up and ready to serve connections
Nov 26 19:47:20 nsdc-s-lsfc.XXX smbd[33]: [2022/11/26 19:47:20.533849, 0] …/lib/util/become_daemon.c:136(daemon_ready)
Nov 26 19:47:20 nsdc-s-lsfc.XXX smbd[33]: daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
Nov 26 19:52:10 nsdc-s-lsfc.XXX systemd[1]: Created slice system-nsdc\x2drun.slice.
Nov 26 19:52:10 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 26 20:01:48 nsdc-s-lsfc.XXX systemd[1]: Starting Cleanup of Temporary Directories…
Nov 26 20:01:48 nsdc-s-lsfc.XXX systemd[1]: Started Cleanup of Temporary Directories.
Nov 26 20:23:23 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 06:05:05 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 06:52:27 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 11:17:09 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:54:44 nsdc-s-lsfc.XXX systemd[1]: Reloading.
Nov 27 13:54:45 nsdc-s-lsfc.XXX systemd[1]: Stopping Samba domain controller daemon…
Nov 27 13:54:45 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 34 on SIGTERM
Nov 27 13:54:45 nsdc-s-lsfc.XXX winbindd[44]: [2022/11/27 13:54:45.397256, 0] …/source3/winbindd/winbindd.c:244(winbindd_sig_term_hand
Nov 27 13:54:45 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 36 on SIGTERM
Nov 27 13:54:45 nsdc-s-lsfc.XXX winbindd[1843]: [2022/11/27 13:54:45.371946, 0] …/source3/winbindd/winbindd.c:244(winbindd_sig_term_ha
Nov 27 13:54:45 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 42 on SIGTERM
Nov 27 13:54:45 nsdc-s-lsfc.XXX winbindd[1842]: [2022/11/27 13:54:45.371946, 0] …/source3/winbindd/winbindd.c:244(winbindd_sig_term_ha
Nov 27 13:54:45 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 37 on SIGTERM
Nov 27 13:54:45 nsdc-s-lsfc.XXX winbindd[1842]: Got sig[15] terminate (is_parent=0)
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 6372 on SIGTERM
Nov 27 13:54:45 nsdc-s-lsfc.XXX winbindd[44]: Got sig[15] terminate (is_parent=1)
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 81 on SIGTERM
Nov 27 13:54:45 nsdc-s-lsfc.XXX winbindd[1843]: Got sig[15] terminate (is_parent=0)
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 29 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 98 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 6371 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 6365 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 35 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 39 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 40 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 41 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 30 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 32 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 38 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[26]: sigterm_signal_handler: Exiting pid 28 on SIGTERM
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: Stopped Samba domain controller daemon.
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: Started Samba domain controller daemon.
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: Reloading.
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[6433]: samba version 4.9.18 started.
Nov 27 13:54:46 nsdc-s-lsfc.XXX samba[6433]: Copyright Andrew Tridgell and the Samba Team 1992-2018
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[6445]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@5-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@5-unknown.service entered failed state.
Nov 27 13:54:46 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@5-unknown.service failed.
Nov 27 13:54:47 nsdc-s-lsfc.XXX samba[6433]: binary_smbd_main: samba: using ‘standard’ process model
Nov 27 13:54:47 nsdc-s-lsfc.XXX winbindd[6462]: [2022/11/27 13:54:47.497425, 0] …/source3/winbindd/winbindd_cache.c:3161(initialize_wi
Nov 27 13:54:47 nsdc-s-lsfc.XXX winbindd[6462]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Nov 27 13:54:47 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:54:47 nsdc-s-lsfc.XXX systemd[6474]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 13:54:47 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@6-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 13:54:47 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@6-unknown.service entered failed state.
Nov 27 13:54:47 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@6-unknown.service failed.
Nov 27 13:54:47 nsdc-s-lsfc.XXX winbindd[6462]: [2022/11/27 13:54:47.641494, 0] …/lib/util/become_daemon.c:136(daemon_ready)
Nov 27 13:54:47 nsdc-s-lsfc.XXX winbindd[6462]: daemon_ready: daemon ‘winbindd’ finished starting up and ready to serve connections
Nov 27 13:54:49 nsdc-s-lsfc.XXX smbd[6452]: [2022/11/27 13:54:49.111277, 0] …/lib/util/become_daemon.c:136(daemon_ready)
Nov 27 13:54:49 nsdc-s-lsfc.XXX smbd[6452]: daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
Nov 27 13:55:00 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:55:00 nsdc-s-lsfc.XXX systemd[6480]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 13:55:00 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@7-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 13:55:00 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@7-unknown.service entered failed state.
Nov 27 13:55:00 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@7-unknown.service failed.
Nov 27 13:55:09 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:55:09 nsdc-s-lsfc.XXX systemd[6491]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 13:55:09 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@8-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 13:55:09 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@8-unknown.service entered failed state.
Nov 27 13:55:09 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@8-unknown.service failed.
Nov 27 13:56:03 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:56:03 nsdc-s-lsfc.XXX systemd[6503]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 13:56:03 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@9-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 13:56:03 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@9-unknown.service entered failed state.
Nov 27 13:56:03 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@9-unknown.service failed.
Nov 27 13:56:25 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 13:56:25 nsdc-s-lsfc.XXX systemd[6510]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 13:56:25 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@10-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 13:56:25 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@10-unknown.service entered failed state.
Nov 27 13:56:25 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@10-unknown.service failed.
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Reloading.
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Stopping Samba domain controller daemon…
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6453 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[7098]: samba version 4.9.18 started.
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[7098]: Copyright Andrew Tridgell and the Samba Team 1992-2018
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Stopped Samba domain controller daemon.
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6448 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Started Samba domain controller daemon.
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6449 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Reloading.
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6451 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6455 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6456 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6459 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6457 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6458 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6463 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6454 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6461 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6509 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 7012 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 7013 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 7027 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6490 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX samba[6433]: sigterm_signal_handler: Exiting pid 6464 on SIGTERM
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Started nsdc-run worker process.
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[7110]: Failed at step EXEC spawning /usr/libexec/nsdc-run-worker: No such file or directory
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@11-unknown.service: main process exited, code=exited, status=203/EXEC
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: Unit nsdc-run@11-unknown.service entered failed state.
Nov 27 15:24:41 nsdc-s-lsfc.XXX systemd[1]: nsdc-run@11-unknown.service failed.
Nov 27 15:24:42 nsdc-s-lsfc.XXX samba[7098]: binary_smbd_main: samba: using ‘standard’ process model
Nov 27 15:24:42 nsdc-s-lsfc.XXX winbindd[7126]: [2022/11/27 15:24:42.264780, 0] …/source3/winbindd/winbindd_cache.c:3161(initialize_wi
Nov 27 15:24:42 nsdc-s-lsfc.XXX winbindd[7126]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Nov 27 15:24:42 nsdc-s-lsfc.XXX smbd[7116]: [2022/11/27 15:24:42.278295, 0] …/lib/util/become_daemon.c:136(daemon_ready)
Nov 27 15:24:42 nsdc-s-lsfc.XXX smbd[7116]: daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
Nov 27 15:24:42 nsdc-s-lsfc.XXX winbindd[7126]: [2022/11/27 15:24:42.325241, 0] …/lib/util/become_daemon.c:136(daemon_ready)
Nov 27 15:24:42 nsdc-s-lsfc.XXX winbindd[7126]: daemon_ready: daemon ‘winbindd’ finished starting up and ready to serve connections
The file /usr/libexec/nsdc-run-worker
does not exist?
yum reinstall nethserver-dc
Reinstalled but the paths are these
/usr/libexec/nethserver/nsdc-run-worker
/usr/libexec/nethserver/ptrack-nsdc-install
/usr/libexec/nethserver/read-nssamba-version
Full rpm -ql nethserver-dc
/etc/backup-config.d/nethserver-dc.exclude
/etc/backup-config.d/nethserver-dc.include
/etc/e-smith/db/configuration/defaults/nsdc
/etc/e-smith/db/configuration/defaults/nsdc/IpAddress
/etc/e-smith/db/configuration/defaults/nsdc/ProvisionType
/etc/e-smith/db/configuration/defaults/nsdc/bridge
/etc/e-smith/db/configuration/defaults/nsdc/status
/etc/e-smith/db/configuration/defaults/nsdc/type
/etc/e-smith/events/actions/nethserver-dc-autoupdate
/etc/e-smith/events/actions/nethserver-dc-change-ip
/etc/e-smith/events/actions/nethserver-dc-condrestart
/etc/e-smith/events/actions/nethserver-dc-create-bridge
/etc/e-smith/events/actions/nethserver-dc-createadmins
/etc/e-smith/events/actions/nethserver-dc-createldapservice
/etc/e-smith/events/actions/nethserver-dc-factory-reset
/etc/e-smith/events/actions/nethserver-dc-firststart
/etc/e-smith/events/actions/nethserver-dc-fixchroot
/etc/e-smith/events/actions/nethserver-dc-fixinclude
/etc/e-smith/events/actions/nethserver-dc-group-create
/etc/e-smith/events/actions/nethserver-dc-group-delete
/etc/e-smith/events/actions/nethserver-dc-group-modify
/etc/e-smith/events/actions/nethserver-dc-install
/etc/e-smith/events/actions/nethserver-dc-join
/etc/e-smith/events/actions/nethserver-dc-ldbfixes
/etc/e-smith/events/actions/nethserver-dc-machine-grants
/etc/e-smith/events/actions/nethserver-dc-migrate
/etc/e-smith/events/actions/nethserver-dc-network-reset
/etc/e-smith/events/actions/nethserver-dc-password-policy
/etc/e-smith/events/actions/nethserver-dc-password-set
/etc/e-smith/events/actions/nethserver-dc-post-backup
/etc/e-smith/events/actions/nethserver-dc-post-restore
/etc/e-smith/events/actions/nethserver-dc-pre-backup
/etc/e-smith/events/actions/nethserver-dc-pre-restore
/etc/e-smith/events/actions/nethserver-dc-provision
/etc/e-smith/events/actions/nethserver-dc-set-upn
/etc/e-smith/events/actions/nethserver-dc-sync-upn
/etc/e-smith/events/actions/nethserver-dc-sysvolreset
/etc/e-smith/events/actions/nethserver-dc-upgrade
/etc/e-smith/events/actions/nethserver-dc-user-create
/etc/e-smith/events/actions/nethserver-dc-user-delete
/etc/e-smith/events/actions/nethserver-dc-user-lock
/etc/e-smith/events/actions/nethserver-dc-user-modify
/etc/e-smith/events/actions/nethserver-dc-user-unlock
/etc/e-smith/events/actions/nethserver-dc-waitstart
/etc/e-smith/events/group-create/S40nethserver-dc-group-create
/etc/e-smith/events/group-delete/S40nethserver-dc-group-delete
/etc/e-smith/events/group-modify/S40nethserver-dc-group-modify
/etc/e-smith/events/interface-update/S71nethserver-dc-condrestart
/etc/e-smith/events/interface-update/services2adjust/nsdc
/etc/e-smith/events/migration-import/S25nethserver-dc-migrate
/etc/e-smith/events/nethserver-dc-change-ip/S30nethserver-dc-change-ip
/etc/e-smith/events/nethserver-dc-factory-reset/S30nethserver-dc-factory-reset
/etc/e-smith/events/nethserver-dc-save/S01nethserver-dc-create-bridge
/etc/e-smith/events/nethserver-dc-save/S02nethserver-dc-install
/etc/e-smith/events/nethserver-dc-save/S10nethserver-dc-provision
/etc/e-smith/events/nethserver-dc-save/S95nethserver-dc-waitstart
/etc/e-smith/events/nethserver-dc-save/S96nethserver-dc-createldapservice
/etc/e-smith/events/nethserver-dc-save/S96nethserver-dc-join
/etc/e-smith/events/nethserver-dc-save/S97nethserver-dc-password-policy
/etc/e-smith/events/nethserver-dc-save/S97nethserver-dc-set-upn
/etc/e-smith/events/nethserver-dc-save/S98nethserver-dc-createadmins
/etc/e-smith/events/nethserver-dc-save/S98nethserver-dc-machine-grants
/etc/e-smith/events/nethserver-dc-save/services2adjust/dnsmasq
/etc/e-smith/events/nethserver-dc-save/services2adjust/nsdc
/etc/e-smith/events/nethserver-dc-save/templates2expand/etc/hosts
/etc/e-smith/events/nethserver-dc-save/templates2expand/etc/krb5.conf
/etc/e-smith/events/nethserver-dc-save/templates2expand/etc/sysconfig/nsdc
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/hostname
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/hosts
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/ntp.conf
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/resolv.conf
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/samba/smb.conf.include
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/systemd/network/green.network
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/systemd/system/nsdc-run.socket
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/systemd/system/nsdc-run@.service
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/etc/systemd/system/samba-provision.service
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/srv/post-provision.sh
/etc/e-smith/events/nethserver-dc-save/templates2expand/var/lib/machines/nsdc/srv/smb.ns6upgrade.conf
/etc/e-smith/events/nethserver-dc-update
/etc/e-smith/events/nethserver-dc-update/S00initialize-default-databases
/etc/e-smith/events/nethserver-dc-update/S50nethserver-dc-autoupdate
/etc/e-smith/events/nethserver-dc-update/S94nethserver-dc-firststart
/etc/e-smith/events/nethserver-dc-update/S95nethserver-dc-fixchroot
/etc/e-smith/events/nethserver-dc-update/S96nethserver-dc-createldapservice
/etc/e-smith/events/nethserver-dc-update/S96nethserver-dc-machine-grants
/etc/e-smith/events/nethserver-dc-update/templates2expand/etc/sysconfig/nsdc
/etc/e-smith/events/nethserver-dc-upgrade/S20nethserver-dc-fixinclude
/etc/e-smith/events/nethserver-dc-upgrade/S30nethserver-dc-upgrade
/etc/e-smith/events/nethserver-dc-upgrade/S80nethserver-dc-ldbfixes
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/etc/hosts
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/etc/krb5.conf
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/etc/sysconfig/nsdc
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/hostname
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/hosts
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/ntp.conf
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/resolv.conf
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/samba/smb.conf.include
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/systemd/network/green.network
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/systemd/system/nsdc-run.socket
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/systemd/system/nsdc-run@.service
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/etc/systemd/system/samba-provision.service
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/srv/post-provision.sh
/etc/e-smith/events/nethserver-dc-upgrade/templates2expand/var/lib/machines/nsdc/srv/smb.ns6upgrade.conf
/etc/e-smith/events/password-modify/S30nethserver-dc-password-set
/etc/e-smith/events/password-modify/S40nethserver-dc-user-unlock
/etc/e-smith/events/password-policy-update/S30nethserver-dc-password-policy
/etc/e-smith/events/post-backup-config/S40nethserver-dc-post-backup
/etc/e-smith/events/post-restore-config/S01nethserver-dc-install
/etc/e-smith/events/post-restore-config/S03nethserver-dc-network-reset
/etc/e-smith/events/post-restore-config/S40nethserver-dc-post-restore
/etc/e-smith/events/post-restore-config/S80nethserver-dc-ldbfixes
/etc/e-smith/events/post-restore-config/S80nethserver-dc-sysvolreset
/etc/e-smith/events/post-restore-config/templates2expand/etc/hosts
/etc/e-smith/events/post-restore-config/templates2expand/etc/krb5.conf
/etc/e-smith/events/post-restore-config/templates2expand/etc/sysconfig/nsdc
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/hostname
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/hosts
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/ntp.conf
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/resolv.conf
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/samba/smb.conf.include
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/systemd/network/green.network
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/systemd/system/nsdc-run.socket
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/systemd/system/nsdc-run@.service
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/etc/systemd/system/samba-provision.service
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/srv/post-provision.sh
/etc/e-smith/events/post-restore-config/templates2expand/var/lib/machines/nsdc/srv/smb.ns6upgrade.conf
/etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup
/etc/e-smith/events/pre-restore-config/S40nethserver-dc-pre-restore
/etc/e-smith/events/user-create/S40nethserver-dc-user-create
/etc/e-smith/events/user-create/S50nethserver-dc-sync-upn
/etc/e-smith/events/user-delete/S40nethserver-dc-user-delete
/etc/e-smith/events/user-lock/S15nethserver-dc-user-lock
/etc/e-smith/events/user-modify/S40nethserver-dc-user-modify
/etc/e-smith/events/user-unlock/S15nethserver-dc-user-unlock
/etc/e-smith/templates/etc/hosts/10dc_realm
/etc/e-smith/templates/etc/sysconfig/nsdc/10base
/etc/e-smith/templates/etc/sysconfig/nsdc/20options
/etc/e-smith/templates/var/lib/machines/nsdc/etc/hostname/00template_vars
/etc/e-smith/templates/var/lib/machines/nsdc/etc/hostname/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/hostname/template-begin
/etc/e-smith/templates/var/lib/machines/nsdc/etc/hosts/00template_vars
/etc/e-smith/templates/var/lib/machines/nsdc/etc/hosts/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/ntp.conf/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/resolv.conf/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/samba/smb.conf.include/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/systemd/network/green.network/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/systemd/system/nsdc-run.socket/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/systemd/system/nsdc-run@.service/10base
/etc/e-smith/templates/var/lib/machines/nsdc/etc/systemd/system/samba-provision.service/10unit
/etc/e-smith/templates/var/lib/machines/nsdc/etc/systemd/system/samba-provision.service/20service
/etc/e-smith/templates/var/lib/machines/nsdc/etc/systemd/system/samba-provision.service/30install
/etc/e-smith/templates/var/lib/machines/nsdc/srv/post-provision.sh/20sme8migration
/etc/e-smith/templates/var/lib/machines/nsdc/srv/post-provision.sh/60homeDrive
/etc/e-smith/templates/var/lib/machines/nsdc/srv/smb.ns6upgrade.conf/10base
/etc/sudoers.d/20_nethserver_dc
/etc/sysconfig/nsdc
/usr/bin/nsdc-run
/usr/lib/nethserver-dc/compat-gnutls37-3.7.2-1.el7.x86_64.rpm
/usr/lib/nethserver-dc/compat-nettle37-3.7.3-1.el7.x86_64.rpm
/usr/lib/nethserver-dc/gmp-6.1.2-1.el7.x86_64.rpm
/usr/lib/nethserver-dc/ns-samba-4.16.5-1.ns7.x86_64.rpm
/usr/lib/systemd/system/nsdc.service
/usr/libexec/nethserver/nsdc-run-worker
/usr/libexec/nethserver/ptrack-nsdc-install
/usr/libexec/nethserver/read-nssamba-version
/usr/share/doc/nethserver-dc-1.9.0
/usr/share/doc/nethserver-dc-1.9.0/COPYING
/usr/share/doc/nethserver-dc-1.9.0/README.rst
/var/lib/machines/nsdc/usr/local/sbin/checkpassword.p
yes, you’re right.
But the nethserver scripts, at some point, should copy it to the other referenced path (it seems it does it when the socket is enabled)
right now I don’t have access to a nethserver with active directory…
can you check the status of other nscd* services/sockets
The nsdc-run-worker script should exist in /var/lib/machines/nsdc/usr/libexec/nsdc-run-worker
yep, Markus is right:
It is there:look
cp: overwrite ‘/var/lib/machines/nsdc/usr/libexec/nsdc-run-worker’? n
[root@s-xx an.sistemas]# ls /var/lib/machines/nsdc/usr/libexec/
awk getconf gpg2keys_finger gpg-check-pattern grepconf.sh openldap selinux
coreutils gnupg-pcsc-wrapper gpg2keys_hkp gpg-preset-passphrase nsdc-run-worker p11-kit utempter
dbus-1 gpg2keys_curl gpg2keys_ldap gpg-protect-tool ntpdate-wrapper platform-python
The samba service is working with the old samba.
but is shows the old samba or now it shows an error?
Same error:
[root@s-xx an.xx]# nsdc-run -e – samba -V
Traceback (most recent call last):
File “/bin/nsdc-run”, line 55, in
buf = so.recv(buf_sz)
socket.error: [Errno 104] Connection reset by pe
Let’s check the configuration of nsdc and sssd:
config show nsdc
config show sssd
Do you get this error too when the container is started?
[root@s-xx an.sistemas]# config show nsdc
nsdc=service
IpAddress=192.168.x.4
ProvisionType=newdomain
bridge=br0
status=enabled
[root@s-xx an.sistemas]# config show sssd
sssd=service
AdDns=192.168.X.4
BindDN=ldapservice@AD.XX.COM
BindPassword=XXXXXXX
DiscoverDcType=ldapuri
LdapURI=ldaps://nsdc-s-lsfc.XX
Provider=ad
Realm=AD.XX
ShellOverrideStatus=enabled
Workgroup=LXX
status=enabled
[root@s-xx an.sistemas]# smbd -V
Version 4.10.16
[root@s-lsfc an.sistemas]# nsdc-run -e – samba -V
Traceback (most recent call last):
File “/bin/nsdc-run”, line 55, in
buf = so.recv(buf_sz)
socket.error: [Errno 104] Connection reset by peer
[root@s-xx an.sistemas]#
it happen after the first signal-event nethserver-dc-upgrade
It’s a production server.
If we’re unable to fix it in time, one of the last options (if AD users are not listed, there are other AD problems or AD is not working) could be this one:
But it would be nice to understand why samba version didn’t change and why the other error showed up later on.