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

    FOG 2734: HostnameChanger doesn't work.

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    10
    2.5k
    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.
    • 2
      2cool4me4
      last edited by

      On a newly imaged system, the hostname never changes. Here’s the relevant section of the fog.log:

      [CODE] 12/12/2014 12:25 PM FOG::HostnameChanger Attempting to connect to fog server…
      12/12/2014 12:25 PM FOG::HostnameChanger Module is active…
      12/12/2014 12:25 PM FOG::HostnameChanger AD mode requested, confirming settings.
      12/12/2014 12:25 PM FOG::HostnameChanger Could not find any recognizable digits.
      12/12/2014 12:25 PM FOG::HostnameChanger at System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
      at System.Convert.ToByte(String value, Int32 fromBase)
      at FOG.FOGCrypt.hexToByte(String hex)
      at FOG.FOGCrypt.decryptHex(String hex)
      at FOG.HostNameChanger.changeHostName()[/CODE]

      Don’t know if it’s related, but there appears to be an issue with AutoLogOut as well.

      [CODE] 12/12/2014 12:25 PM FOG::AutoLogOut Module is active…
      12/12/2014 12:25 PM FOG::AutoLogOut Timeout value is Zero, disabling module.
      12/12/2014 12:25 PM FOG::AutoLogOut The path is not of a legal form.
      12/12/2014 12:25 PM FOG::AutoLogOut at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
      at System.IO.Path.GetFullPath(String path)
      at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
      at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
      at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
      at FOG.AutoLogOut.doWork()[/CODE]

      I’ve also attached the full fog.log

      EDIT: The full log appears to have sections omitted. Well, you have what I know.

      [url=“/_imported_xf_attachments/1/1553_fog.txt?:”]fog.txt[/url]

      Debian Jessie
      Intel Xeon 5130
      2GB RAM

      If you ever need it, you know…

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Can you try the latest and greatest 2789?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • 2
          2cool4me4
          last edited by

          Oof… Having a read only Friday.

          I’ll try later. Not near the server at the moment.

          Debian Jessie
          Intel Xeon 5130
          2GB RAM

          If you ever need it, you know…

          1 Reply Last reply Reply Quote 0
          • 2
            2cool4me4
            last edited by

            Same issue with 2789

            Debian Jessie
            Intel Xeon 5130
            2GB RAM

            If you ever need it, you know…

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              I don’t know what was causing the problem, but I just tested every item I could think of on the client and everything passed with flying colors. The ONLY thing I did not test was AD joining, though I believe it should work.

              Hopefully all of this works.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • 2
                2cool4me4
                last edited by

                I can confirm this. The hostname changes if the computer is not marked to add to AD. However, it still won’t join the AD after it’s been marked to do so.

                Debian Jessie
                Intel Xeon 5130
                2GB RAM

                If you ever need it, you know…

                1 Reply Last reply Reply Quote 0
                • J
                  jamesb
                  last edited by

                  I’m having this issue to. However I’m not sure if I’m on 2789 or not. Where would I look in fog to find that out and if I’m not how would I update it.

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    The cloud icon of the GUI should show the version. If you’re on SVN version it’ll show something like 2798, if on a “stable” version it should show 1.X.X

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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
                    • J
                      jamesb
                      last edited by

                      I’m currently on 1.2.0. Is there an update I can grab that can hopefully fix this issue or should I wait for the new release which looks like might fix a bunch of issues since the code was reworked.

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wolfbane8653 Developer
                        last edited by

                        [url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url]

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

                        155

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project