• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jayphizzle
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 47
    • Best 5
    • Controversial 0
    • Groups 0

    jayphizzle

    @jayphizzle

    11
    Reputation
    1.0k
    Profile views
    47
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Age 45

    jayphizzle Unfollow Follow

    Best posts made by jayphizzle

    • Endless windows key activation burning OEM keys

      Bug related to https://forums.fogproject.org/topic/6391/endless-windows-key-activation-burning-oem-keys

      @Jbob said:

      v0.9.10 has been released and addresses this issue.

      I updated to v.0.9.11 on a test client today.
      Looking at the log file i found the following lines:

       15.03.2016 11:55 HostnameChanger Checking Product Key Activation
       15.03.2016 11:55 Bus Registering ParseBus in channel Power
       15.03.2016 11:55 Bus Became bus client
       15.03.2016 11:55 Bus Registering OnNotification in channel Notification
       15.03.2016 11:55 Bus Registering OnUpdate in channel Update
       15.03.2016 11:55 HostnameChanger Windows has correct key but is not licensed
       15.03.2016 11:55 WinActivation Installing Product key
       15.03.2016 11:56 Process --> Exit Code = 0
       15.03.2016 11:56 WinActivation Activating Product key
       15.03.2016 11:56 Process --> Exit Code = 0
      

      These steps repeats every few minutes,

      Running slmgr.vbs /dli shows the following status:

      alt text

      Does the following lines in https://github.com/FOGProject/fog-client/blob/master/Modules/HostnameChanger/Windows/WinActivation.cs need to be changed so the german “lizenziert” will be recognized?

       public static bool IsActivated()
              {
                  var info = GetSLMGROutput("/dli");
                  var flattenedInfo = string.Join(" ", info);
      
                  return flattenedInfo.Contains("Licensed");
              }
      

      Suggestion by Quazz:

      @Quazz said:

      Might be safer to have the opposite check (check for unlicensed and only then try to activate rather than check for licensed and try to activate when that doesn’t match) to prevent keys from burning. I think people would prefer their computers not activating because of language issues rather than keys burning.

      posted in Bug Reports
      J
      jayphizzle
    • RE: Endless windows key activation burning OEM keys

      @Quazz said:

      Might be safer to have the opposite check (check for unlicensed and only then try to activate rather than check for licensed and try to activate when that doesn’t match) to prevent keys from burning. I think people would prefer their computers not activating because of language issues rather than keys burning.

      👍

      Can some mod mark the tread as unsolved?
      Or should i open a new thread?

      posted in FOG Problems
      J
      jayphizzle
    • RE: Endless windows key activation burning OEM keys

      @Tom-Elliott said:

      @Jbob I hope this was addressed with the release of 0.9.12, so I’m going to solve the thread for now.

      If this is still a problem please feel free to mark it as unsolved.

      I testet 0.9.12 today. The continuing key activation seems to be fixed.
      But i now have the problem that the activation does not work after reinstalling the system.

      21.03.2016 15:42 HostnameChanger Checking Product Key Activation
      21.03.2016 15:42 HostnameChanger Already activated with correct key
      

      But the host is still in the “30 days trial”

      alt text

      #EDIT#

      Created new thread for new bug.

      posted in Bug Reports
      J
      jayphizzle
    • RE: Migrate Hosts from 1.2 to dev-trunk

      @Sebastian-Roth said:

      The proposed fix is only able to jump in and recognize/modify the values being imported on the fly.

      Ah ok only during the import.
      Why i did not tried this 😒

      I tried it with a few hosts as you recommended - the productkey was successfull decoded from base64 and saved in AES.
      (i did not test ad passwords cause the last hosts where standalone devices)

      Thanks to @Sebastian-Roth and @Tom-Elliott for the quick (bug)fix!

      posted in FOG Problems
      J
      jayphizzle
    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      @csieb could you please post/upload your fog logfile.

      posted in FOG Problems
      J
      jayphizzle

    Latest posts made by jayphizzle

    • RE: High apache2 load

      @Jbob I will try that. Is there a special menu point to reset encryption for all clients? or do i need to create a group will all hosts and select “reset encryption data” in the group settings?

      posted in FOG Problems
      J
      jayphizzle
    • RE: High apache2 load

      @Tom-Elliott can i just do that ?

      I also noticed that the load now (on a friday afternoon) is much lower.
      I guess the load rises with the amount of online/connected clients.

      alt text

      posted in FOG Problems
      J
      jayphizzle
    • High apache2 load

      Hi!

      Currently i’m moving from a old 1.2 fog server to a new 1.3 fog server.
      A few days ago i deployed a snapin on the 1.2 server to replace the old fog client with the new one.
      This is working without issues so far. More and more clients are successfull connected to the new fog server.

      OS: Ubuntu 14.04.4
      fog trunk : 7254
      Clients: ~230
      (170 already moved to the new server)

      What i changed so far:

      • Set Fog Mem Config to 512MB
      • Set MySQL Limit to 200 Connections

      This is the current situation:
      alt text

      Load it is not constant, there are some little drops (for ~5s) from time to time.

      /var/log/apache2/access.log

      ::1 - - [22/Apr/2016:10:00:22 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.20 (Ubuntu) OpenSSL/1.0.2g (internal dummy connection)"
      

      /var/log/apache2/error.log

      [Fri Apr 22 10:02:26.668597 2016] [:error] [pid 7651] [client 10.xx.xx.57:65488] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/html/fog/lib/fog/page.class.php:176) in /var/www/html/fog/lib/fog/page.class.php on line 179, referer: http://10.xx.xx.164/fog/management/index.php?node=home
      [Fri Apr 22 10:02:26.668635 2016] [:error] [pid 7651] [client 10.xx.xx.57:65488] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/html/fog/lib/fog/page.class.php:176) in /var/www/html/fog/lib/fog/page.class.php on line 180, referer: http://10.xx.xx.164/fog/management/index.php?node=home
      [Fri Apr 22 10:02:31.709296 2016] [:error] [pid 7584] [client 10.xx.xx.57:65525] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/html/fog/lib/fog/page.class.php:176) in /var/www/html/fog/lib/fog/page.class.php on line 179, referer: http://10.xx.xx.164/fog/management/index.php?node=about
      [Fri Apr 22 10:02:31.709320 2016] [:error] [pid 7584] [client 10.xx.xx.57:65525] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/html/fog/lib/fog/page.class.php:176) in /var/www/html/fog/lib/fog/page.class.php on line 180, referer: http://10.xx.xx.164/fog/management/index.php?node=about
      

      /var/log/apache2/other_vhosts_access.log

      10.xx.xx.164:80 10.xx.xx.74 - - [22/Apr/2016:10:03:58 +0200] "GET /fog/service/servicemodule-active.php?moduleid=clientupdater&mac=78:45:C4:08:DD:E7%7C%7C00:00:00:00:00:00:00:E0&newService=1 HTTP/1.1" 200 358 "-" "-"
      10.xx.xx.164:80 10.xx.xx.74 - - [22/Apr/2016:10:03:58 +0200] "GET /fog/service/getversion.php?client&newService=1 HTTP/1.1" 200 359 "-" "-"
      10.xx.xx.164:80 10.xx.xx.74 - - [22/Apr/2016:10:03:58 +0200] "GET /fog/service/servicemodule-active.php?moduleid=taskreboot&mac=78:xx:xx:xx:xx:xx%7C%7C00:00:00:00:00:00:00:E0&newService=1 HTTP/1.1" 200 358 "-" "-"
      

      Is there anything i can adjust to reduce the load?

      posted in FOG Problems
      J
      jayphizzle
    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      @csieb could you please post/upload your fog logfile.

      posted in FOG Problems
      J
      jayphizzle
    • RE: Uninstall FOG-Client (Service) after deploying with Snapin?

      Did you only “add” the snapin or do you also deployed it to the client(s) ?
      (for v1.2: <Host> -> Basic Tasks -> Advanced -> Single Snapin)

      posted in FOG Problems
      J
      jayphizzle
    • RE: Endless windows key activation burning OEM keys

      @Tom-Elliott Thanks for the information. I will try to get some more informations about the slic activation process .

      Until now i had no issues using the key from the sticker on the hardware or the one saved in the bios.
      So i wonder why this is not working with 0.9.12 anymore.

      posted in Bug Reports
      J
      jayphizzle
    • RE: Endless windows key activation burning OEM keys

      Hi!

      We use OEM Keys (which were shipped with the hosts).
      So every host as a different key in the fog db.
      And the sysprep’ed imaged was created without a key.

      in fog 1.2 the windows activation via fog works flawless.

      posted in Bug Reports
      J
      jayphizzle
    • RE: RegistryHandler ERROR

      @Tom-Elliott said:

      Is this simply having the FOG Client installed, or is this after imaging?

      If this is immediately after imaging, is this image sysprepped? If it is sysprepped, are you able to rebuild the image but with the FOG Service Disabled (enabled after the system is done running the setupcomplete.cmd)?

      • Image sysprepped
      • FOG Client not part of the image
      • Latest FOG Client will be installed during first boot (<FirstLogonCommands> in unattend.xml)
      posted in Bug Reports
      J
      jayphizzle
    • RE: Endless windows key activation burning OEM keys

      @Sebastian-Roth said:

      @jayphizzle Probably best if you post this new issue as new topic so people reading this don’t get confused. Helps a lot I reckon.

      Sure no problem

      posted in Bug Reports
      J
      jayphizzle
    • RegistryHandler ERROR

      Hi!

      there seems to be a bug in the new client v0.9.1.2:
      The german error message says "Cannot create a stable subkey under a volatile parent key. "
      Host was added to the AD succesfull.

       21.03.2016 15:38 Client-Info Version: 0.9.12
       21.03.2016 15:38 HostnameChanger Running...
       21.03.2016 15:38 Middleware::Communication URL: http://10.xx.0.xx/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=78:XX:XX:XX:XX:92||00:00:00:00:00:00:00:E0&newService=1
       21.03.2016 15:38 Middleware::Communication Response: Success
       21.03.2016 15:38 Middleware::Communication URL: http://10.xx.0.xx/fog/service/hostname.php?moduleid=hostnamechanger&mac=78:45:C4:08:DC:92||00:00:00:00:00:00:00:E0&newService=1
       21.03.2016 15:38 Middleware::Communication Response: Success
       21.03.2016 15:38 HostnameChanger Checking Hostname
       21.03.2016 15:38 HostnameChanger Renaming host to XXXXXXX
       21.03.2016 15:38 HostnameChanger Unregistering computer
       21.03.2016 15:38 HostnameChanger Removing host from active directory
       21.03.2016 15:38 HostnameChanger The machine is not currently joined to a domain, code =  2692
       21.03.2016 15:38 HostnameChanger Updating registry
       21.03.2016 15:38 RegistryHandler ERROR: Could not set SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName
       21.03.2016 15:38 RegistryHandler ERROR: Ein dauerhafter Unterschlüssel kann nicht unter einem temporären übergeordneten Schlüssel erstellt werden.
      
       21.03.2016 15:38 Power Creating shutdown command in 60 seconds
       21.03.2016 15:38 Bus {
        "channel": "Power",
        "data": "{\r\n  \"action\": \"request\",\r\n  \"period\": 60,\r\n  \"options\": 2,\r\n  \"command\": \"/r /c \\\"FOG needs to rename your computer\\\" /t 0\",\r\n  \"message\": \"This computer needs to perform maintenance.\"\r\n}"
      }
       21.03.2016 15:38 Bus Emmiting message on channel: Power
      ------------------------------------------------------------------------------
      
       21.03.2016 15:38 Service Power operation being requested, checking back in 30 seconds
       21.03.2016 15:38 Service Power operation being requested, checking back in 30 seconds
       21.03.2016 15:39 Service Power operation being requested, checking back in 30 seconds
       21.03.2016 15:39 Power Creating shutdown request
       21.03.2016 15:39 Power Parameters: /r /c "FOG needs to rename your computer" /t 0
       21.03.2016 15:39 Bus {
        "channel": "Power",
        "data": "{\r\n  \"action\": \"shuttingdown\"\r\n}"
      }
       21.03.2016 15:39 Bus Emmiting message on channel: Power
       21.03.2016 15:40 Bus Became bus server
       21.03.2016 15:40 Bus {
        "channel": "Status",
        "data": "{\r\n  \"action\": \"load\"\r\n}"
      }
       21.03.2016 15:40 Bus Emmiting message on channel: Status
      

      Furthermoore i have some lines likes this in my logfile.
      I guess this should not be the the correct look ?

       21.03.2016 15:38 Bus Became bus server
       21.03.2016 15:38 Bus {
        "channel": "Status",
        "data": "{\r\n  \"action\": \"load\"\r\n}"
      }
       21.03.2016 15:38 Bus Emmiting message on channel: Status
      
      posted in Bug Reports
      J
      jayphizzle