• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. turtledillpickle
    T
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    turtledillpickle

    @turtledillpickle

    0
    Reputation
    1
    Profile views
    6
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    turtledillpickle Unfollow Follow

    Latest posts made by turtledillpickle

    • RE: 1.5.0 RC9 - Scheduled tasks view "disables" the web UI

      I know this is quite an old topic, but we ran across this on the latest version of fog and I wanted to share my solution.

      What ended up working for me was to get into the database console with mysql -u root

      I then selected the fog database use fog;

      Then I listed out the tasks SELECT * FROM scheduledTasks;

      In my case the most recent record had an stID of 13, so I dropped that row, which fixed the issue DELETE FROM scheduledTasks where stID = 13;. After that the scheduled tasks menu loads fine.

      posted in Bug Reports
      T
      turtledillpickle
    • RE: Fog Client "Middleware::Response Private key path not found"

      I was able to resolve this by removing my prepopulated /opt/fog/.fogsettings file and going through the prompts from the installer. I suspect the line causing my issues was caCreated='yes'. I had copied this over from another installation.

      posted in FOG Problems
      T
      turtledillpickle
    • RE: Fog Client "Middleware::Response Private key path not found"

      @tom-elliott After approving the MAC address, the logs on the client seem to be complaining about something else now

      12/1/2022 11:42:24 AM Middleware::Response Private key path not found
       12/1/2022 11:42:24 AM Middleware::Response Success
       12/1/2022 11:42:24 AM Middleware::Communication URL: http://172.16.3.10/fog/service/getversion.php?clientver&newService&json
       12/1/2022 11:42:25 AM Middleware::Communication URL: http://172.16.3.10/fog/service/getversion.php?newService&json
      
       12/1/2022 11:42:25 AM Service Creating user agent cache
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       12/1/2022 11:42:25 AM Client-Info Client Version: 0.12.0
       12/1/2022 11:42:25 AM Client-Info Client OS:      Windows
       12/1/2022 11:42:25 AM Client-Info Server Version: 1.5.9
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Unable to get subsection
       12/1/2022 11:42:25 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
       12/1/2022 11:42:25 AM Service Sleeping for 143 seconds
      
      
      posted in FOG Problems
      T
      turtledillpickle
    • RE: Fog Client "Middleware::Response Private key path not found"

      @tom-elliott I’ve seen that button for other hosts before, but dont see it on this one for some reason. I did have a pending MAC address that I just approved, but that didnt seem to make any difference fb8a16bb-de08-45e6-aad5-d3b3613ee26f-image.png

      posted in FOG Problems
      T
      turtledillpickle
    • Fog Client "Middleware::Response Private key path not found"

      I’m trying to register some Windows 10 hosts so that I can power them off with Fog (server runs Ubuntu 20.04), but I seem to be getting a cert related error in the client’s logs. I have tried the following solutions I saw in other posts with no luck:

      • changing the permissions of /opt/fog/snapins/ssl to 777 (its already owned by fogproject:ww-data)
      • reinstalling the client
      • wiping and reinstalling the fog server
      • checking the ssl path for the node, this is set to /opt/fog/snapins/ssl, if I check on the filesystem that is a valid path, with the following files/permissions:
      drwxrwxrwx 3 fogproject www-data 4096 Nov 30 17:02 ../
      drwxrwxrwx 2 fogproject www-data 4096 Nov 30 17:02 CA/
      -rwxrwxrwx 1 fogproject www-data   85 Dec  1 10:56 ca.cnf*
      -rwxrwxrwx 1 fogproject www-data 1647 Dec  1 10:56 fog.csr*
      -rwxrwxrwx 1 fogproject www-data  215 Dec  1 10:56 req.cnf*
      -rwxrwxrwx 1 fogproject www-data 3243 Dec  1 10:56 .srvprivate.key*```
      
      
      Is there anything else I am missing?
      Here is a snippet from the client logs: 
      
      

      12/1/2022 10:58:57 AM Middleware::Response Private key path not found


      --------------------------------Authentication--------------------------------

      12/1/2022 10:58:57 AM Client-Info Version: 0.12.0
      12/1/2022 10:58:57 AM Client-Info OS: Windows
      12/1/2022 10:58:57 AM Middleware::Authentication Waiting for authentication timeout to pass
      12/1/2022 11:00:56 AM Middleware::Communication Download: http://172.16.3.10/fog/management/other/ssl/srvpublic.crt
      12/1/2022 11:00:56 AM Data::RSA FOG Server CA cert found
      12/1/2022 11:00:56 AM Middleware::Authentication Cert OK
      12/1/2022 11:00:56 AM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      12/1/2022 11:00:56 AM Middleware::Authentication ERROR: Could not get security token
      12/1/2022 11:00:56 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
      12/1/2022 11:00:56 AM Middleware::Communication POST URL: http://172.16.3.10/fog/management/index.php?sub=requestClientInfo&authorize&newService
      12/1/2022 11:00:57 AM Middleware::Response Private key path not found


      --------------------------------Authentication--------------------------------

      12/1/2022 11:00:57 AM Client-Info Version: 0.12.0
      12/1/2022 11:00:57 AM Client-Info OS: Windows
      12/1/2022 11:00:57 AM Middleware::Authentication Waiting for authentication timeout to pass
      12/1/2022 11:02:56 AM Middleware::Communication Download: http://172.16.3.10/fog/management/other/ssl/srvpublic.crt
      12/1/2022 11:02:56 AM Data::RSA FOG Server CA cert found
      12/1/2022 11:02:56 AM Middleware::Authentication Cert OK
      12/1/2022 11:02:56 AM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      12/1/2022 11:02:56 AM Middleware::Authentication ERROR: Could not get security token
      12/1/2022 11:02:56 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
      12/1/2022 11:02:56 AM Middleware::Communication POST URL: http://172.16.3.10/fog/management/index.php?sub=requestClientInfo&authorize&newService
      12/1/2022 11:02:56 AM Middleware::Response Private key path not found


      --------------------------------Authentication--------------------------------

      12/1/2022 11:02:56 AM Client-Info Version: 0.12.0
      12/1/2022 11:02:56 AM Client-Info OS: Windows
      12/1/2022 11:02:56 AM Middleware::Authentication Waiting for authentication timeout to pass
      12/1/2022 11:04:56 AM Middleware::Communication Download: http://172.16.3.10/fog/management/other/ssl/srvpublic.crt
      12/1/2022 11:04:56 AM Data::RSA FOG Server CA cert found
      12/1/2022 11:04:56 AM Middleware::Authentication Cert OK
      12/1/2022 11:04:56 AM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      12/1/2022 11:04:56 AM Middleware::Authentication ERROR: Could not get security token
      12/1/2022 11:04:56 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
      12/1/2022 11:04:56 AM Middleware::Communication POST URL: http://172.16.3.10/fog/management/index.php?sub=requestClientInfo&authorize&newService
      12/1/2022 11:04:57 AM Middleware::Response Private key path not found


      --------------------------------Authentication--------------------------------

      12/1/2022 11:04:57 AM Client-Info Version: 0.12.0
      12/1/2022 11:04:57 AM Client-Info OS: Windows
      12/1/2022 11:04:57 AM Middleware::Authentication Waiting for authentication timeout to pass
      12/1/2022 11:06:56 AM Middleware::Communication Download: http://172.16.3.10/fog/management/other/ssl/srvpublic.crt
      12/1/2022 11:06:56 AM Data::RSA FOG Server CA cert found
      12/1/2022 11:06:56 AM Middleware::Authentication Cert OK
      12/1/2022 11:06:56 AM Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      12/1/2022 11:06:56 AM Middleware::Authentication ERROR: Could not get security token
      12/1/2022 11:06:56 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
      12/1/2022 11:06:56 AM Middleware::Communication POST URL: http://172.16.3.10/fog/management/index.php?sub=requestClientInfo&authorize&newService
      12/1/2022 11:06:57 AM Middleware::Response Private key path not found

      12/1/2022 11:06:57 AM Middleware::Communication URL: http://172.16.3.10/fog/management/index.php?sub=requestClientInfo&configure&newService&json
      12/1/2022 11:06:57 AM Middleware::Response Success
      12/1/2022 11:06:57 AM Middleware::Communication URL: http://172.16.3.10/fog/management/index.php?sub=requestClientInfo&mac=00:0C:29:97:B7:59|DC:41:A9:FA:1C:33&newService&json
      12/1/2022 11:06:57 AM Middleware::Authentication Waiting for authentication timeout to pass

      posted in FOG Problems
      T
      turtledillpickle
    • TFTP Breaks with UFW Enabled on Ubuntu 20.04

      I am setting up a Fog server and got everything working as it should. However, when I enable UFW I am not able to transfer the image over TFTP. I have a rule allowing port 69, and the connection is able to initiate. It appears then that the file transfer gets done over a higher numbered port, and UFW blocks that. My understanding is that UFW should allow an already established connection like this to happen. I tried enabling the nf_conntrack and nf_conntrack_tftp kernel modules, and adding these 2 lines to /etc/ufw/before.rules

      -A ufw-before-input -p udp -m state --state ESTABLISHED,RELATED -j ACCEPT
      -A ufw-before-input -p udp --dport 69 -m state --state NEW -j ACCEPT
      

      Is this expected behavior for UFW? Everything I’m reading seems to just point to ufw allow tftp or ufw allow 69. Anyone else out there running FOG with UFW enabled successfully?

      Thanks!

      posted in Linux Problems
      T
      turtledillpickle