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

    Hostname changer

    Scheduled Pinned Locked Moved
    FOG Problems
    8
    26
    12.0k
    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
      Ben Warfield
      last edited by

      GFm - yep, I downloaded the service installer right from the new version of FOG

      Junkhacker - hmm, good suggestion. I will try that and get back to you.

      1 Reply Last reply Reply Quote 0
      • G
        GFm
        last edited by

        Junkhacker - I will try that as well

        Thanks 🙂

        1 Reply Last reply Reply Quote 0
        • B
          Ben Warfield
          last edited by

          Update: Setting the service to delayed start works perfectly. Thanks for the idea!

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            the root of the problem likely has to do with the fact that hostname changer only checks once, on startup. if it does not have a valid network connection at that time, it will not see the server, and won’t change the name, and won’t try again.

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • G
              GFm
              last edited by

              I did a lot of testing today and found the problem… not a solution yet.

              To give a brief background… I updated from 0.32 running ubuntu 10.04. I installed 14.04 and installed 1.0.1 -then migrated my fog install (i did this “clean” migration because when I just upgraded on the 10.04, some of my reports werent working -Pending macs, imaging logs, etc)

              My devices change the hostname and join the domain perfectly with…
              -newly added devices and delayed startup
              -devices deleted out of fog and re-added doing the full host registration

              It does not work when…
              -I have a device registered in fog before the migration

              I have tried restarting the service/computer, but that didnt help. I get the same errors as I posted before with…

              "
              5/27/2014 4:19 PM FOG::HostnameChanger Attempting to connect to fog server…
              5/27/2014 4:19 PM FOG::HostnameChanger Module is disabled on this host.
              5/27/2014 4:19 PM FOG::HostnameChanger Host name was not found in the database.
              "

              I have tried running a hardware inventory report on a machine that has been in fog before my migration… that did not help.

              Any ideas? Anyone else seeing this with or without an upgrade to the new 1.0.1 from 0.32?

              Thanks a lot!

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

                Quickfix I would think would be to go to make a group of the hosts that were registered before your migration going into that group going to service settings uncheck everything save recheck everything safe

                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
                • G
                  GFm
                  last edited by

                  I will try that first thing tomorrow and let you know what happens.

                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alipio Luiz
                    last edited by

                    I’m having the same issue after updating fog version from 0.32 to 1.0.1… I’ve already tried the Tom Elliott’s suggestion but unfortunately it didn’t work…

                    04/06/2014 17:02 FOG::HostnameChanger Module is disabled on this host.
                    04/06/2014 17:02 FOG::HostnameChanger Host name was not found in the database.

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

                      Try this,

                      Place all hosts in your fog system into a single group, (ODD I KNOW)

                      Open a terminal window and ssh to your fog server.

                      Run:
                      [code]mysql -u root fog[/code]

                      If you set a mysql root password run:
                      [code]mysql -u root -p fog[/code]

                      It should ask for your root password.

                      Run the command:
                      [code]truncate table moduleStatusByHost;[/code]

                      You can close the terminal.

                      Go back to your FOG Web GUI.

                      Go to Group Management.

                      List the group, or search for what ever you named the group.

                      Select your group.

                      Choose Service Settings.

                      Select the Services you want enabled.

                      Apply the changes.

                      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
                      • G
                        GFm
                        last edited by

                        That seemed to do the trick! 🙂

                        Thank you!

                        1 Reply Last reply Reply Quote 0
                        • B
                          Bustero.xen
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • A
                            Andy Abplanalp Developer
                            last edited by

                            I did a clean install of Ubuntu 13.10 with 1.1.0 and deployed our base image from 0.32 / uploaded to new 1.1.0 installation. Do I need to use an updated FOG Service msi before I sysprep or will the 0.32 image version work as is? The snapins seem to deploy fine - just doesn’t change name or join domain.

                            Thanks,

                            Andy

                            1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer
                              last edited by

                              the fog service has not changed. the computers may not be joining the domain because the active directory username field has changed from “domain\username” to just “username”
                              the name not changing may be due to an issue with the computer not being able to communicate with the fog server on startup. the hostname changer service only checks once, on startup. setting the fog service to delayed start has resolved this issue for some people.

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              1 Reply Last reply Reply Quote 0
                              • A
                                Andy Abplanalp Developer
                                last edited by

                                Junkhacker:

                                Thank you very much for the reply. I will dig further to address this.

                                Andy

                                1 Reply Last reply Reply Quote 0
                                • T
                                  theleftfoot
                                  last edited by

                                  hey guys,

                                  same here, update to 1.1.0…

                                  hostname changer works only when the client get the registration via pxe boot.

                                  I have imported all clients with csv and made the groups manually! --> none of this clients changed the hostname after the quick image

                                  the solutions for me is, every clients must be registrated via PXE boot menu.

                                  raffa

                                  FOG 1.1.2
                                  Ubuntu 12.10
                                  VMWare 5.5 Up1

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

                                    If you imported hosts, then it is most likely because the host modules are not set.

                                    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
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post

                                    266

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project