• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. wlainey
    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    wlainey

    @wlainey

    0
    Reputation
    213
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    wlainey Unfollow Follow

    Latest posts made by wlainey

    • Error createing snapins on fresh installation

      Fresh install of Fog 1.5.4 and receiving the following error when trying to create a snapin:

      Type: 8, File: /var/www/html/fog/lib/fog/fogcontroller.class.php, Line: 975, Message: Undefined offset: 3, Host: 192.168.4.31, Username: fog
      

      I have tried the fix listed here: https://forums.fogproject.org/topic/11202/fogcontroller-class-php-undefined-offset-3-line-1046 as it seemed similar but this did not correct the issue. I have not made any changes to the install yet.

      Thanks,

      posted in FOG Problems
      W
      wlainey
    • RE: AM Middleware::Response Private key path not found

      @sebastian-roth said in AM Middleware::Response Private key path not found:

      ls -al /opt/fog/snapins/ssl

      [blainey@localhost ~]$ sudo ls -al /opt/fog/snapins/ssl
      [sudo] password for blainey: 
      total 8
      drwxrwxrwx. 3 fog apache   54 Jan 24 09:00 .
      drwxrwxrwx. 3 fog apache   17 Jan 23 12:52 ..
      drwxrwxrwx. 2 fog apache   54 Jan 24 09:00 CA
      -rwxrwxrwx. 1 fog apache 1590 Jan 24 12:38 fog.csr
      -rwxrwxrwx. 1 fog apache 3243 Jan 24 12:38 .srvprivate.key
      
      posted in FOG Problems
      W
      wlainey
    • RE: AM Middleware::Response Private key path not found

      The path is showing as

      /opt/fog/snapins/ssl
      posted in FOG Problems
      W
      wlainey
    • RE: AM Middleware::Response Private key path not found

      After running as you suggested I received the same message several times in the client log and then on about the 5th attempt it still received the private key issue then says success and then proceeds to give an error on the host modules.

      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       1/24/2018 12:47 PM Client-Info Version: 0.11.12
       1/24/2018 12:47 PM Client-Info OS:      Windows
       1/24/2018 12:47 PM Middleware::Authentication Waiting for authentication timeout to pass
       1/24/2018 12:49 PM Middleware::Communication Download: http://x.x.x/fog/management/other/ssl/srvpublic.crt
       1/24/2018 12:49 PM Data::RSA FOG Server CA cert found
       1/24/2018 12:49 PM Middleware::Authentication Cert OK
       1/24/2018 12:49 PM Middleware::Communication POST URL: http://x.x.x/fog/management/index.php?sub=requestClientInfo&authorize&newService
       1/24/2018 12:49 PM Middleware::Response Private key path not found
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       1/24/2018 12:49 PM Client-Info Version: 0.11.12
       1/24/2018 12:49 PM Client-Info OS:      Windows
       1/24/2018 12:49 PM Middleware::Authentication Waiting for authentication timeout to pass
       1/24/2018 12:51 PM Middleware::Communication Download: http://x.x.x/fog/management/other/ssl/srvpublic.crt
       1/24/2018 12:51 PM Middleware::Communication ERROR: Could not download file
       1/24/2018 12:51 PM Middleware::Communication ERROR: Unable to connect to the remote server
       1/24/2018 12:51 PM Data::RSA FOG Server CA cert found
       1/24/2018 12:51 PM Middleware::Authentication Cert OK
       1/24/2018 12:51 PM Middleware::Communication POST URL: http://fog.therapymgmt.com/fog/management/index.php?sub=requestClientInfo&authorize&newService
       1/24/2018 12:52 PM Middleware::Response Private key path not found
      
      
       1/24/2018 12:52 PM Middleware::Communication URL: http://x.x.x/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       1/24/2018 12:52 PM Middleware::Response Success
       1/24/2018 12:52 PM Middleware::Communication URL: http://x.x.x/fog/management/index.php?sub=requestClientInfo&mac=40:8D:5C:E6:2C:D7|40:8D:5C:E6:2C:D5&newService&json
       1/24/2018 12:52 PM Middleware::Authentication Waiting for authentication timeout to pass
       1/24/2018 12:53 PM Middleware::Communication Download: http://x.x.x/fog/management/other/ssl/srvpublic.crt
       1/24/2018 12:53 PM Data::RSA FOG Server CA cert found
       1/24/2018 12:53 PM Middleware::Authentication Cert OK
       1/24/2018 12:53 PM Middleware::Communication POST URL: http://x.x.x/fog/management/index.php?sub=requestClientInfo&authorize&newService
       1/24/2018 12:53 PM Middleware::Response Private key path not found
       1/24/2018 12:53 PM Middleware::Response Success
       1/24/2018 12:53 PM Middleware::Communication URL: http://x.x.x/fog/service/getversion.php?clientver&newService&json
       1/24/2018 12:53 PM Middleware::Communication URL: http://x.x.x/fog/service/getversion.php?newService&json
      
       1/24/2018 12:53 PM Service Creating user agent cache
       1/24/2018 12:53 PM Middleware::Response ERROR: Unable to get subsection
       1/24/2018 12:53 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       1/24/2018 12:53 PM Middleware::Response ERROR: Unable to get subsection
       1/24/2018 12:53 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       1/24/2018 12:53 PM Middleware::Response ERROR: Unable to get subsection
       1/24/2018 12:53 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       1/24/2018 12:53 PM Service Initializing modules
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       1/24/2018 12:53 PM Client-Info Client Version: 0.11.12
       1/24/2018 12:53 PM Client-Info Client OS:      Windows
       1/24/2018 12:53 PM Client-Info Server Version: 1.5.0-RC-10
       1/24/2018 12:53 PM Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       1/24/2018 12:53 PM Client-Info Client Version: 0.11.12
       1/24/2018 12:53 PM Client-Info Client OS:      Windows
       1/24/2018 12:53 PM Client-Info Server Version: 1.5.0-RC-10
       1/24/2018 12:53 PM Middleware::Response ERROR: Unable to get subsection
       1/24/2018 12:53 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       1/24/2018 12:53 PM Client-Info Client Version: 0.11.12
       1/24/2018 12:53 PM Client-Info Client OS:      Windows
       1/24/2018 12:53 PM Client-Info Server Version: 1.5.0-RC-10
       1/24/2018 12:53 PM Middleware::Response ERROR: Unable to get subsection
       1/24/2018 12:53 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       1/24/2018 12:53 PM Client-Info Client Version: 0.11.12
       1/24/2018 12:53 PM Client-Info Client OS:      Windows
       1/24/2018 12:53 PM Client-Info Server Version: 1.5.0-RC-10
       1/24/2018 12:53 PM Middleware::Response ERROR: Unable to get subsection
       1/24/2018 12:53 PM Middleware::Response ERROR: Object reference not set to an instance of an object.```
      posted in FOG Problems
      W
      wlainey
    • AM Middleware::Response Private key path not found

      Hi ALL - Just did a migration to a new server and upgraded to SVN Revision: 6080. I backed up the ssl folder and imported as I have before and reran with installfog.sh -K as I have read in another post. All of my clients do the initial check in but then this is what shows up in the client log for authentication and modules:


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

      1/24/2018 9:54 AM Client-Info Version: 0.11.12
      1/24/2018 9:54 AM Client-Info OS: Windows
      1/24/2018 9:54 AM Middleware::Authentication Waiting for authentication timeout to pass
      1/24/2018 9:56 AM Middleware::Communication Download: http://x.x.x/fog/management/other/ssl/srvpublic.crt
      1/24/2018 9:56 AM Data::RSA FOG Server CA cert found
      1/24/2018 9:56 AM Middleware::Authentication Cert OK
      1/24/2018 9:56 AM Middleware::Communication POST URL: http://x.x.x/fog/management/index.php?sub=requestClientInfo&authorize&newService
      1/24/2018 9:56 AM Middleware::Response Private key path not found

      Any suggestions or where to look would be appritiated.

      posted in FOG Problems
      W
      wlainey
    • RE: Create Snapin on SVN 6415

      @Wayne-Workman Thanks for the info Wayne. This was a new server being setup today and had not done this yet.
      @Tom-Elliot I was able to determine that the issue was an FTP permission problem. Once I realized that SELinux had not been configured properly by using ‘setenforce 0’ everything starting working fine.

      Thanks Guys for all your help.

      William

      posted in FOG Problems
      W
      wlainey
    • RE: Create Snapin on SVN 6415

      Same error with different timestamp.

      [Thu Feb 25 10:56:15.369558 2016] [:error] [pid 1166] [client 192.168.11.254:52895] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘FOGFTP: Failed to connect. Host: 192.168.10.1, Error: Undefined variable: whereArrayAnd’ in /var/www/html/fog/lib/fog/fogftp.class.php:26\nStack trace:\n#0 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(88): FOGFTP->connect()\n#1 [internal function]: SnapinManagementPage->add()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array)\n#3 /var/www/html/fog/management/index.php(24): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 26, referer: http://fog.CHANGED.com/fog/management/index.php?node=snapin&sub=list

      Mod Edited

      posted in FOG Problems
      W
      wlainey
    • RE: Create Snapin on SVN 6415

      Just updated to 6445 with no change.

      posted in FOG Problems
      W
      wlainey
    • Create Snapin on SVN 6415

      I recently just reloaded my server to the latest SVN on CentOS 7, when I try to create a new SnapIn or update the TFTP Kernel I am receiving an error for an undefined variable. Below is the tail from my apache error log.

      [Thu Feb 25 10:06:31.428867 2016] [:error] [pid 24394] [client 65.124.207.65:59868] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘FOGFTP: Failed to connect. Host: 192.168.10.1, Error: Undefined variable: whereArrayAnd’ in /var/www/html/fog/lib/fog/fogftp.class.php:26\nStack trace:\n#0 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(88): FOGFTP->connect()\n#1 [internal function]: SnapinManagementPage->add()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array)\n#3 /var/www/html/fog/management/index.php(24): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 26, referer: http://fog.CHANGED.com/fog/management/index.php?node=snapin&sub=search

      I have checked the Storage and TFTP_FTP passwords as well as the fog user password on the computer to ensure they match. Wasn’t sure if this was a scripting error in the latest SVN or if I had configured something incorrectly.

      Mod Edited

      posted in FOG Problems create new snapin update kernel
      W
      wlainey