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

Hostnamechanger not working

Scheduled Pinned Locked Moved Solved
FOG Problems
6
39
12.7k
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.
  • G
    gwhitfield
    last edited by May 5, 2016, 2:28 PM

    FOG Trunk v7486, Ubuntu 14.0.4, client 10.5. This is a new FOG server, hasn’t seen production use yet other than to upload an image. Just updated server this morning to have latest everything as I’m working on creating a master Win 7 desktop image. Fog.log shows no errors I can see, hostnamechanger module says hostname correct and it’s not. It’s not changing the hostname, not sure where to look to correct this. I’ve seen a couple other articles but nothing that seems to be my particular problem.

    E 1 Reply Last reply May 5, 2016, 2:32 PM Reply Quote 0
    • E
      EAHarvey @gwhitfield
      last edited by May 5, 2016, 2:32 PM

      @gwhitfield When you say hostname do you mean the PC name? I’m having the same issue.

      1 Reply Last reply Reply Quote 0
      • P
        Psycholiquid Testers
        last edited by Psycholiquid May 5, 2016, 8:34 AM May 5, 2016, 2:33 PM

        What are you getting from the log at c:\fog.log on the client? And by that I mean I need to see the Hostname Changer part of the log

        1 Reply Last reply Reply Quote 0
        • J
          Joe Schmitt Senior Developer
          last edited by May 5, 2016, 2:38 PM

          Also, right click “My Computer” and go to properties. Check the computer name field. What does it say? If it says (Will change to xxxx after restart), please upload the entire fog.log file

          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.

          1 Reply Last reply Reply Quote 1
          • G
            gwhitfield
            last edited by gwhitfield May 5, 2016, 8:51 AM May 5, 2016, 2:44 PM

            Funny thing, when I did a service restart it now says users logged in enforce disabled. I checked computer name no re-name or re-start pending. I looked through FOG settings and see a couple different “enable enforce” checkboxes which are all checked. Here’s current log from latest service restart:

             5/5/2016 10:35 AM Controller Stop
             5/5/2016 10:35 AM Service Stop requested
             5/5/2016 10:35 AM Bus {
              "self": true,
              "channel": "Status",
              "data": "{\r\n  \"action\": \"unload\"\r\n}"
            }
             5/5/2016 10:35 AM Bus Emmiting message on channel: Status
             5/5/2016 10:35 AM Main Overriding exception handling
             5/5/2016 10:35 AM Main Bootstrapping Zazzles
             5/5/2016 10:35 AM Controller Initialize
             5/5/2016 10:35 AM entry Creating obj
             5/5/2016 10:35 AM Controller Start
            
             5/5/2016 10:35 AM Service Starting service
             5/5/2016 10:35 AM Bus Became bus server
             5/5/2016 10:35 AM Bus {
              "self": true,
              "channel": "Status",
              "data": "{\r\n  \"action\": \"load\"\r\n}"
            }
             5/5/2016 10:35 AM Bus Emmiting message on channel: Status
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             5/5/2016 10:35 AM Client-Info Version: 0.10.5
             5/5/2016 10:35 AM Client-Info OS:      Windows
             5/5/2016 10:35 AM Middleware::Authentication Waiting for authentication timeout to pass
             5/5/2016 10:35 AM Middleware::Communication Download: http://MOSS-FOGSERVER/fog/management/other/ssl/srvpublic.crt
             5/5/2016 10:35 AM Data::RSA FOG Server CA cert found
             5/5/2016 10:35 AM Middleware::Authentication Cert OK
             5/5/2016 10:35 AM Middleware::Communication POST URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&authorize&newService
             5/5/2016 10:35 AM Middleware::Response Success
             5/5/2016 10:35 AM Middleware::Authentication Authenticated
            
            
             5/5/2016 10:35 AM Bus Registering ParseBus in channel Power
             5/5/2016 10:35 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
             5/5/2016 10:35 AM Middleware::Response Success
             5/5/2016 10:35 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
             5/5/2016 10:35 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
            
             5/5/2016 10:35 AM Service Creating user agent cache
             5/5/2016 10:35 AM Middleware::Response Success
             5/5/2016 10:35 AM Middleware::Response No Printers
            
            ------------------------------------------------------------------------------
            ---------------------------------ClientUpdater--------------------------------
            ------------------------------------------------------------------------------
             5/5/2016 10:35 AM Client-Info Client Version: 0.10.5
             5/5/2016 10:35 AM Client-Info Client OS:      Windows
             5/5/2016 10:35 AM Client-Info Server Version: 7486
             5/5/2016 10:35 AM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            ----------------------------------TaskReboot----------------------------------
            ------------------------------------------------------------------------------
             5/5/2016 10:35 AM Client-Info Client Version: 0.10.5
             5/5/2016 10:35 AM Client-Info Client OS:      Windows
             5/5/2016 10:35 AM Client-Info Server Version: 7486
             5/5/2016 10:35 AM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            --------------------------------HostnameChanger-------------------------------
            ------------------------------------------------------------------------------
             5/5/2016 10:35 AM Client-Info Client Version: 0.10.5
             5/5/2016 10:35 AM Client-Info Client OS:      Windows
             5/5/2016 10:35 AM Client-Info Server Version: 7486
             5/5/2016 10:35 AM Middleware::Response Success
             5/5/2016 10:35 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
            ------------------------------------------------------------------------------
            
            1 Reply Last reply Reply Quote 0
            • G
              gwhitfield
              last edited by gwhitfield May 5, 2016, 9:15 AM May 5, 2016, 3:11 PM

              Update: Just for fun I set the computer to join AD and re-started. It came back up with the correct hostname AND it was joined to the domain - however it never rebooted other than the restart I manually initiated. Here is the current fog.log starting right before my manual reboot at 10:55

              5/5/2016 10:47 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&configure&newService&json
               5/5/2016 10:47 AM Middleware::Response Success
               5/5/2016 10:47 AM Service Sleeping for 136 seconds
               5/5/2016 10:49 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
               5/5/2016 10:49 AM Middleware::Response Success
               5/5/2016 10:49 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
               5/5/2016 10:49 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
              
               5/5/2016 10:49 AM Service Creating user agent cache
               5/5/2016 10:49 AM Middleware::Response Success
               5/5/2016 10:49 AM Middleware::Response No Printers
              
              ------------------------------------------------------------------------------
              ---------------------------------ClientUpdater--------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ----------------------------------TaskReboot----------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              --------------------------------HostnameChanger-------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response Success
               5/5/2016 10:49 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ---------------------------------SnapinClient---------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response No snapins
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              --------------------------------PrinterManager--------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response No Printers
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              -----------------------------------GreenFOG-----------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response No actions
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ----------------------------------UserTracker---------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:49 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:49 AM Client-Info Client OS:      Windows
               5/5/2016 10:49 AM Client-Info Server Version: 7486
               5/5/2016 10:49 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
               5/5/2016 10:49 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&configure&newService&json
               5/5/2016 10:49 AM Middleware::Response Success
               5/5/2016 10:49 AM Service Sleeping for 139 seconds
               5/5/2016 10:52 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
               5/5/2016 10:52 AM Middleware::Response Success
               5/5/2016 10:52 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
               5/5/2016 10:52 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
              
               5/5/2016 10:52 AM Service Creating user agent cache
               5/5/2016 10:52 AM Middleware::Response Success
               5/5/2016 10:52 AM Middleware::Response No Printers
              
              ------------------------------------------------------------------------------
              ---------------------------------ClientUpdater--------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ----------------------------------TaskReboot----------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              --------------------------------HostnameChanger-------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response Success
               5/5/2016 10:52 AM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ---------------------------------SnapinClient---------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response No snapins
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              --------------------------------PrinterManager--------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response No Printers
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              -----------------------------------GreenFOG-----------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response No actions
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ----------------------------------UserTracker---------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:52 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:52 AM Client-Info Client OS:      Windows
               5/5/2016 10:52 AM Client-Info Server Version: 7486
               5/5/2016 10:52 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
               5/5/2016 10:52 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&configure&newService&json
               5/5/2016 10:52 AM Middleware::Response Success
               5/5/2016 10:52 AM Service Sleeping for 130 seconds
               5/5/2016 10:55 AM Main Overriding exception handling
               5/5/2016 10:55 AM Main Bootstrapping Zazzles
               5/5/2016 10:55 AM Controller Initialize
               5/5/2016 10:55 AM entry Creating obj
               5/5/2016 10:55 AM Controller Start
              
               5/5/2016 10:55 AM Service Starting service
               5/5/2016 10:57 AM Bus Became bus server
               5/5/2016 10:57 AM Bus {
                "self": true,
                "channel": "Status",
                "data": "{\r\n  \"action\": \"load\"\r\n}"
              }
               5/5/2016 10:57 AM Bus Emmiting message on channel: Status
              
              ------------------------------------------------------------------------------
              --------------------------------Authentication--------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:57 AM Client-Info Version: 0.10.5
               5/5/2016 10:57 AM Client-Info OS:      Windows
               5/5/2016 10:57 AM Middleware::Authentication Waiting for authentication timeout to pass
               5/5/2016 10:57 AM Middleware::Communication Download: http://MOSS-FOGSERVER/fog/management/other/ssl/srvpublic.crt
               5/5/2016 10:57 AM Data::RSA FOG Server CA cert found
               5/5/2016 10:57 AM Middleware::Authentication Cert OK
               5/5/2016 10:57 AM Middleware::Communication POST URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&authorize&newService
               5/5/2016 10:57 AM Middleware::Response Success
               5/5/2016 10:57 AM Middleware::Authentication Authenticated
              
              
               5/5/2016 10:57 AM Bus Registering ParseBus in channel Power
               5/5/2016 10:57 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
               5/5/2016 10:57 AM Middleware::Response Success
               5/5/2016 10:57 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
               5/5/2016 10:57 AM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
              
               5/5/2016 10:57 AM Service Creating user agent cache
               5/5/2016 10:57 AM Middleware::Response Success
               5/5/2016 10:57 AM Middleware::Response No Printers
              
              ------------------------------------------------------------------------------
              ---------------------------------ClientUpdater--------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:57 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:57 AM Client-Info Client OS:      Windows
               5/5/2016 10:57 AM Client-Info Server Version: 7486
               5/5/2016 10:57 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              ----------------------------------TaskReboot----------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:57 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:57 AM Client-Info Client OS:      Windows
               5/5/2016 10:57 AM Client-Info Server Version: 7486
               5/5/2016 10:57 AM Middleware::Response Success
              ------------------------------------------------------------------------------
              
              
              ------------------------------------------------------------------------------
              --------------------------------HostnameChanger-------------------------------
              ------------------------------------------------------------------------------
               5/5/2016 10:57 AM Client-Info Client Version: 0.10.5
               5/5/2016 10:57 AM Client-Info Client OS:      Windows
               5/5/2016 10:57 AM Client-Info Server Version: 7486
               5/5/2016 10:57 AM Middleware::Response Success
               5/5/2016 10:57 AM HostnameChanger Checking Hostname
               5/5/2016 10:57 AM HostnameChanger Hostname is correct
               5/5/2016 10:58 AM HostnameChanger Success, code =  0
               5/5/2016 10:58 AM Power Creating shutdown command in 60 seconds
               5/5/2016 10:58 AM Bus {
                "self": true,
                "channel": "Power",
                "data": "{\r\n  \"action\": \"request\",\r\n  \"period\": 60,\r\n  \"options\": 2,\r\n  \"command\": \"/r /c \\\"Host joined to Active Directory, restart required\\\" /t 0\",\r\n  \"message\": \"This computer needs to perform maintenance.\"\r\n}"
              }
               5/5/2016 10:58 AM Bus Emmiting message on channel: Power
              ------------------------------------------------------------------------------
              
               5/5/2016 10:58 AM Service Power operation being requested, checking back in 30 seconds
               5/5/2016 10:58 AM Service Power operation being requested, checking back in 30 seconds
               5/5/2016 10:59 AM Power Creating shutdown request
               5/5/2016 10:59 AM Power Parameters: /r /c "Host joined to Active Directory, restart required" /t 0
              
              1 Reply Last reply Reply Quote 0
              • G
                gwhitfield
                last edited by May 5, 2016, 3:51 PM

                Seems like task reboots aren’t happening as they should. Neither when I rename the machine nor when I tell it to join AD. The reboot task appears to be created since it’s noted in the fog.log, but it doesn’t happen.

                As I indicated before, the machine name didn’t change even when I manually did a restart, but it DID change when I set the host to join AD - AND THEN - did a manual restart. Not sure how that’s significant but maybe?

                I also can’t find any menu setting unchecked that would be preventing FOG form doing it’s thing. Is there maybe a password problem? I previously changed the local fog password in Ubuntu and the .fogsettings file to match the storage and ftp passwords since my uploads weren’t initially moving from /dev to /images but that all seems to be working fine now.

                P 1 Reply Last reply May 5, 2016, 3:53 PM Reply Quote 0
                • P
                  Psycholiquid Testers @gwhitfield
                  last edited by May 5, 2016, 3:53 PM

                  @gwhitfield I am not running the same trunk as you, but it would seem that if you stayed logged out it might change. Try setting the name in FOG on the host and stayed logged out of the machine and see if it restarts.

                  The only reason I think this is because of the “HostnameChanger Users still logged in and enforce is disabled, delaying any further actions”

                  1 Reply Last reply Reply Quote 0
                  • G
                    gwhitfield
                    last edited by May 5, 2016, 4:12 PM

                    @Psycholiquid - that worked, the machine restarted twice to rename and rejoin. I guess the issue I’m worried about is that we count on FOG to rename and join AD during the deployment of a sysprepped image when the local Administrator is logged on but if the task reboots aren’t happening the whole process eventually freezes waiting for the reboot to finalize things. I believe that’s what I was seeing last night that started me down this road. Maybe updating the client today will make the difference.

                    I’m going to try sysprepping my image to see what happens and get back to everyone.

                    P 1 Reply Last reply May 5, 2016, 4:14 PM Reply Quote 0
                    • P
                      Psycholiquid Testers @gwhitfield
                      last edited by May 5, 2016, 4:14 PM

                      @gwhitfield That is teh same thing I do with 3 autologons, but I am not seeing the enforced part in my version. Might be something new I haven’t updated to yet.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Schmitt Senior Developer
                        last edited by May 5, 2016, 4:15 PM

                        @Tom-Elliott This may be a bug server-side.

                        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.

                        1 Reply Last reply Reply Quote 0
                        • G
                          gwhitfield
                          last edited by May 5, 2016, 4:23 PM

                          HOLD A MOMENT! I just found out what the functionality of the “Host changes every cycle” checkbox is. I am going to set this and see if it fixes things… I didn’t have it checked before because I was not familiar with it.

                          P 1 Reply Last reply May 5, 2016, 4:25 PM Reply Quote 0
                          • P
                            Psycholiquid Testers @gwhitfield
                            last edited by May 5, 2016, 4:25 PM

                            @gwhitfield I can tell you all mine are checked , if that helps.

                            Tom ElliottT 1 Reply Last reply May 5, 2016, 4:43 PM Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @Psycholiquid
                              last edited by May 5, 2016, 4:43 PM

                              The enforce is user defined. Task reboot should work properly now. (For those having this issue). I know this thread isn’t the right place and I will post in the correct place.

                              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

                              G 1 Reply Last reply May 5, 2016, 4:51 PM Reply Quote 0
                              • G
                                gwhitfield @Tom Elliott
                                last edited by May 5, 2016, 4:51 PM

                                @Tom-Elliott said in Hostnamechanger not working:

                                The enforce is user defined. Task reboot should work properly now. (For those having this issue). I know this thread isn’t the right place and I will post in the correct place.

                                Do you mean a version update is needed?

                                Tom ElliottT 1 Reply Last reply May 5, 2016, 4:52 PM Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @gwhitfield
                                  last edited by May 5, 2016, 4:52 PM

                                  @gwhitfield What do you mean? Yes, I pushed a hotfix. To see it you need to update.

                                  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
                                    gwhitfield
                                    last edited by May 5, 2016, 5:50 PM

                                    So I reverted my workstation VM and started fresh. I updated FOG server, reset encryption data for workstation, then powered up VM and installed new client on workstation. AD join is turned off but “Host changes every cycle” is checked for this host. It is not renaming the host, it seems to think the hostname is correct which it is not. Fog.log isn’t indicating any errors is there another log I can check?

                                    Tom ElliottT 1 Reply Last reply May 5, 2016, 6:02 PM Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @gwhitfield
                                      last edited by May 5, 2016, 6:02 PM

                                      @gwhitfield reboot the client. Does the info update?

                                      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
                                        gwhitfield
                                        last edited by gwhitfield May 5, 2016, 12:47 PM May 5, 2016, 6:15 PM

                                        As a test, I set the host to join AD. Fog.log shows domain join process and issues restart command to machine but nothing happens. Logging out doesn’t help machine to restart. When I manually restart machine everything comes together, machine name is changed and joined to domain. Here’s log from right before I set host to join AD, then waited until 2:00 to manually restart machine

                                        ---------------------------------------------------------
                                        5/5/2016 1:50 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
                                         5/5/2016 1:50 PM Middleware::Response Success
                                         5/5/2016 1:50 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
                                         5/5/2016 1:50 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
                                        
                                         5/5/2016 1:50 PM Service Creating user agent cache
                                         5/5/2016 1:50 PM Middleware::Response Success
                                         5/5/2016 1:50 PM Middleware::Response No Printers
                                        
                                        ------------------------------------------------------------------------------
                                        ---------------------------------ClientUpdater--------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ----------------------------------TaskReboot----------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------HostnameChanger-------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response Success
                                         5/5/2016 1:50 PM HostnameChanger Checking Hostname
                                         5/5/2016 1:50 PM HostnameChanger Hostname is correct
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ---------------------------------SnapinClient---------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response No snapins
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------PrinterManager--------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response No Printers
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        -----------------------------------GreenFOG-----------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response No actions
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ----------------------------------UserTracker---------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:50 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:50 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:50 PM Client-Info Server Version: 7488
                                         5/5/2016 1:50 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                         5/5/2016 1:50 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                                         5/5/2016 1:50 PM Middleware::Response Success
                                         5/5/2016 1:50 PM Service Sleeping for 66 seconds
                                         5/5/2016 1:51 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
                                         5/5/2016 1:51 PM Middleware::Response Success
                                         5/5/2016 1:51 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
                                         5/5/2016 1:51 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
                                        
                                         5/5/2016 1:51 PM Service Creating user agent cache
                                         5/5/2016 1:51 PM Middleware::Response Success
                                         5/5/2016 1:51 PM Middleware::Response No Printers
                                        
                                        ------------------------------------------------------------------------------
                                        ---------------------------------ClientUpdater--------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:51 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:51 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:51 PM Client-Info Server Version: 7488
                                         5/5/2016 1:51 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ----------------------------------TaskReboot----------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:51 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:51 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:51 PM Client-Info Server Version: 7488
                                         5/5/2016 1:51 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------HostnameChanger-------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 1:51 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 1:51 PM Client-Info Client OS:      Windows
                                         5/5/2016 1:51 PM Client-Info Server Version: 7488
                                         5/5/2016 1:51 PM Middleware::Response Success
                                         5/5/2016 1:51 PM HostnameChanger Checking Hostname
                                         5/5/2016 1:51 PM HostnameChanger Hostname is correct
                                         5/5/2016 1:52 PM HostnameChanger Success, code =  0
                                         5/5/2016 1:52 PM Power Creating shutdown command in 60 seconds
                                         5/5/2016 1:52 PM Bus {
                                          "self": true,
                                          "channel": "Power",
                                          "data": "{\r\n  \"action\": \"request\",\r\n  \"period\": 60,\r\n  \"options\": 2,\r\n  \"command\": \"/r /c \\\"Host joined to Active Directory, restart required\\\" /t 0\",\r\n  \"message\": \"This computer needs to perform maintenance.\"\r\n}"
                                        }
                                         5/5/2016 1:52 PM Bus Emmiting message on channel: Power
                                        ------------------------------------------------------------------------------
                                        
                                         5/5/2016 1:52 PM Service Power operation being requested, checking back in 30 seconds
                                         5/5/2016 1:52 PM Service Power operation being requested, checking back in 30 seconds
                                         5/5/2016 1:53 PM Power Creating shutdown request
                                         5/5/2016 1:53 PM Power Parameters: /r /c "Host joined to Active Directory, restart required" /t 0
                                         5/5/2016 2:00 PM Main Overriding exception handling
                                         5/5/2016 2:00 PM Main Bootstrapping Zazzles
                                         5/5/2016 2:00 PM Controller Initialize
                                         5/5/2016 2:00 PM entry Creating obj
                                         5/5/2016 2:00 PM Controller Start
                                        
                                         5/5/2016 2:00 PM Service Starting service
                                         5/5/2016 2:02 PM Bus Became bus server
                                         5/5/2016 2:02 PM Bus {
                                          "self": true,
                                          "channel": "Status",
                                          "data": "{\r\n  \"action\": \"load\"\r\n}"
                                        }
                                         5/5/2016 2:02 PM Bus Emmiting message on channel: Status
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------Authentication--------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info OS:      Windows
                                         5/5/2016 2:02 PM Middleware::Authentication Waiting for authentication timeout to pass
                                         5/5/2016 2:02 PM Middleware::Communication Download: http://MOSS-FOGSERVER/fog/management/other/ssl/srvpublic.crt
                                         5/5/2016 2:02 PM Data::RSA FOG Server CA cert found
                                         5/5/2016 2:02 PM Middleware::Authentication Cert OK
                                         5/5/2016 2:02 PM Middleware::Communication POST URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                         5/5/2016 2:02 PM Middleware::Response Success
                                         5/5/2016 2:02 PM Middleware::Authentication Authenticated
                                        
                                        
                                         5/5/2016 2:02 PM Bus Registering ParseBus in channel Power
                                         5/5/2016 2:02 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:F1:59:F9||00:00:00:00:00:00:00:E0&newService&json
                                         5/5/2016 2:02 PM Middleware::Response Success
                                         5/5/2016 2:02 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?clientver&newService&json
                                         5/5/2016 2:02 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/service/getversion.php?newService&json
                                        
                                         5/5/2016 2:02 PM Service Creating user agent cache
                                         5/5/2016 2:02 PM Middleware::Response Success
                                         5/5/2016 2:02 PM Middleware::Response No Printers
                                        
                                        ------------------------------------------------------------------------------
                                        ---------------------------------ClientUpdater--------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ----------------------------------TaskReboot----------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------HostnameChanger-------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response Success
                                         5/5/2016 2:02 PM HostnameChanger Checking Hostname
                                         5/5/2016 2:02 PM HostnameChanger Hostname is correct
                                         5/5/2016 2:02 PM HostnameChanger Host is already joined to target domain
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ---------------------------------SnapinClient---------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response No snapins
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------PrinterManager--------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response No Printers
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        -----------------------------------GreenFOG-----------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response No actions
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ----------------------------------UserTracker---------------------------------
                                        ------------------------------------------------------------------------------
                                         5/5/2016 2:02 PM Client-Info Client Version: 0.10.5
                                         5/5/2016 2:02 PM Client-Info Client OS:      Windows
                                         5/5/2016 2:02 PM Client-Info Server Version: 7488
                                         5/5/2016 2:02 PM Middleware::Response Success
                                        ------------------------------------------------------------------------------
                                        
                                         5/5/2016 2:02 PM Middleware::Communication URL: http://MOSS-FOGSERVER/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                                         5/5/2016 2:02 PM Middleware::Response Success
                                         5/5/2016 2:02 PM Service Sleeping for 91 seconds
                                        P 1 Reply Last reply May 5, 2016, 6:25 PM Reply Quote 0
                                        • P
                                          Psycholiquid Testers
                                          last edited by Psycholiquid May 5, 2016, 12:19 PM May 5, 2016, 6:18 PM

                                          @Tom-Elliott perhaps this is the same issue I have where he needs to disable the service until after the sysprep is complete?

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            3/39
                                            Last post

                                          183

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project