Centos7 hostname change not working
-
running latest version of FOG server and client here…so looking thru the client side fog-log (file attached)…and yes the change hostname is enabled both globally and in the host configuration. I also found other Ubuntu issues where they had to check the AD box that says “Name Change/AD Join Forced reboot?” and this also didn’t seem to help.
It seems that this maybe the issue…
snip from log:--------------------------------HostnameChanger-------------------------------
12/5/2019 7:05 AM Client-Info Client Version: 0.11.16
12/5/2019 7:05 AM Client-Info Client OS: Linux
12/5/2019 7:05 AM Client-Info Server Version: 1.5.7
12/5/2019 7:05 AM Middleware::Response ERROR: Unable to get subsection
12/5/2019 7:05 AM Middleware::Response ERROR: Object reference not set to an instance of an object
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------fog-log.txtnot sure what subsection and instance of an object both have Error’s…anyone seen this and know how to fix? many thanks…
-
@brehuffm Here we see the important part of the log file:
12/5/2019 7:05 AM Middleware::Authentication ERROR: Could not authenticate 12/5/2019 7:05 AM Middleware::Authentication ERROR: Value cannot be null. Parameter name: authority
Some Linux distros use mono version that is causing the problem. We have fixed the client library but haven’t been able to push out a new release yet. Find details about this here: https://forums.fogproject.org/topic/13070/client-not-authenticating and https://forums.fogproject.org/topic/13374/fog-client-under-ubuntu-18-04-authentication-error-could-not-authenticate
In short: Download Zazzles_fixed_Linux.dll, stop FOGService (
systemctl stop FOGService
), rename /opt/fog-service/Zazzles.dll and put the new Zazzles.dll in place. Then start the FOGService again and watch the log. -
@Sebastian-Roth said in Centos7 hostname change not working:
Zazzles.d
Sebastian-Roth, you were spot on. Worked like a champ. Many thanks. Is it safe to assume that this fix will be in the next Fog image? Thanks again for the quick response. Brett
-
@brehuffm said in Centos7 hostname change not working:
Is it safe to assume that this fix will be in the next Fog image?
Not sure what you mean by fog image. The next fog-client version will have that fix included, sure…