Private key failed


  • Moderator

    r6961 - Fedora 21
    Host is a Lenovo L530 with Win7 Pro x64 with all recommended windows updates installed.

    I have FOG Client version 0.9.11 installed on it. I’m not sure if this is because 0.9.12 was rolled back or if it’s because of the authentication failure.

    The reset-encryption button was also missing for this host.

    Here is the relevant logs, they just repeat this over and over:

    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:33 AM Client-Info Version: 0.9.11
     3/28/2016 8:33 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:33 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:33 AM Middleware::Authentication Cert OK
     3/28/2016 8:33 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:33 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:33 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:35 AM Client-Info Version: 0.9.11
     3/28/2016 8:35 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:35 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:35 AM Middleware::Authentication Cert OK
     3/28/2016 8:35 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:35 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:35 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:37 AM Client-Info Version: 0.9.11
     3/28/2016 8:37 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:37 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:37 AM Middleware::Authentication Cert OK
     3/28/2016 8:37 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:37 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:37 AM Service Sleeping for 120 seconds
     3/28/2016 8:39 AM Service Stop requested
     3/28/2016 8:39 AM Bus {
      "channel": "Status",
      "data": "{\r\n  \"action\": \"unload\"\r\n}"
    }
     3/28/2016 8:39 AM Bus Emmiting message on channel: Status
     3/28/2016 8:39 AM Bus Became bus server
     3/28/2016 8:39 AM Bus {
      "channel": "Status",
      "data": "{\r\n  \"action\": \"load\"\r\n}"
    }
     3/28/2016 8:39 AM Bus Emmiting message on channel: Status
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:39 AM Client-Info Version: 0.9.11
     3/28/2016 8:39 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:39 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:39 AM Middleware::Authentication Cert OK
     3/28/2016 8:39 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:39 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:39 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:41 AM Client-Info Version: 0.9.11
     3/28/2016 8:41 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:41 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:41 AM Middleware::Authentication Cert OK
     3/28/2016 8:41 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:41 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:41 AM Service Sleeping for 120 seconds
    

    I noticed the issue when the target host wouldn’t join the domain automatically. I’ve not done anything to my key. This morning I just ran svn up in the trunk directory and then ran the installer with the -y argument as usual.

    For the moment I’m going to roll back because I need to go image a lab. Later today I’ll have more time to look at what’s wrong.



  • ok no problem, thank you.


  • Developer

    @raumin There have been so many error messages and solutions… Please open a new topic and post your own error messages there! Including FOG version, OS, OS version, …



  • Hi, i get the same error on all hosts, with client 0.9.11 and 0.9.12.

    Do i have to open another thread ?


  • Testers

    @Tom-Elliott yes that would be fine msg me the code


  • Senior Developer

    @Raymond-Bell I’d normally ask for teamviewer, but that’s been much more of a PITA for me lately.

    Maybe a join.me session could work if you’re up to it?


  • Testers

    @Tom-Elliott @Wayne-Workman @Jbob Any suggestions on this?

    Thanks Guys


  • Senior Developer

    @Raymond-Bell Are you sure FOG is updated to the latest?

    I’m 99.999% certain I corrected this last night.


  • Testers

    @Tom-Elliott And they keep coming

    [Tue Mar 29 10:44:58.378953 2016] [:error] [pid 3555] [client 10.24.32.9:50326] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.409861 2016] [:error] [pid 1439] [client 10.24.35.52:59416] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.501570 2016] [:error] [pid 6790] [client 10.24.35.193:53922] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.411217 2016] [:error] [pid 6979] [client 10.24.35.243:57288] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.607841 2016] [:error] [pid 6944] [client 10.24.36.29:51229] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.648836 2016] [:error] [pid 7012] [client 10.24.33.52:56068] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.664566 2016] [:error] [pid 30082] [client 10.24.36.14:60646] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.724592 2016] [:error] [pid 6677] [client 10.24.35.100:62293] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.752801 2016] [:error] [pid 6997] [client 10.24.32.243:52918] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.765048 2016] [:error] [pid 6982] [client 10.24.32.199:62288] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.778374 2016] [:error] [pid 1152] [client 10.24.33.82:60491] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:58.818910 2016] [:error] [pid 6692] [client 10.24.33.74:53816] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.024663 2016] [:error] [pid 1139] [client 10.24.32.155:51526] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.054485 2016] [:error] [pid 26188] [client 10.24.33.92:57155] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.077634 2016] [:error] [pid 6465] [client 10.24.35.155:55473] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.093936 2016] [:error] [pid 3606] [client 10.24.35.248:53671] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.094452 2016] [:error] [pid 7151] [client 10.24.35.0:64372] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.095688 2016] [:error] [pid 6688] [client 10.24.35.188:63976] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:44:59.262300 2016] [:error] [pid 3612] [client 10.24.33.116:51340] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    

  • Testers

    @Tom-Elliott

    [Tue Mar 29 10:41:19.357835 2016] [:error] [pid 30008] [client 10.24.33.5:49225] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:19.377809 2016] [:error] [pid 1152] [client 10.24.32.207:56773] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:19.882390 2016] [:error] [pid 1187] [client 10.24.32.28:50975] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.084491 2016] [:error] [pid 6650] [client 10.24.33.37:56167] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.211713 2016] [:error] [pid 7143] [client 10.24.32.231:51492] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.344687 2016] [:error] [pid 3595] [client 10.24.35.157:55530] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.492028 2016] [:error] [pid 28003] [client 10.24.35.8:57062] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.500539 2016] [:error] [pid 28085] [client 10.24.32.149:53446] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.509180 2016] [:error] [pid 1161] [client 10.24.35.125:59816] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.511037 2016] [:error] [pid 6934] [client 10.24.35.128:50624] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.683921 2016] [:error] [pid 27977] [client 10.24.32.235:61249] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.810564 2016] [:error] [pid 3320] [client 10.24.32.212:63837] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.813040 2016] [:error] [pid 6796] [client 10.24.35.171:53720] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:20.813721 2016] [:error] [pid 6965] [client 10.24.32.241:54357] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:21.237147 2016] [:error] [pid 7002] [client 10.24.36.15:58806] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:21.328705 2016] [:error] [pid 6676] [client 10.24.35.139:52805] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:21.359645 2016] [:error] [pid 1203] [client 10.24.35.244:62812] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:21.366898 2016] [:error] [pid 1613] [client 10.24.35.141:54178] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 10:41:21.415212 2016] [:error] [pid 6691] [client 10.24.32.190:55355] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    fog@fog-virtual-machine14:/var/log/apache2$
    

  • Senior Developer

    @Raymond-Bell I see 8:03, is that all or is there a mroe recent timestamp?


  • Testers

    @Tom-Elliott Apache log is full of this on server and there are many of them

    [Tue Mar 29 08:03:06.544299 2016] [:error] [pid 14520] [client 10.24.35.181:56746] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.596653 2016] [:error] [pid 14567] [client 10.24.32.216:54414] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.612593 2016] [:error] [pid 14122] [client 10.24.35.153:63890] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.697658 2016] [:error] [pid 14375] [client 10.24.35.159:55477] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.701761 2016] [:error] [pid 14343] [client 10.24.33.95:63473] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.711954 2016] [:error] [pid 14164] [client 10.24.32.231:50347] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.721111 2016] [:error] [pid 14177] [client 10.24.35.126:52088] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.729157 2016] [:error] [pid 14195] [client 10.24.33.64:53352] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266
    [Tue Mar 29 08:03:06.738508 2016] [:error] [pid 14190] [client 10.24.32.149:52276] PHP Warning:  array_walk() expects parameter 2 to be a valid callback, no array or string given in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 266```
    
    
    fog@fog-virtual-machine14:/var/log/apache2$ ls
    access.log        access.log.4.gz  error.log.11.gz  error.log.7.gz                 other_vhosts_access.log.14.gz
    access.log.1      access.log.5.gz  error.log.12.gz  error.log.8.gz                 other_vhosts_access.log.2.gz
    access.log.10.gz  access.log.6.gz  error.log.13.gz  error.log.9.gz                 other_vhosts_access.log.3.gz
    access.log.11.gz  access.log.7.gz  error.log.14.gz  other_vhosts_access.log        other_vhosts_access.log.4.gz
    access.log.12.gz  access.log.8.gz  error.log.2.gz   other_vhosts_access.log.1      other_vhosts_access.log.5.gz
    access.log.13.gz  access.log.9.gz  error.log.3.gz   other_vhosts_access.log.10.gz  other_vhosts_access.log.6.gz
    access.log.14.gz  error.log        error.log.4.gz   other_vhosts_access.log.11.gz  other_vhosts_access.log.7.gz
    access.log.2.gz   error.log.1      error.log.5.gz   other_vhosts_access.log.12.gz  other_vhosts_access.log.8.gz
    access.log.3.gz   error.log.10.gz  error.log.6.gz   other_vhosts_access.log.13.gz  other_vhosts_access.log.9.gz
    fog@fog-virtual-machine14:/var/log/apache2$

  • Moderator

    I just noticed your logged in as the FOG user here… Can you re-run the installer as root?

    @Raymond-Bell said:

    @Wayne-Workman

    0_1459258303346_fog cert.png


  • Moderator

    @Raymond-Bell There’s too much in this thread already about the issue, we can just keep it here.


  • Senior Developer

    @Raymond-Bell Can you get us apache error logs?


  • Testers

    @Wayne-Workman Ok thanks
    Do i need to start a new request on this?


  • Moderator

    I’m going to ask @Tom-Elliott or @Jbob to try to make some suggestions from here. I’m not sure what’s wrong.


  • Testers

    @Wayne-Workman Same
    #!im


  • Moderator

    @Raymond-Bell What displays in a web browser if you go to:
    http://10.24.28.18/fog/management/index.php?sub=authorize

    When I go to that address with my fog server, it responds with this:
    #!im


  • Testers

    @Wayne-Workman This looks like it is with all host, this is from another computer

    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/29/2016 10:30 AM Client-Info Version: 0.9.12
     3/29/2016 10:30 AM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
     3/29/2016 10:30 AM Data::RSA FOG Server CA cert found
     3/29/2016 10:30 AM Middleware::Authentication Cert OK
     3/29/2016 10:30 AM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
     3/29/2016 10:31 AM Middleware::Communication Unknown Response: Private key not found
     3/29/2016 10:31 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/29/2016 10:33 AM Client-Info Version: 0.9.12
     3/29/2016 10:33 AM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
     3/29/2016 10:33 AM Data::RSA FOG Server CA cert found
     3/29/2016 10:33 AM Middleware::Authentication Cert OK
     3/29/2016 10:33 AM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
     3/29/2016 10:33 AM Middleware::Communication Unknown Response: Private key not found
     3/29/2016 10:33 AM Service Sleeping for 120 seconds
    

Log in to reply
 

396
Online

38721
Users

10548
Topics

99850
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.