• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Private key failed

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    57
    19.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Raymond BellR
      Raymond Bell Testers @Wayne Workman
      last edited by

      @Wayne-Workman How do i find just this host hostPubKey so i don’t do this on all

      Raymond Bell
      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Raymond Bell
        last edited by

        @Raymond-Bell use a WHERE clause for the hostname. WHERE hostName = ‘someHostName’

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        Raymond BellR 1 Reply Last reply Reply Quote 0
        • Raymond BellR
          Raymond Bell Testers @Wayne Workman
          last edited by

          @Wayne-Workman Like this ?

           UPDATE WHERE hostName = "LAB-IMAGE-WIN10" SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00";

          Raymond Bell
          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Raymond Bell
            last edited by

            @Raymond-Bell Well I normally put the WHERE clause at the very end… but that will either work or give an error. Try it.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            Raymond BellR 1 Reply Last reply Reply Quote 0
            • Raymond BellR
              Raymond Bell Testers @Wayne Workman
              last edited by

              @Wayne-Workman Done

              mysql> UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00"; WHERE hostName = "LAB-IMAGE-WIN10"
              Query OK, 4 rows affected (0.04 sec)
              Rows matched: 804  Changed: 4  Warnings: 0
              
              

              Raymond Bell
              WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Raymond Bell
                last edited by Wayne Workman

                @Raymond-Bell said:

                Query OK, 4 rows affected (0.04 sec)
                

                4 rows affected?

                Can you run this command and see what the return is?

                SELECT hostID,hostName FROM hosts WHERE hostName = 'LAB-IMAGE-WIN10';

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                Raymond BellR 1 Reply Last reply Reply Quote 0
                • Raymond BellR
                  Raymond Bell Testers @Wayne Workman
                  last edited by

                  @Wayne-Workman

                  mysql> SELECT hostName,hostID from hosts where hostName = 'LAB-IMAGE-WIN10';
                  +-----------------+--------+
                  | hostName        | hostID |
                  +-----------------+--------+
                  | LAB-IMAGE-WIN10 |   1701 |
                  +-----------------+--------+
                  1 row in set (0.08 sec)
                  
                  mysql>
                  

                  Raymond Bell
                  WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Raymond Bell
                    last edited by

                    @Raymond-Bell Well what does the host’s fog log say now?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    Raymond BellR 1 Reply Last reply Reply Quote 0
                    • Raymond BellR
                      Raymond Bell Testers @Wayne Workman
                      last edited by

                      @Wayne-Workman

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

                      Raymond Bell
                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Raymond Bell
                        last edited by

                        @Raymond-Bell Is this with just this one host or is it all hosts?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        Raymond BellR 1 Reply Last reply Reply Quote 0
                        • Raymond BellR
                          Raymond Bell Testers @Wayne Workman
                          last edited by Wayne Workman

                          @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
                          

                          Raymond Bell
                          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @Raymond Bell
                            last edited by Wayne Workman

                            @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

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            Raymond BellR 1 Reply Last reply Reply Quote 0
                            • Raymond BellR
                              Raymond Bell Testers @Wayne Workman
                              last edited by

                              @Wayne-Workman Same
                              #!im

                              Raymond Bell
                              WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

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

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                Raymond BellR 1 Reply Last reply Reply Quote 0
                                • Raymond BellR
                                  Raymond Bell Testers @Wayne Workman
                                  last edited by

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

                                  Raymond Bell
                                  WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                  Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @Raymond Bell
                                    last edited by

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

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    Raymond BellR 1 Reply Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman @Raymond Bell
                                      last edited by

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

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @Raymond Bell
                                        last edited by

                                        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

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        1 Reply Last reply Reply Quote 0
                                        • Raymond BellR
                                          Raymond Bell Testers @Tom Elliott
                                          last edited by

                                          @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$

                                          Raymond Bell
                                          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott @Raymond Bell
                                            last edited by

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

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            Raymond BellR 3 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project