Re: NIS konfigurieren
Hallo!
Am 2023-10-05 20:55, schrieb Ulf Volmer:> ulf@debian12-desktop:~$ domainname
(none)
ulf@debian12-desktop:~$ sudo systemctl start ypbind.service
ulf@debian12-desktop:~$ domainname
test.lan.u-v.de
Drei mal "?" - domainname verlangt ein laufenden ypbind?
Bei mir schaut es da so aus (am Client):
domainname -> (none)
optional auch hier ein: domainname Meine.Domain -> Meine.Domain
systemctl start ypbind.service ->
Job for ypbind.service failed because the control process exited with
error code.
See "systemctl status ypbind.service" and "journalctl -xeu
ypbind.service" for details.
systemctl status ypbind.service ->
× ypbind.service - NIS Binding Service
Loaded: loaded (/lib/systemd/system/ypbind.service; disabled;
preset: enab>
Active: failed (Result: exit-code) since Fri 2023-10-06 05:38:55
CEST; 1mi>
Process: 1411 ExecStartPre=/bin/domainname -F /etc/defaultdomain
(code=exit>
CPU: 1ms
Okt 06 05:38:55 xw4600-debian systemd[1]: Starting ypbind.service - NIS
Binding>
Okt 06 05:38:55 xw4600-debian domainname[1411]: domainname: No such file
or dir>
Okt 06 05:38:55 xw4600-debian systemd[1]: ypbind.service: Control
process exite>
Okt 06 05:38:55 xw4600-debian systemd[1]: ypbind.service: Failed with
result 'e>
Okt 06 05:38:55 xw4600-debian systemd[1]: Failed to start ypbind.service
- NIS >
lines 1-11/11 (END)
Und da bin ich wieder bei meinem Problem: Wie kann ich den Domainname
dauerhaft festlegen und in /etc/defaultdomain speichern?
Danke Thomas
Reply to: