pastebin - collaborative debugging tool
rovema.kpaste.net RSS


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)

  1. #
  2. # debug start
  3. #
  4. $ /cygdrive/c/Users/roland_mainz/Downloads/ms-nfs41-client-x64/ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 1616 --uid 1616
  5. parse_cmdlineargs: debug_level 3 ldap is 0
  6. 11d0: getaddrinfo response flags: 0x0
  7. 11d0: Family: AF_INET6 IPv6 address fe80::411e:47f9:8bc4:ac67%11
  8. 11d0: Canonical name: (null)
  9. 11d0: getdomainname: hostname WINGRENDEL01 12
  10. 11d0: getaddrinfo response flags: 0x0
  11. 11d0: Family: AF_INET IPv4 address 10.49.20.23
  12. 11d0: Canonical name: (null)
  13. 11d0: getdomainname: hostname WINGRENDEL01 12
  14. 11d0: getdomainname: unable to get a domain name. Set this machine's domain name:
  15. System > ComputerName > Change > More > mydomain
  16.  
  17. # Fix:
  18. regedit: Set Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain to the value GLOBAL.LOC
  19. # OR (from Cygwin shell):
  20. regtool -s set '/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain' 'GLOBAL.LOC'
  21.  
  22. # Verify (from Cygwin shell):
  23. $ cat -n /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain
  24.      1  GLOBAL.LOC
  25. # OR
  26. $ regtool get '/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Domain'
  27. GLOBAL.LOC
  28.  
  29.  
  30. #
  31. # normal start
  32. #
  33. $ /cygdrive/c/Users/roland_mainz/Downloads/ms-nfs41-client-x64/ms-nfs41-client-x64/nfsd_debug.exe -d 0 --noldap --gid 1616 --uid 1616
  34. parse_cmdlineargs: debug_level 0 ldap is 0
  35.  
  36. # mount home dir as *normal* user
  37. >nfs_mount.exe -p -o sec=sys H derfwpc5131.global.loc:\export\home\rmainz
  38. # OR
  39. $ /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'
  40.  
  41. #
  42. # More troubleshooting:
  43. #
  44.  
  45. # Dfsc service causes hangs, fix: Disable Dfsc service
  46. sc query Dfsc
  47. sc stop Dfsc
  48. sc config Dfsc start=disabled
  49.  
  50. # Diagnostics: See whether NFSv4 filesystem module has been loaded:
  51. sc query nfs41_driver

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at