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

    SVN 2815 : Change hostname

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    15
    4.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.
    • ch3iC
      ch3i Moderator
      last edited by

      Sorry,

      It’s seem the same : [url]http://fogproject.org/forum/threads/fog-2734-hostnamechanger-doesnt-work.12129/[/url]

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

        Those messages are normal.

        Try setting your client to delayed start to allow the join AD and hostname to change.

        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

          You want the FOG service to be set to Automatic (Delayed)?

          Debian Jessie
          Intel Xeon 5130
          2GB RAM

          If you ever need it, you know…

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

            [quote=“2cool4me4, post: 40028, member: 25120”]You want the FOG service to be set to Automatic (Delayed)?[/quote]

            yes

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

              I set the FOG service to delayed startup. Still the same issue. On a a system with an incorrect hostname, the hostname will not change. This is ONLY if the client is set to be joined to AD.

              [CODE] 12/16/2014 12:49 PM FOG::HostnameChanger Attempting to connect to fog server…
              12/16/2014 12:49 PM FOG::HostnameChanger Module is active…
              12/16/2014 12:49 PM FOG::HostnameChanger AD mode requested, confirming settings.
              12/16/2014 12:49 PM FOG::UserTracker Module is active…
              12/16/2014 12:49 PM FOG::PrinterManager Module is active…
              12/16/2014 12:49 PM FOG::HostnameChanger Could not find any recognizable digits.
              12/16/2014 12:49 PM FOG::PrinterManager Starting printer manager…
              12/16/2014 12:49 PM FOG::PrinterManager Yielding to other services for 36 seconds.
              12/16/2014 12:49 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]

              Debian Jessie
              Intel Xeon 5130
              2GB RAM

              If you ever need it, you know…

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

                Now fixing…Tom and his syntax errors.

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

                  Yep
                  update to 2816 and all should be fixed.

                  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

                    No dice. But the error is different now.

                    [CODE] 12/16/2014 4:35 PM FOG::HostnameChanger AD mode requested, confirming settings.
                    12/16/2014 4:35 PM FOG::TaskReboot No job exists for (There’s no reason to remove this)
                    12/16/2014 4:35 PM FOG::TaskReboot No task found for client.
                    12/16/2014 4:35 PM FOG::HostnameChanger Additional non-parsable characters are at the end of the string.
                    12/16/2014 4:35 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]

                    Debian Jessie
                    Intel Xeon 5130
                    2GB RAM

                    If you ever need it, you know…

                    1 Reply Last reply Reply Quote 0
                    • ch3iC
                      ch3i Moderator
                      last edited by

                      Hi,

                      It’s now OK for me since latest SVN.

                      Regards,
                      Ch3i.

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

                        [quote=“2cool4me4, post: 40037, member: 25120”]No dice. But the error is different now.

                        [CODE] 12/16/2014 4:35 PM FOG::HostnameChanger AD mode requested, confirming settings.
                        12/16/2014 4:35 PM FOG::TaskReboot No job exists for (There’s no reason to remove this)
                        12/16/2014 4:35 PM FOG::TaskReboot No task found for client.
                        12/16/2014 4:35 PM FOG::HostnameChanger Additional non-parsable characters are at the end of the string.
                        12/16/2014 4:35 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][/quote]

                        When you encrypted your AD Password with FOGCrypt, did you copy and paste the encrypted string in the ADPass field?

                        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

                          Yes. This worked at one point. I’ll try to re-encrypt the password, though.

                          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

                            Ah, I see. No matter what I put in the FOG_AD_DEFAULT_PASSWORD field, it changes back to what I had before.

                            Here’s the apache error that occurs when I try to change it:

                            [CODE][Wed Dec 17 11:52:15 2014] [error] [client 10.1.2.110] PHP Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in /var/www/fog/lib/fog/FOGBase.class.php on line 268, referer: http://fogserver/fog/management/index.php?node=about&sub=settings
                            [/CODE]

                            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 turn of FOG_AES_ENCRYPT from FOG Configuration->FOG Settings->FOG Service?

                              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

                                That wasn’t turned on, but FOG_NEW_CLIENT was. Must have been a test I forgot to change back.

                                Thanks, everyone!

                                Debian Jessie
                                Intel Xeon 5130
                                2GB RAM

                                If you ever need it, you know…

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

                                126

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project