Seit einem reboot heute läuft mein Samba Master-DC nicht mehr.
‘Samba-tool processes’ ist leer.
‘Systemctl status’ sagt, dass alle services laufen (degraded 0).
In den Logfiles habe ich irgendwie nix relevantes gefunden.
Hilfe.
root@ucs:~# samba-tool processes
Service: PID
--------------------------------------
root@ucs:~#
Einziger Hinweis im Bootlog:
Feb 9 15:44:43 ucs samba4[1228]: rndc: connect failed: 127.0.0.1#953: connection refused
root@ucs:/var/log# grep erro *.log | grep -v container | grep -v named | grep -v docker | grep -v bootstrap
heimdal-kdc.log:2020-02-09T18:21:23 tgs-req: sending error: -1765328377 to client
root@ucs:~# ps -aux | grep samba | grep -v grep
root 958 0.7 1.7 874928 70040 ? Ssl 18:46 0:03 /usr/sbin/named -c /etc/bind/named.conf.samba4 -f -d 0
root@ucs:~# samba-tool drs kcc
Failed to connect host 192.168.2.6 on port 135 - NT_STATUS_CONNECTION_REFUSED
Failed to connect host 192.168.2.6 (ucs.friedrichnet.de) on port 135 - NT_STATUS_CONNECTION_REFUSED.
ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to ucs.friedrichnet.de failed - drsException: DRS connection to ucs.friedrichnet.de failed: (3221226038, 'The transport-connection attempt was refused by the remote system.')
File "/usr/lib/python2.7/dist-packages/samba/netcmd/drs.py", line 54, in drsuapi_connect
(ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) = drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.creds)
File "/usr/lib/python2.7/dist-packages/samba/drs_utils.py", line 63, in drsuapi_connect
raise drsException("DRS connection to %s failed: %s" % (server, e))
root@ucs:~#
root@ucs:~# nmap $(hostname)
Starting Nmap 7.40 ( https://nmap.org ) at 2020-02-10 10:04 CET
Nmap scan report for ucs (192.168.2.6)
Host is up (0.0000090s latency).
rDNS record for 192.168.2.6: ucs.friedrichnet.de
Not shown: 983 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
111/tcp open rpcbind
443/tcp open https
465/tcp open smtps
514/tcp open shell
587/tcp open submission
749/tcp open kerberos-adm
873/tcp open rsync
2049/tcp open nfs
5432/tcp open postgresql
5666/tcp open nrpe
6669/tcp open irc
32768/tcp open filenet-tms
Nmap done: 1 IP address (1 host up) scanned in 1.65 seconds
root@ucs:~# journalctl -xe | grep ldap
Feb 10 09:47:18 ucs nscd[393]: nss-ldap: do_open: do_start_tls failed:stat=-1
Feb 10 09:47:18 ucs nscd[393]: nss_ldap: reconnecting to LDAP server
Feb 10 09:47:18 ucs nscd[393]: nss-ldap: do_open: do_start_tls failed:stat=-1
Feb 10 09:47:18 ucs nscd[393]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Feb 10 09:47:19 ucs nscd[393]: nss-ldap: do_open: do_start_tls failed:stat=-1
Feb 10 09:47:19 ucs nscd[393]: nss_ldap: could not search LDAP server - Server is unavailable
Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
Feb 10 09:47:19 ucs slapd[1555]: /etc/ldap/slapd.conf: line 179: rootdn is always granted unlimited privileges.
Feb 10 09:47:19 ucs slapd[1029]: Starting ldap server(s): slapd .. done.
root@ucs:/etc/ldap# journalctl -xe | grep slap
-- Subject: Unit slapd.service has begun start-up
-- Unit slapd.service has begun starting up.
Feb 10 09:47:19 ucs root[1232]: /etc/init.d/slapd start (pid: 1029, ppid: 1 systemd)
Feb 10 09:47:19 ucs slapd[1029]: Check database: done.
Feb 10 09:47:19 ucs slapd[1555]: @(#) $OpenLDAP: slapd (Nov 26 2019 12:59:58) $
Feb 10 09:47:19 ucs slapd[1555]: Loaded metadata from "/usr/share/univention-management-console/saml/idp/ucs-sso.friedrichnet.de.xml"
Feb 10 09:47:19 ucs slapd[1555]: /etc/ldap/slapd.conf: line 179: rootdn is always granted unlimited privileges.
Feb 10 09:47:19 ucs slapd[1561]: WARNING: No dynamic config support for overlay translog.
Feb 10 09:47:19 ucs slapd[1561]: slapd starting
Feb 10 09:47:19 ucs slapd[1029]: Starting ldap server(s): slapd ..done.
Feb 10 09:47:19 ucs slapd[1029]: Checking Schema ID: ..done.
-- Subject: Unit slapd.service has finished start-up
-- Unit slapd.service has finished starting up.
root@ucs:/etc/ldap#
root@ucs:~# systemctl status samba
● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba; generated; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
root@ucs:~# systemctl start samba
root@ucs:~# systemctl status samba
● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba; generated; vendor preset: enabled)
Active: active (exited) since Sun 2020-02-09 18:49:24 CET; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 10452 ExecStart=/etc/init.d/samba start (code=exited, status=0/SUCCESS)
CPU: 61ms
Feb 09 18:49:24 ucs systemd[1]: Starting LSB: ensure Samba daemons are started (nmbd and smbd)...
Feb 09 18:49:24 ucs samba[10452]: Starting nmbd (via systemctl): nmbd.service.
Feb 09 18:49:24 ucs samba[10452]: Starting smbd (via systemctl): smbd.service.
Feb 09 18:49:24 ucs systemd[1]: Started LSB: ensure Samba daemons are started (nmbd and smbd).
root@ucs:~# systemctl status smbd
● smbd.service - LSB: Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; generated; vendor preset: enabled)
Active: active (exited) since Sun 2020-02-09 18:46:44 CET; 3min 9s ago
Docs: man:systemd-sysv-generator(8)
Process: 1675 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 0B
CPU: 0
CGroup: /system.slice/smbd.service
Feb 09 18:46:43 ucs systemd[1]: Starting LSB: Samba SMB/CIFS daemon (smbd)...
Feb 09 18:46:44 ucs smbd[1675]: Samba is configured as AD DC, service smbd is controlled by the main samba daemon.
Feb 09 18:46:44 ucs systemd[1]: Started LSB: Samba SMB/CIFS daemon (smbd).
root@ucs:~# systemctl status nmbd
● nmbd.service - LSB: Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd; generated; vendor preset: enabled)
Active: active (running) since Sun 2020-02-09 18:46:41 CET; 3min 21s ago
Docs: man:systemd-sysv-generator(8)
Process: 1013 ExecStart=/etc/init.d/nmbd start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 4915)
Memory: 6.9M
CPU: 239ms
CGroup: /system.slice/nmbd.service
├─1356 /usr/sbin/nmbd -D
└─1357 /usr/sbin/nmbd -D
Feb 09 18:46:40 ucs systemd[1]: Starting LSB: Samba NetBIOS nameserver (nmbd)...
Feb 09 18:46:41 ucs nmbd[1013]: Starting NetBIOS name server: nmbd.
Feb 09 18:46:41 ucs systemd[1]: Started LSB: Samba NetBIOS nameserver (nmbd).
root@ucs:~# systemctl status winbind
● winbind.service - LSB: Samba Winbind daemon
Loaded: loaded (/etc/init.d/winbind; generated; vendor preset: enabled)
Active: active (exited) since Sun 2020-02-09 18:46:41 CET; 3min 38s ago
Docs: man:systemd-sysv-generator(8)
Process: 1017 ExecStart=/etc/init.d/winbind start (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 0B
CPU: 0
CGroup: /system.slice/winbind.service
Feb 09 18:46:40 ucs systemd[1]: Starting LSB: Samba Winbind daemon...
Feb 09 18:46:41 ucs winbind[1017]: Samba is configured as AD DC, service winbind is controlled by the main samba daemon
Feb 09 18:46:41 ucs systemd[1]: Started LSB: Samba Winbind daemon.