• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Greg Plamondon
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 74
    • Posts 394
    • Best 14
    • Controversial 0
    • Groups 1

    Posts made by Greg Plamondon

    • Fog 1.5.2 Host module settings don't save

      I am having an issue with the host module settings not saving.
      Here is a VIDEO of the problem.

      Thanks!

      posted in Bug Reports
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @george1421 said in 503 Service Unavailable Error:

      @greg-plamondon Ok then you are using/still have my config in place. That is fine, change the line from 500 to 2000, save and restart both services. Hopefully the 500 value did address your memory exhaustion issue. This value is commented out in the FOG installed version.

      Just make sure you don’t have two configuration files in the directory www.conf and fog.conf, you should be OK.

      That worked, I didn’t get the 503 error that time when imaging a PC!
      Thanks! I will submit a new ticket for my other issues…

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @george1421 said in 503 Service Unavailable Error:

      /etc/php-fpm.d/www.conf

      I dont have a /etc/php-fpm.d/www.conf
      The only file in the php-fpm.d directory is fog.conf

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @tom-elliott said in 503 Service Unavailable Error:

      @greg-plamondon Can you grab a video or pic of the error as it’s trying to get into a deploy task?
      Sure thing:
      alt text

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @tom-elliott said in 503 Service Unavailable Error:

      @greg-plamondon You said your 503 stuff went away after following the guide? Is this true, or the 503 returned?

      it went away for the most part, now I only get it when deploying an image.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @george1421 said in 503 Service Unavailable Error:

      /var/log/php-fpm/www-error.log

      There are no new entries in /var/log/php-fpm/www-error.log

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      ok, I thought it was fixed for me but I still get the 503 when doploying an image.
      If i refresh and look in tasks the task was created.

      here is my httpd error.log

      [Wed Apr 11 15:44:33.208616 2018] [proxy_fcgi:error] [pid 31003:tid 140654097147648] (70007)The timeout specified has expired: [client 192.168.10.170:50376] AH01075: Error dispatching request to :, referer: http://10fogserver.mtstrans.com/fog/management/index.php?node=host&sub=deploy&id=698&type=1
      

      I dont want to Hijack @Troye-Johnson thread… Should a create a new one?

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @george1421 said in 503 Service Unavailable Error:

      @george1421 said in 503 Service Unavailable Error:
      For those with the error can you review this log file to see if it gives us any clue to why /var/log/php-fpm/www-error.log

      Its great we have php-fpm running, it does make quite a difference, but we need to understand why. I can’t seem to make it fail on my side, but I only have a handful of systems on my dev box.

      this is my log:

      [11-Apr-2018 14:53:04 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35258 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 14:53:14 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35258 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 14:53:27 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35258 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 15:30:55 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 15:33:22 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:00:49 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:08:10 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:13:25 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:13:46 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:14:03 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:14:28 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:14:31 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:16:21 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:17:13 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:17:30 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:17:51 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:21:05 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:21:28 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:22:15 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:24:21 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:24:57 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:25:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:25:45 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 16:26:28 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:44:16 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:44:39 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:44:54 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:45:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:46:00 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:46:58 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:47:54 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:48:13 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:48:23 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:48:52 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:49:06 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      [11-Apr-2018 17:49:30 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260
      
      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @wayne-workman Yes, as we have more than one.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @george1421
      I followed your FPM/FastCGI howto you linked and the problem seems to be gone and considerably faster now.
      Thanks!

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      @george1421 I am running Centos 7.4 x64

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      I found this in the apache logs when it happens.

      [Wed Apr 11 13:52:45.028047 2018] [proxy_fcgi:error] [pid 2841] (70007)The timeout specified has expired: [client 10.10.150.73:62324] AH01075: Error dispatching request to :, referer: http://10fogserver/fog/management/index.php?node=host&sub=deploy&id=160&type=1
      
      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: 503 Service Unavailable Error

      I am getting this as well… its hit and miss. If I refresh the page the web interface comes back.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Snapin Hash

      You can mark this as solved.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Snapin Hash

      @wayne-workman

      I figured it out!
      I took a look at the snapinGroupAssoc table and notice that there were some very odd numbers in the sgaStorageID column varying from 1, 4 and even 22.
      I then ran this query to empty the entire snapinGroupAssoc table:

      SET FOREIGN_KEY_CHECKS = 0;
      TRUNCATE snapinGroupAssoc;
      

      I then clicked on the “List All Snapins” from the web interface and the snapinGroupAssoc table was repopulated with the Default storage ID for all Snapins, from there I went to each Snapin and assigned the second storage group and the checkmark for primary works!

      the snapin hash service wasn’t working for the majority of my snapins because the storage group didn’t match any of my actual storage ID’s in the database.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Snapin Hash

      @wayne-workman
      I only have 2 storage groups.
      I looked this morning and the snapin hash was still empty on the majority of the snapins.
      the one thing I did notice is that the permissions were set to fog:apache on the snapins without hashes and when I upload a snapin through the web interface the permissions are fog:fog.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Snapin Hash

      @tom-elliott

      ==> fogsnapinhash.log <==
      [03-15-18 4:48:28 pm]  * Trying Snapin hash for: Synergize Client v13.1, ID: 116
      [03-15-18 4:48:28 pm]  * Getting snapin hash and size for: Synergize Client v13.1.
      [03-15-18 4:48:28 pm]  | Hash: 46ddfd39e74b31fc97f78ce17c6208a5619884e2b75d2c10a53ab5ae842a1fb634230126de53cf11d1305dab04fdcca95c5b50886d453c2fc5f33c46740feb26
      [03-15-18 4:48:28 pm]  * Trying Snapin hash for: Synergize Indexing v13.1, ID: 115
      [03-15-18 4:48:28 pm]  * Getting snapin hash and size for: Synergize Indexing v13.1.
      [03-15-18 4:48:29 pm]  | Hash: 1749c4c8bd5dc664796a0c56305ee2204a26bbc1166e7c263ec51a8f02b70f4a253803f4af141d2da5d4462b3aa599ff88d062fa3313aadf06ae58255b5b0c4f
      [03-15-18 4:48:29 pm]  * Trying Snapin hash for: UAG Components, ID: 56
      [03-15-18 4:48:29 pm]  * Getting snapin hash and size for: UAG Components.
      [03-15-18 4:48:29 pm]  | Hash: d78f69a8ebe78a44e338fb53c6bb287577e24895ded8d233559c74c3c5b063af1cae5fdb2e8637053a4e201da87e16347fa735e11d258788351956b7d9c6db83
      [03-15-18 4:48:29 pm]  * Completed.
      [root@10fogserver fog]#
      

      It says completed but there are allot more snapins that need hashes.
      I did notice that when setting the primary storage group for a snapin it doesn’t stay checked.
      Also when adding or making changes to snapin groups it doesn’t refresh the screen. you have to do it manually by pressing F5 or the browser refresh button.

      Video

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Snapin Hash

      How long should this take? I see a few hashes in the database but there are allot that is still null.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Snapin Hash

      @wayne-workman
      Thanks I will truncate the snapins.sHash table.

      UPDATE snapins SET sHash=NULL;
      
      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • Snapin Hash

      I recently migrated my fog installation to a new server and I am getting allot of snapin hash doesn’t match.
      Is there a way to get the hash to match through the shell? Currently, I have been just re-importing them one by one through the GUI.

      Thanks!

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • 1 / 1