- #
- # debug start
- #
- $ /cygdrive/c/Users/roland_mainz/Downloads/ms-nfs41-client-x64/ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 1616 --uid 1616
- parse_cmdlineargs: debug_level 3 ldap is 0
- 11d0: getaddrinfo response flags: 0x0
- 11d0: Family: AF_INET6 IPv6 address fe80::411e:47f9:8bc4:ac67%11
- 11d0: Canonical name: (null)
- 11d0: getdomainname: hostname WINGRENDEL01 12
- 11d0: getaddrinfo response flags: 0x0
- 11d0: Family: AF_INET IPv4 address 10.49.20.23
- 11d0: Canonical name: (null)
- 11d0: getdomainname: hostname WINGRENDEL01 12
- 11d0: getdomainname: unable to get a domain name. Set this machine's domain name:
- System > ComputerName > Change > More > mydomain
- # Fix:
- regedit: Set Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain to the value GLOBAL.LOC
- # OR (from Cygwin shell):
- regtool -s set '/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain' 'GLOBAL.LOC'
- # Verify (from Cygwin shell):
- $ cat -n /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain
- 1 GLOBAL.LOC
- # OR
- $ regtool get '/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain'
- GLOBAL.LOC
- #
- # normal start
- #
- $ /cygdrive/c/Users/roland_mainz/Downloads/ms-nfs41-client-x64/ms-nfs41-client-x64/nfsd_debug.exe -d 0 --noldap --gid 1616 --uid 1616
- parse_cmdlineargs: debug_level 0 ldap is 0
- # mount home dir as *normal* user
- >nfs_mount.exe -p -o sec=sys H derfwpc5131.global.loc:\export\home\rmainz
- # OR
- $ /cygdrive/c/Users/roland_mainz/Downloads/ms-nfs41-client-x64/ms-nfs41-client-x64/nfs_mount.exe -p -o sec=sys H 'derfwpc5131.global.loc:/export/home/rmainz'
- #
- # More troubleshooting:
- #
- # Dfsc service causes hangs, fix: Disable Dfsc service
- sc query Dfsc
- sc stop Dfsc
- sc config Dfsc start=disabled
- # Diagnostics: See whether NFSv4 filesystem module has been loaded:
- sc query nfs41_driver
ms-nfs41-client-x64>nfsd_debug.exe: getdomainname: unable to get a domain name fix
Posted by Anonymous on Fri 23rd Jun 2023 14:18
raw | new post
view followups (newest first): ms-nfs41-client-x64>nfsd_debug.exe: getdomainname: unable to get a domain name fix by Anonymous
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.