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 foundAny suggestions or where to look would be appritiated.
-
Rerun the installer:
./installfog.sh -KY
-
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.```
-
@wlainey What’s the setting for ssl path on the storage node found at (http://x.x.x/)?
-
@wlainey If you don’t know what to look for: FOG web UI -> Storage -> “node name” -> SSL Path
-
The path is showing as
/opt/fog/snapins/ssl
-
@wlainey What do you get running
ls -al /opt/fog/snapins/ssl
on your FOG server console? -
@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
-
@wlainey Do you have more than one storage node defined in the Web UI?
From the username
apache
I see this could be a CentOS system. Any chance this is a SElinux issue? Please runsestatus
andls -alZ /opt/fog/snapins/ssl
and post here.