• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Centos7 hostname change not working

Scheduled Pinned Locked Moved Solved
Linux Problems
2
4
457
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    brehuffm
    last edited by Dec 5, 2019, 2:36 PM

    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.txt

    not sure what subsection and instance of an object both have Error’s…anyone seen this and know how to fix? many thanks…

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Dec 5, 2019, 8:52 AM Dec 5, 2019, 2:52 PM

      @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.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • B
        brehuffm
        last edited by Dec 5, 2019, 6:33 PM

        @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

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Dec 5, 2019, 11:36 PM

          @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…

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post

          227

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project