Computers not joining our Domain during Sysprep
-
@Wayne-Workman Here is the full log. I can’t copy and paste because it’s from a VM.
-
@kyle.heath What distribution and version is your FOG Server running on?
-
and we are using Ubuntu 14.04.2
-
@kyle.heath See if you have firewall or apparmor on the server. If you do, disable those at least temporarily. Also try to web-browser from the VM to the fog server and see if that works.
-
@Wayne-Workman Yeah I can log into my fog management console using google chrome on my VM.
-
@kyle.heath I may try to revert my VM to an earlier state and see if that helps.
-
Here is the code after trying to image again. The FOG.log had a lot of information in it after I tried to capture the VM.
12/15/2016 7:14 AM Main Overriding exception handling
12/15/2016 7:14 AM Main Bootstrapping Zazzles
12/15/2016 7:14 AM Controller Initialize
12/15/2016 7:14 AM Zazzles Creating main thread
12/15/2016 7:14 AM Zazzles Service construction complete
1/10/2017 10:26 AM Main Overriding exception handling
1/10/2017 10:26 AM Main Bootstrapping Zazzles
1/10/2017 10:26 AM Controller Initialize
1/10/2017 10:26 AM Zazzles Creating main thread
1/10/2017 10:26 AM Zazzles Service construction complete
1/10/2017 10:26 AM Controller Start1/10/2017 10:26 AM Service Starting service
1/10/2017 10:26 AM Bus Became bus server
1/10/2017 10:26 AM Bus {
“self”: true,
“channel”: “Status”,
“data”: “{\r\n “action”: “load”\r\n}”
}
1/10/2017 10:26 AM Bus Emmiting message on channel: Status
1/10/2017 10:26 AM Service Invoking early JIT compilation on needed binaries
--------------------------------Authentication--------------------------------
1/10/2017 10:26 AM Client-Info Version: 0.11.5
1/10/2017 10:26 AM Client-Info OS: Windows
1/10/2017 10:26 AM Middleware::Authentication Waiting for authentication timeout to pass
1/10/2017 10:26 AM Middleware::Communication Download: http://10.0.0.13/fog/management/other/ssl/srvpublic.crt
1/10/2017 10:26 AM Data::RSA FOG Server CA cert found
1/10/2017 10:26 AM Middleware::Authentication Cert OK
1/10/2017 10:26 AM Middleware::Authentication ERROR: Could not get security token
1/10/2017 10:26 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
1/10/2017 10:26 AM Middleware::Communication POST URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&authorize&newService
1/10/2017 10:26 AM Middleware::Response Success
1/10/2017 10:26 AM Middleware::Authentication Authenticated1/10/2017 10:26 AM Bus Registering ParseBus in channel Power
1/10/2017 10:26 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:26 AM Middleware::Response Success
1/10/2017 10:26 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:26 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:26 AM Service Creating user agent cache
1/10/2017 10:26 AM Middleware::Response Invalid time
1/10/2017 10:26 AM Middleware::Response No Printers
1/10/2017 10:26 AM Middleware::Response Module is disabled globally on the FOG server
1/10/2017 10:26 AM Service Initializing modules
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:27 AM Client-Info Client Version: 0.11.5
1/10/2017 10:27 AM Client-Info Client OS: Windows
1/10/2017 10:27 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:27 AM Middleware::Response Success
1/10/2017 10:27 AM Middleware::Communication Download: http://10.0.0.13/fog/client/SmartInstaller.exe
1/10/2017 10:27 AM Data::RSA FOG Project cert found
1/10/2017 10:27 AM ClientUpdater Update file is authentic1/10/2017 10:27 AM Bus {
“self”: true,
“channel”: “Update”,
“data”: “{\r\n “action”: “start”\r\n}”
}
1/10/2017 10:27 AM Bus Emmiting message on channel: Update
1/10/2017 10:27 AM Service-Update Spawning update helper
1/10/2017 10:27 AM UpdaterHelper Shutting down service…
1/10/2017 10:27 AM UpdaterHelper Killing remaining processes…
1/10/2017 10:27 AM UpdaterHelper Applying update…
1/10/2017 10:28 AM UpdaterHelper Starting service…
1/10/2017 10:28 AM Main Overriding exception handling
1/10/2017 10:28 AM Main Bootstrapping Zazzles
1/10/2017 10:28 AM Controller Initialize
1/10/2017 10:28 AM Zazzles Creating main thread
1/10/2017 10:28 AM Zazzles Service construction complete
1/10/2017 10:28 AM Controller Start1/10/2017 10:28 AM Service Starting service
1/10/2017 10:28 AM Bus Became bus server
1/10/2017 10:28 AM Bus {
“self”: true,
“channel”: “Status”,
“data”: “{\r\n “action”: “load”\r\n}”
}
1/10/2017 10:28 AM Bus Emmiting message on channel: Status
1/10/2017 10:28 AM Service Invoking early JIT compilation on needed binaries
--------------------------------Authentication--------------------------------
1/10/2017 10:28 AM Client-Info Version: 0.11.7
1/10/2017 10:28 AM Client-Info OS: Windows
1/10/2017 10:28 AM Middleware::Authentication Waiting for authentication timeout to pass
1/10/2017 10:28 AM Middleware::Communication Download: http://10.0.0.13/fog/management/other/ssl/srvpublic.crt
1/10/2017 10:28 AM Data::RSA FOG Server CA cert found
1/10/2017 10:28 AM Middleware::Authentication Cert OK
1/10/2017 10:28 AM Middleware::Communication POST URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&authorize&newService
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Authentication Authenticated1/10/2017 10:28 AM Bus Registering ParseBus in channel Power
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&configure&newService&json
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:28 AM Service Creating user agent cache
1/10/2017 10:28 AM Middleware::Response Invalid time
1/10/2017 10:28 AM Middleware::Response No Printers
1/10/2017 10:28 AM Middleware::Response Module is disabled globally on the FOG server
1/10/2017 10:28 AM Service Initializing modules
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
----------------------------------TaskReboot----------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
--------------------------------HostnameChanger-------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM HostnameChanger Checking Hostname
1/10/2017 10:28 AM HostnameChanger Removing host from domain
1/10/2017 10:28 AM HostnameChanger The machine is not currently joined to a domain, code = 2692
1/10/2017 10:28 AM HostnameChanger Renaming host to Windows10x64
1/10/2017 10:28 AM Power Creating shutdown command in 60 seconds
1/10/2017 10:28 AM Bus {
“self”: true,
“channel”: “Power”,
“data”: “{\r\n “action”: “request”,\r\n “period”: 60,\r\n “options”: 2,\r\n “command”: “/r /c \“FOG needs to rename your computer\” /t 0”,\r\n “aggregatedDelayTime”: 0,\r\n “message”: “FOG needs to perform maintenance on this computer.”\r\n}”
}
1/10/2017 10:28 AM Bus Emmiting message on channel: Power
---------------------------------SnapinClient---------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response No snapins
1/10/2017 10:28 AM SnapinClient A power operation is pending, aborting module
--------------------------------PrinterManager--------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response No Printers
1/10/2017 10:28 AM PrinterManager Getting installed printers
--------------------------------PowerManagement-------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM PowerManagement Calculating tasks to unschedule
1/10/2017 10:28 AM PowerManagement Calculating tasks to schedule
----------------------------------UserTracker---------------------------------
1/10/2017 10:28 AM Client-Info Client Version: 0.11.7
1/10/2017 10:28 AM Client-Info Client OS: Windows
1/10/2017 10:28 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:28 AM Middleware::Response Success
1/10/2017 10:28 AM Middleware::Communication URL: http://10.0.0.13/fog/service/usertracking.report.php?action=login&user=AUTOBVT-R429B8B\CFA&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json1/10/2017 10:28 AM Service Sleeping for 150 seconds
1/10/2017 10:30 AM Main Overriding exception handling
1/10/2017 10:30 AM Main Bootstrapping Zazzles
1/10/2017 10:30 AM Controller Initialize
1/10/2017 10:30 AM Zazzles Creating main thread
1/10/2017 10:30 AM Zazzles Service construction complete
1/10/2017 10:30 AM Controller Start1/10/2017 10:30 AM Service Starting service
1/10/2017 10:30 AM Bus Became bus server
1/10/2017 10:30 AM Bus {
“self”: true,
“channel”: “Status”,
“data”: “{\r\n “action”: “load”\r\n}”
}
1/10/2017 10:30 AM Bus Emmiting message on channel: Status
1/10/2017 10:30 AM Service Invoking early JIT compilation on needed binaries
--------------------------------Authentication--------------------------------
1/10/2017 10:30 AM Client-Info Version: 0.11.7
1/10/2017 10:30 AM Client-Info OS: Windows
1/10/2017 10:30 AM Middleware::Authentication Waiting for authentication timeout to pass
1/10/2017 10:30 AM Middleware::Communication Download: http://10.0.0.13/fog/management/other/ssl/srvpublic.crt
1/10/2017 10:30 AM Data::RSA FOG Server CA cert found
1/10/2017 10:30 AM Middleware::Authentication Cert OK
1/10/2017 10:30 AM Middleware::Communication POST URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&authorize&newService
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM Middleware::Authentication Authenticated1/10/2017 10:30 AM Bus Registering ParseBus in channel Power
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&configure&newService&json
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:30 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:30 AM Service Creating user agent cache
1/10/2017 10:30 AM Middleware::Response Invalid time
1/10/2017 10:30 AM Middleware::Response No Printers
1/10/2017 10:30 AM Middleware::Response Module is disabled globally on the FOG server
1/10/2017 10:30 AM Service Initializing modules
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
----------------------------------TaskReboot----------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
--------------------------------HostnameChanger-------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM HostnameChanger Checking Hostname
1/10/2017 10:30 AM HostnameChanger Hostname is correct
1/10/2017 10:30 AM HostnameChanger Attempting to join domain
1/10/2017 10:30 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
---------------------------------SnapinClient---------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response No snapins
--------------------------------PrinterManager--------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response No Printers
1/10/2017 10:30 AM PrinterManager Getting installed printers
--------------------------------PowerManagement-------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success
1/10/2017 10:30 AM PowerManagement Calculating tasks to unschedule
1/10/2017 10:30 AM PowerManagement Calculating tasks to schedule
----------------------------------UserTracker---------------------------------
1/10/2017 10:30 AM Client-Info Client Version: 0.11.7
1/10/2017 10:30 AM Client-Info Client OS: Windows
1/10/2017 10:30 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:30 AM Middleware::Response Success1/10/2017 10:30 AM Service Sleeping for 139 seconds
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&configure&newService&json
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:98:78:B9||00:00:00:00:00:00:00:E0&newService&json
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?clientver&newService&json
1/10/2017 10:32 AM Middleware::Communication URL: http://10.0.0.13/fog/service/getversion.php?newService&json1/10/2017 10:32 AM Service Creating user agent cache
1/10/2017 10:32 AM Middleware::Response Invalid time
1/10/2017 10:32 AM Middleware::Response No Printers
1/10/2017 10:32 AM Middleware::Response Module is disabled globally on the FOG server
---------------------------------ClientUpdater--------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
----------------------------------TaskReboot----------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
--------------------------------HostnameChanger-------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM HostnameChanger Checking Hostname
1/10/2017 10:32 AM HostnameChanger Hostname is correct
1/10/2017 10:32 AM HostnameChanger Attempting to join domain
1/10/2017 10:32 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
---------------------------------SnapinClient---------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response No snapins
--------------------------------PrinterManager--------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response No Printers
1/10/2017 10:32 AM PrinterManager Getting installed printers
--------------------------------PowerManagement-------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success
1/10/2017 10:32 AM PowerManagement Calculating tasks to unschedule
1/10/2017 10:32 AM PowerManagement Calculating tasks to schedule
----------------------------------UserTracker---------------------------------
1/10/2017 10:32 AM Client-Info Client Version: 0.11.7
1/10/2017 10:32 AM Client-Info Client OS: Windows
1/10/2017 10:32 AM Client-Info Server Version: 1.3.1-RC-2
1/10/2017 10:32 AM Middleware::Response Success1/10/2017 10:32 AM Service Sleeping for 148 seconds
-
The weird thing is the FOG service is running when I logged into the local admin account. It’s just not joining our domain for some reason.
-
@kyle.heath Please use the code wrapping tool when posting logs. It looks like this in the editing area:
</>
Later in the log, the health of the FOG Client looks fine, but I see this line:1/10/2017 10:30 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
That is a pretty clear error, bad username or password. Doublecheck your active directory settings for this particular host, also doublecheck your domain defaults in FOG Configuration -> FOG Settings -> AD Defaults
-
@Wayne-Workman Alright I thought I had tried this already but I’ll double check. I’ll change it and try to capture the image again.
-
@Wayne-Workman I double checked them and updated them…it still isn’t joining the domain. Any other suggestions?
-
@kyle.heath it has to be a user or pass or domain name issue. There has to be a typo or something. Unapply and reapply the domain settings to the problem system.
-
@Wayne-Workman Maybe I need to do something on the actual FOG server? Is there a way to update the info on that to make sure it works correctly. I just restarted the server and logged in fine though.
-
@Wayne-Workman Ok I think there is something wrong with my FOG server and the database…I need to get both of them on the same page. I was having issues so I reverted to an old snapshot I had of FOG. Whats the best way to get both the database and FOG working correctly together.
-
@kyle.heath is the database not on the same box that runs the web interface? Typically they are the same box for small setups. What makes you think they aren’t working right?
The Below stuff I said about typos and reapplying settings - I was talking about doing those things in the fog web interface.
web interface -> host management -> search for host and then click it -> active directory
andweb interface -> fog configuration -> fog settings -> active directory defaults
-
@Wayne-Workman Because I added a Windows10x64 image and it’s not showing up in the images area on the FOG server.
-
@kyle.heath the files don’t exist for an image in
/images/<image path>
until capture completes. -
@Wayne-Workman Ahh ok so I reverted my FOG server back and I was going to do a fresh update. It says I’m on
I’m trying to use git to update but it won’t work…anyway I can use SVN? I can’t find a SVN guide. When I use git it fails when trying to gather the repository.
-
@Wayne-Workman Another question…should my setupcomplete be a batch file or a windows command script? Does that matter? It looks like I’ve been using a batch file.
-
@kyle.heath you need to fix this error:
1/10/2017 10:30 AM HostnameChanger Logon failure: unknown username or bad password, code = 1326
before anything else. You don’t need to keep on re-capturing or deploying either. Just set up a computer with the client, monitor the fog.log file until you fix your credentials.