• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • C
    ch3i Moderator
    last edited by Dec 16, 2014, 1:07 PM

    Hi,

    My FoG client won’t change the hostname of computers since today when I update my FoG version to 2815.

    I have this in the FoG client log :

    [CODE]21/10/2009 10:55 FOG::GUIWatcher Dispatch Failed!
    21/10/2009 10:55 FOG::GUIWatcher Message found, attempting to notify GUI![/CODE]

    Regards,
    Ch3i.

    1 Reply Last reply Reply Quote 0
    • C
      ch3i Moderator
      last edited by Dec 16, 2014, 1:15 PM

      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
      • T
        Tom Elliott
        last edited by Dec 16, 2014, 1:15 PM

        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 Dec 16, 2014, 5:48 PM

          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
          • J
            Junkhacker Developer
            last edited by Dec 16, 2014, 6:14 PM

            [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 Dec 16, 2014, 6:55 PM

              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 Dec 16, 2014, 7:12 PM

                Now fixing…Tom and his syntax errors.

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Dec 16, 2014, 7:14 PM

                  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 Dec 16, 2014, 10:37 PM

                    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
                    • C
                      ch3i Moderator
                      last edited by Dec 17, 2014, 7:54 AM

                      Hi,

                      It’s now OK for me since latest SVN.

                      Regards,
                      Ch3i.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Dec 17, 2014, 11:44 AM

                        [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 Dec 17, 2014, 3:58 PM

                          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 Dec 17, 2014, 6:00 PM

                            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
                            • T
                              Tom Elliott
                              last edited by Dec 17, 2014, 6:12 PM

                              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 Dec 17, 2014, 6:27 PM

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

                                192

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project