GingerNinja0913 Posted March 10, 2019 Share Posted March 10, 2019 Hey, everyone! I just wanted to see if anyone could help me out here. I cannot get this working. So, I changed the UNRAID DNS server 1 to point to my server, my FQDN is LJB.Internal, and I am using the administrator account of the server as the login. However, UNRAID does not want to join the domain at all. I checked my NTP servers and tried multiple others and none of them will resolve the issues, so I don't think it's a time issue. Here are my latest logs: Mar 10 03:30:07 Logan-NAS ntpd[10173]: Listen normally on 2 lo [::1]:123 Mar 10 03:30:07 Logan-NAS ntpd[10173]: Listen normally on 3 br0 [fe80::4ce4:9eff:feda:c006%12]:123 Mar 10 03:30:07 Logan-NAS ntpd[10173]: Listening on routing socket on fd #20 for interface updates Mar 10 03:30:07 Logan-NAS ntpd[10173]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized Mar 10 03:30:07 Logan-NAS ntpd[10173]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized Mar 10 03:30:37 Logan-NAS emhttpd: req (14): DOMAIN=LJB.Internal&DOMAIN_SHORT=LJB&DOMAIN_LOGIN=LJB%5CAdministrator&DOMAIN_PASSWD=*******************&cmdJoinDomain=Join&csrf_token=**************** Mar 10 03:30:59 Logan-NAS emhttpd: shcmd (1226): /usr/local/emhttp/webGui/scripts/update_access Mar 10 03:30:59 Logan-NAS sshd[10150]: Received signal 15; terminating. Mar 10 03:31:00 Logan-NAS sshd[10361]: Server listening on 0.0.0.0 port 22. Mar 10 03:31:00 Logan-NAS sshd[10361]: Server listening on :: port 22. Mar 10 03:31:01 Logan-NAS emhttpd: Stopping services... Mar 10 03:31:01 Logan-NAS unassigned.devices: Unmounting All Devices... Mar 10 03:31:01 Logan-NAS emhttpd: shcmd (1229): /etc/rc.d/rc.samba stop Mar 10 03:31:01 Logan-NAS emhttpd: shcmd (1230): rm -f /etc/avahi/services/smb.service Mar 10 03:31:01 Logan-NAS avahi-daemon[4812]: Files changed, reloading. Mar 10 03:31:01 Logan-NAS avahi-daemon[4812]: Service group file /services/smb.service vanished, removing services. Mar 10 03:31:21 Logan-NAS emhttpd: Starting services... I also don't understand why it constantly says time errors when I use Google's NTP or US.Pool.NTP. Thanks in advance! Quote Link to comment
Zipper76 Posted July 31, 2019 Share Posted July 31, 2019 Just wanted to share since I ran across this post yesterday when dealing with the same problem, I fixed mine by deleting the computer account on my domain controllers. I waited until it replicated and then reran the join. Joined up just fine. I wasted too much time troubleshooting, especially with a simple fix, that I wanted to make sure that someone else having the same problem may have a quicker solution. Quote Link to comment
User01 Posted January 12, 2022 Share Posted January 12, 2022 Hi, Resurrecting an old thread here. I just noticed that I am experiencing the same/similar behavior as the OP. Some key items I noticed in my logs when I click on the Join utton (the UNRAID server was previously joined to the domain): 16:23:57 Server sshd[31346]: Received signal 15; terminating. .... 16:23:59 Server emhttpd: Stopping services... 16:23:59 Server emhttpd: shcmd (212): /etc/rc.d/rc.libvirt stop 16:24:00 Server root: Domain {GUID} is being shutdown 16:24:01 Server root: Waiting on VMs to shutdown. 16:24:01 Server root: Stopping libvirtd... 16:24:04 Server root: Stopping virtlogd... 16:24:05 Server root: Stopping virtlockd... 16:24:06 Server emhttpd: shcmd (213): umount /etc/libvirt ..... 16:24:07 Server root: stopping dockerd ... 16:24:08 Server root: waiting for docker to die ... ..... 16:24:09 Server unassigned.devices: Unmounting All Devices... 16:24:09 Server unassigned.devices: Unmounting partition 'nvme0n1p1' at mountpoint '/mnt/disks/SSD1'... 16:24:09 Server unassigned.devices: Synching file system on '/mnt/disks/SSD1'. 16:24:09 Server unassigned.devices: Unmount cmd: /sbin/umount '/dev/nvme0n1p1' 2>&1 16:24:09 Server kernel: XFS (nvme0n1p1): Unmounting Filesystem 16:24:09 Server unassigned.devices: Successfully unmounted 'nvme0n1p1' 16:24:09 Server emhttpd: shcmd (217): /etc/rc.d/rc.samba stop .... Within this environment, the only AD DC left is running as a VM within UNRAID. With the DC VM started, I can go to the SMB settings page, find the UNRAID server listed as not joined and click on join (domain). At this point the above happens. Unfortunately, I think this is triggering unassigned devices to unmount a SSD which in turn causes the DC VM to go down. This may have done this previously but I haven't noticed UD dismounting drives before when clicking on join domain. Any ideas/thoughts would be welcome. Thanks! Quote Link to comment
ChatNoir Posted January 12, 2022 Share Posted January 12, 2022 1 hour ago, User01 said: Any ideas/thoughts would be welcome. Thanks! syslog extracts are good, but your diagnostics could provide more information. Quote Link to comment
User01 Posted January 12, 2022 Share Posted January 12, 2022 Thanks ChatNoir, however I think I might have worked out what is happening, at least in my scenario. I suspect that Unraid (v6.9.2 in this scenario), triggers a stop of services when the array is started and someone clicks on the "Join" button in the SMB Settings > Active Directory Settings section. 16:23:59 Server emhttpd: Stopping services... 16:23:59 Server emhttpd: shcmd (212): /etc/rc.d/rc.libvirt stop To date, I have only ever used that button when the array was stopped (along with Libvirt and docker in a stopped state). In my scenario, by clicking on join, it causes unassigned devices to dismount any drives mounted in unassigned devices. 16:24:09 Server unassigned.devices: Unmounting All Devices... My DC VM is located on a drive mounted with unassigned devices, hence the domain join does not work (Libvirt is stopped, stopping the VM) and the drive with the VM is now dismounted so it cannot start it again anyway. Prior to today, I had a second DC which was not hosted in Unraid, but now must be running into this issue since that second DC failed. Reading up in the forums, it seems like you cannot host a single DC VM in Unraid and also have Unraid use that as the DC it joins the domain with (a bit of chicken and egg I guess). For now, I am going to use a temporary DC VM until I can get the second DC back. I think the only thing I could use, to close this off, would be a confirmation that with the array started, clicking on Join under SMB settings will trigger the VM and Docker services to stop and trigger unassigned devices to dismount drives. Thanks in advance! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.