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

    Greg Plamondon

    @Greg Plamondon

    Testers

    18
    Reputation
    2.4k
    Profile views
    393
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Website www.mtstrans.com Location Byron Center, MI Age 54

    Greg Plamondon Unfollow Follow
    Testers

    Best posts made by Greg Plamondon

    • RE: Replication problem with working-RC-11

      @mp12 I noticed your topic is marked as solved when its not really solved you are just using a work around.

      posted in Bug Reports
      Greg PlamondonG
      Greg Plamondon
    • RE: Trunk 5735 PC doesnt restart after joining the domain.

      @Joe-Schmitt said in Trunk 5735 PC doesnt restart after joining the domain.:

      This issue has been addressed in v0.11.2. Please test when you get a chance.

      The Update worked for me Joe, Thanks!

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: MonitorFogStorage.sh Community Script

      @wayne-workman
      That Worked!

      [root@10fogserver MonitorFogStorageNodes]# git log -1
      commit bb920e4367b5076ac2bb7bb70575ec4b647d5aee
      Author: wayneworkman <13314799+wayneworkman@users.noreply.github.com>
      Date:   Wed Feb 21 13:53:10 2018 -0600
      
          Fix spacing in evaluations
      [root@10fogserver MonitorFogStorageNodes]# ./MonitorNodes.sh
      [root@10fogserver MonitorFogStorageNodes]#
      

      Thanks @Wayne-Workman

      posted in Linux Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: client server token issues.

      @sebastian-roth I don’t know how that happened but I copied the srvpublic.crt from a backup and it is fixed.

      Thanks for all the help

      posted in Bug Reports
      Greg PlamondonG
      Greg Plamondon
    • Snapins dont deploy from Storage Nodes. Hash Mismatch

      I am trying to deploy snapins from our Storage nodes and I am getting an error in the fog.log.

      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       7/21/2016 1:40 PM Client-Info Client Version: 0.11.4
       7/21/2016 1:40 PM Client-Info Client OS:      Windows
       7/21/2016 1:40 PM Client-Info Server Version: 1.3.0-RC-1
       7/21/2016 1:40 PM Middleware::Response Success
       7/21/2016 1:40 PM SnapinClient Snapin Found:
       7/21/2016 1:40 PM SnapinClient     ID: 378
       7/21/2016 1:40 PM SnapinClient     Name: 01 - TeamViewer
       7/21/2016 1:40 PM SnapinClient     Created: 2016-07-21 13:39:35
       7/21/2016 1:40 PM SnapinClient     Action:
       7/21/2016 1:40 PM SnapinClient     Pack: False
       7/21/2016 1:40 PM SnapinClient     Hide: False
       7/21/2016 1:40 PM SnapinClient     Server: http://192.168.18.39/fog
       7/21/2016 1:40 PM SnapinClient     TimeOut: 0
       7/21/2016 1:40 PM SnapinClient     RunWith: cmd.exe
       7/21/2016 1:40 PM SnapinClient     RunWithArgs: /c
       7/21/2016 1:40 PM SnapinClient     Args:
       7/21/2016 1:40 PM SnapinClient     File: TeamViewer-AllSites.sfx.exe
       7/21/2016 1:40 PM Middleware::Communication Download: http://192.168.18.39/fog/service/snapins.file.php?mac=C0:3F:D5:9C:6C:36||00:00:00:00:00:00:00:E0&taskid=378
       7/21/2016 1:40 PM SnapinClient C:\Program Files (x86)\FOG\tmp\TeamViewer-AllSites.sfx.exe
       7/21/2016 1:40 PM SnapinClient ERROR: Hash does not match
       7/21/2016 1:40 PM SnapinClient ERROR: --> Ideal: 9B87981143F24BF592603402DE7D6F5E8B6BDCC97F37328C8474DB95635C07CAF792B8ECCE422A6235AE3F130E717417B902059580C62314E4026BBEC9889E4B
       7/21/2016 1:40 PM SnapinClient ERROR: --> Actual: 7FF6B7E4378EC39EFFC8A042F445AA6618E765B6F39C8BC53FA5F1E3A5924129F239A6CA0FD7C0350D63C808EFB2FD3E18D48EE6A151C75CCA4C3D1E0B6A2A23
       7/21/2016 1:40 PM Middleware::Communication URL: http://10fogserver/fog/service/snapins.checkin.php?taskid=378&exitcode=-1&mac=C0:3F:D5:9C:6C:36||00:00:00:00:00:00:00:E0&newService&json
      ------------------------------------------------------------------------------
      

      Although: http://18fogserver/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/TeamViewer-AllSites.sfx.exe Returns

      9b87981143f24bf592603402de7d6f5e8b6bdcc97f37328c8474db95635c07caf792b8ecce422a6235ae3f130e717417b902059580c62314e4026bbec9889e4b|10239200
      

      Remote Node

      [root@18fogserver snapins]# sha512sum TeamViewer-AllSites.sfx.exe
      9b87981143f24bf592603402de7d6f5e8b6bdcc97f37328c8474db95635c07caf792b8ecce422a6235ae3f130e717417b902059580c62314e4026bbec9889e4b  TeamViewer-AllSites.sfx.exe
      
      

      Our Main Fogserver

      root@10fogserver:/opt/fog/snapins $ sha512sum TeamViewer-AllSites.sfx.exe
      9b87981143f24bf592603402de7d6f5e8b6bdcc97f37328c8474db95635c07caf792b8ecce422a6235ae3f130e717417b902059580c62314e4026bbec9889e4b  TeamViewer-AllSites.sfx.exe
      

      Thanks Tom for helping me troubleshoot this.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • Using Conspy to View remote PC imaging progress

      Here is a Video showing an example.

      I prefer Centos so my instructions are based on Centos.

      # yum update && yum install conspy
      

      Follow the instructions here to modify the Init Image:
      Modifying the Init Image

      Once you have the init image extracted and mounted, add your ssh key.

      cd /var/www/{html,}/fog/service/ipxe/initmountdir
      cd root
      mkdir .ssh
      /bin/echo "==yoursshkeystringgoesbetweenthequotes==" >> .ssh/authorized_keys
      

      copy Conspy to the image:

      cp /usr/bin/conspy /var/www/{html,}/fog/service/ipxe/initmountdir/bin
      cp /usr/lib64/libncurses.so.x /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
      cp /usr/lib64/libncurses.so.x.x /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
      cp /usr/lib64/libncursesw.so.x /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
      cp /usr/lib64/libncursesw.so.x.x /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
      cp /usr/lib64/libtinfo.so.x /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
      cp /usr/lib64/libtinfo.so.x.x /var/www/{html,}/fog/service/ipxe/initmountdir/lib64
      

      replace x in libncurses++.so.x with the version of libcurses you have installed.
      Follow the instruction on how to recompress the image and you’re done.

      ssh to the PC and login as root.
      run the conspy command to view the progress.

      posted in Tutorials
      Greg PlamondonG
      Greg Plamondon
    • RE: shell script to sync folder to storage node.

      @Wayne-Workman contents of /tmp/whoami.txt is “root”

      posted in Linux 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
    • Conspy Install Script

      Re: Using Conspy to View remote PC imaging progress

      Here is the script I use to install conspy on the fogserver/storage nodes.

      yum install conspy -y
      echo -e '#(>)##### UnPacking Init.xz #####'
      cd /var/www/fog/service/ipxe/
      xz -d init.xz
      mkdir initmountdir
      
      echo -e '#(>)##### Mounting Init #####'
      
      mount -o loop init initmountdir
      cd /var/www/fog/service/ipxe/initmountdir
      rm -f root/.ssh/authorized_keys
      #### Install SSH Keys
      echo -e '#(>)##### Installing SSH Keys #####'
      
      needreload=0
      if [ ! -d root/.ssh ]; then
          echo -e '#(->)Creating SSH File'
      
          # Create the autorized keys and add the keys
          mkdir root/.ssh
          touch root/.ssh/authorized_keys
          # ssh Keys
      
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy11111111' >> root/.ssh/authorized_keys
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy22222222' >> root/.ssh/authorized_keys
      else
          if [ ! -f root/.ssh/authorized_keys ]; then
              echo -e '#(->)Creating new SSH File'
      
          # Add all the keys
          touch root/.ssh/authorized_keys
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy11111111' >> root/.ssh/authorized_keys
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy22222222' >> root/.ssh/authorized_keys
          fi
      fi
      
      echo -e '#(>)##### Coping ConSpy #####'
      
      rsync -avh --progress /usr/bin/conspy /var/www/fog/service/ipxe/initmountdir/bin
      rsync -avh --progress /usr/lib64/libncurses.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libncurses.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libncursesw.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libncursesw.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libtinfo.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libtinfo.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
      
      echo -e '#(>)##### Coping Nano #####'
      rsync -avh --progress /usr/bin/nano /var/www/fog/service/ipxe/initmountdir/bin
      
      echo -e '#(>)##### Re-Packing Init.xz #####'
      
      cd /var/www/fog/service/ipxe/
      umount initmountdir
      rmdir initmountdir
      xz -C crc32 -9 init
      chown fogproject:apache init.xz
      
      #ls -al
      echo -e '#(-)##### Completed #####'
      cd /root
      
      posted in Tutorials
      Greg PlamondonG
      Greg Plamondon
    • RE: Access Control Plugin

      @Sebastian-Roth Thank you!

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon

    Latest posts made by Greg Plamondon

    • RE: Fogservice is transferring a lot of network data

      @Midview-Tech
      I Like being able to deploy software to the remote clients from time to time so disabling the fogservice isn’t an option for us.
      What we did is change the “CLIENT CHECKIN TIME” under fog settings in the console so it doesn’t check in so often.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • fog replication stops

      I am seeing the following:
      alt text

      When this happens I need to restart:
      FOGImageSize
      FOGImageReplicator
      FOGPingHosts
      FOGMulticastManager
      FOGSnapinHash
      FOGSnapinReplicator

      in order for things to start replicating again.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • Log Viewer Permissions issue.

      Ubuntu 20.04.4 LTS
      I am getting the following error message in the GUI when trying to view the apache error log.

      Unable to open file for reading
      

      here is the /var/log/apache2/error.log

      [Tue Aug 09 13:12:08.387251 2022] [proxy_fcgi:error] [pid 2159911] [client 192.168.10.238:34466] AH01071: Got error 'PHP message: PHP Warning:  fopen(/var/log/apache2/error.log): failed to open stream: Permission denied in /var/www/fog/status/logtoview.php on line 86'
      
      
      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: mysql query for user tracking

      @george1421
      I need to know what PC a user has logged into.
      you can find it in the GUI under Reports > User Tracking

      from there you can type a users login ID ito the field and search it will list what PC the user has logged into.

      posted in General Problems
      Greg PlamondonG
      Greg Plamondon
    • mysql query for user tracking

      Can anyone help me with a Mysql query to track users?
      I would like to search by username.

      The reason I am asking is the user tracking function is giving me fits, we have a very large database.

      Thanks.

      posted in General Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Ubuntu 18.04 LTS - Install Fails

      @george1421
      Thanks, I did manage to get fog installed, turns out that I was using the TFTP password and not the MySQL Password, it was a long day and I am glad it’s Friday!

      What other tweaks do you have for me?

      Thanks!

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Disable USB support in iPXE?

      @markg said in Disable USB support in iPXE?:

      FOG.

      Do you have Secure boot disabled in BIOS?

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Ubuntu 18.04 LTS - Install Fails

      @george1421 said in Ubuntu 18.04 LTS - Install Fails:

      ng not intel.

      I am installing it on an Raspberry Pi4

      *** Sorry forgot the log

      fog_error_1.5.9.log

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • Ubuntu 18.04 LTS - Install Fails

      I am trying to install a fog v1.5.9 on Ubuntu 18.04.02 LTS and its failing.

       * Setting up fogproject user..................................Skipped
       * Locking fogproject as a system account......................OK
       * Setting up fogproject password..............................OK
       * Checking connection to master database......................Failed!
      
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !! The installer was not able to run all the way to the end as   !!
      !! something has caused it to fail. The following few lines are  !!
      !! from the error log file which might help us figure out what's !!
      !! wrong. Please add this information when reporting an error.   !!
      !! As well you might want to take a look at the full error log   !!
      !! in /root/fogproject-1.5.9/bin/error_logs/fog_error_1.5.9.log !!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      
      ii  vsftpd         3.0.3-9build1 arm64        lightweight, efficient FTP server written for security
      ii  wget           1.19.4-1ubuntu2.2 arm64        retrieves files from the web
      ii  xinetd         1:2.3.15.3-1 arm64        replacement for inetd with many enhancements
      ii  zlib1g:arm64   1:1.2.11.dfsg-0ubuntu2 arm64        compression library - runtime
      Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
      root@FOGPI-DEV:~/fogproject-1.5.9/bin#
      
      

      Does anyone have a fix for this?
      Thanks.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • Fog Client not auto registering hosts

      Fog Server 1.59
      Fog Client V 0.12.0

      
       2/10/2022 11:05:03 AM Service Sleeping for 70 seconds
       2/10/2022 11:06:13 AM Middleware::Communication URL: http://10fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       2/10/2022 11:06:13 AM Middleware::Response Success
       2/10/2022 11:06:13 AM Middleware::Communication URL: http://10fogserver/fog/management/index.php?sub=requestClientInfo&mac=00:09:0F:FE:00:01|00:09:0F:AA:00:01|BC:E9:2F:DE:40:8B|C8:58:C0:F4:AC:55|CA:58:C0:F4:AC:54|C8:58:C0:F4:AC:54|C8:58:C0:F4:AC:58&newService&json
       2/10/2022 11:06:13 AM Middleware::Response Invalid host
       2/10/2022 11:06:13 AM Middleware::Communication URL: http://10fogserver/fog/service/getversion.php?clientver&newService&json
       2/10/2022 11:06:13 AM Middleware::Communication URL: http://10fogserver/fog/service/getversion.php?newService&json
      
       2/10/2022 11:06:13 AM Service Creating user agent cache
       2/10/2022 11:06:13 AM Middleware::Response Module is disabled globally on the FOG server
       2/10/2022 11:06:13 AM Middleware::Response Module is disabled globally on the FOG server
       2/10/2022 11:06:13 AM Middleware::Response Module is disabled globally on the FOG server
      

      Long story short, I migrated to a new server and lost access to the old server cert files so now the clients do not authenticate to the new server.
      I have a script that uninstalls the old client and reinstalls the new 0.12.0 client but it doesn’t want to register the clients in fog.
      I don’t see pending hosts in the GUI.

      I do have FOG_CLIENT_HOSTREGISTER_ENABLED set to 1
      Any help would be greatly appreciated.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon