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

Apache2 restart failed after trunk update

Scheduled Pinned Locked Moved Solved
FOG Problems
3
39
8.9k
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.
  • T
    Tom Elliott @Psycholiquid
    last edited by Feb 29, 2016, 10:59 PM

    @Psycholiquid Edit your /opt/fog/.fogsettings file.

    Remove the sslpath= line.

    Update the svn/git folder from the base path.

    Reinstall, should be fixed.

    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

    P 2 Replies Last reply Feb 29, 2016, 11:03 PM Reply Quote 0
    • P
      Psycholiquid Testers @Tom Elliott
      last edited by Feb 29, 2016, 11:03 PM

      @Tom-Elliott Trying now.

      1 Reply Last reply Reply Quote 0
      • P
        Psycholiquid Testers @Tom Elliott
        last edited by Feb 29, 2016, 11:04 PM

        @Tom-Elliott Worked like a champ, thank you as always

        1 Reply Last reply Reply Quote 0
        • P
          Psycholiquid Testers
          last edited by Psycholiquid Feb 29, 2016, 5:24 PM Feb 29, 2016, 11:21 PM

          Now getting this from all clients:

           2/29/2016 6:19 PM Middleware::Communication Response: Invalid host certificate
           2/29/2016 6:19 PM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
           2/29/2016 6:19 PM Data::RSA FOG Server CA cert found
           2/29/2016 6:19 PM Middleware::Authentication Cert OK
           2/29/2016 6:19 PM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
           2/29/2016 6:20 PM Middleware::Communication Response: Success
           2/29/2016 6:20 PM Middleware::Authentication Authenticated
           2/29/2016 6:20 PM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=B6:AE:2B:EB:6E:CD|00:0A:CD:2A:4D:A6|B4:AE:2B:EB:6F:CC|B4:AE:2B:EB:6F:CD||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1
           2/29/2016 6:20 PM Middleware::Communication Response: Invalid host certificate
           2/29/2016 6:20 PM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
           2/29/2016 6:20 PM Data::RSA FOG Server CA cert found
           2/29/2016 6:20 PM Middleware::Authentication Cert OK
           2/29/2016 6:20 PM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
           2/29/2016 6:20 PM Middleware::Communication Response: Success
           2/29/2016 6:20 PM Middleware::Authentication Authenticated
           2/29/2016 6:20 PM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=B6:AE:2B:EB:6E:CD|00:0A:CD:2A:4D:A6|B4:AE:2B:EB:6F:CC|B4:AE:2B:EB:6F:CD||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1
           2/29/2016 6:20 PM Middleware::Communication Response: Invalid host certificate
           2/29/2016 6:20 PM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
           2/29/2016 6:20 PM Data::RSA FOG Server CA cert found
           2/29/2016 6:20 PM Middleware::Authentication Cert OK
           2/29/2016 6:20 PM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
           2/29/2016 6:20 PM Middleware::Communication Response: Success
           2/29/2016 6:20 PM Middleware::Authentication Authenticated
           2/29/2016 6:20 PM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=B6:AE:2B:EB:6E:CD|00:0A:CD:2A:4D:A6|B4:AE:2B:EB:6F:CC|B4:AE:2B:EB:6F:CD||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1```
          W 1 Reply Last reply Feb 29, 2016, 11:48 PM Reply Quote 0
          • P
            Psycholiquid Testers
            last edited by Feb 29, 2016, 11:47 PM

            A little cleaner error:

            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             2/29/2016 4:45 PM Client-Info Version: 0.9.11
             2/29/2016 4:45 PM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
             2/29/2016 4:45 PM Data::RSA FOG Server CA cert found
             2/29/2016 4:45 PM Data::RSA ERROR: Certificate validation failed
             2/29/2016 4:45 PM Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file. (NotTimeValid)
             2/29/2016 4:45 PM Middleware::Authentication ERROR: Could not authenticate
             2/29/2016 4:45 PM Middleware::Authentication ERROR: Certificate is not from FOG CA
             2/29/2016 4:45 PM Service Sleeping for 120 seconds
             2/29/2016 4:46 PM Service Stop requested
             2/29/2016 4:46 PM Bus {
              "channel": "Status",
              "data": "{\r\n  \"action\": \"unload\"\r\n}"
            }
             2/29/2016 4:46 PM Bus Emmiting message on channel: Status
             2/29/2016 4:46 PM Bus Became bus server
             2/29/2016 4:46 PM Bus {
              "channel": "Status",
              "data": "{\r\n  \"action\": \"load\"\r\n}"
            }
             2/29/2016 4:46 PM Bus Emmiting message on channel: Status
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             2/29/2016 4:46 PM Client-Info Version: 0.9.11
             2/29/2016 4:46 PM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
             2/29/2016 4:46 PM Data::RSA FOG Server CA cert found
             2/29/2016 4:46 PM Data::RSA ERROR: Certificate validation failed
             2/29/2016 4:46 PM Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file. (NotTimeValid)
             2/29/2016 4:46 PM Middleware::Authentication ERROR: Could not authenticate
             2/29/2016 4:46 PM Middleware::Authentication ERROR: Certificate is not from FOG CA
             2/29/2016 4:46 PM Service Sleeping for 120 seconds```
            T 1 Reply Last reply Mar 1, 2016, 12:28 AM Reply Quote 0
            • W
              Wayne Workman @Psycholiquid
              last edited by Feb 29, 2016, 11:48 PM

              @Psycholiquid

              You have to use the same CA when re-installing the fog server. The new FOG Client absolutely will not trust any server that doesn’t authenticate properly.

              What it sounds like is a new one was generated, or it could be some trivial path/location bug…

              I keep a backup of my CA on a flash drive - encrypted, and behind a locked door.

              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/

              P 2 Replies Last reply Feb 29, 2016, 11:49 PM Reply Quote 0
              • P
                Psycholiquid Testers @Wayne Workman
                last edited by Feb 29, 2016, 11:49 PM

                @Wayne-Workman So if I rolled back and made a backup of the file then followed Tom’s instructions. Replaced the file after the upgrade should that resolve it?

                1 Reply Last reply Reply Quote 0
                • P
                  Psycholiquid Testers @Wayne Workman
                  last edited by Feb 29, 2016, 11:54 PM

                  @Wayne-Workman Also where is the cert located in the OS?

                  P 1 Reply Last reply Feb 29, 2016, 11:56 PM Reply Quote 0
                  • P
                    Psycholiquid Testers @Psycholiquid
                    last edited by Feb 29, 2016, 11:56 PM

                    I’m assuming this is the cert? /fog/management/other/ssl/srvpublic.crt

                    W 1 Reply Last reply Mar 1, 2016, 12:04 AM Reply Quote 0
                    • W
                      Wayne Workman @Psycholiquid
                      last edited by Mar 1, 2016, 12:04 AM

                      @Psycholiquid you need the CA. The certs are actually regenerated on every install, to my understanding.

                      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/

                      T 1 Reply Last reply Mar 1, 2016, 12:30 AM Reply Quote 0
                      • P
                        Psycholiquid Testers
                        last edited by Mar 1, 2016, 12:05 AM

                        So I’m lost I need it to regenerate or I need to replace with the backed up one

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott @Psycholiquid
                          last edited by Mar 1, 2016, 12:28 AM

                          @Psycholiquid validity period, can you make sure the windows and fog servers are matching with their time? As you do tend to rely on snapshots of course.

                          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

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott @Wayne Workman
                            last edited by Mar 1, 2016, 12:30 AM

                            @Wayne-Workman ca and private key is not regenerated every install, just the csr and public cert.

                            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

                            W 1 Reply Last reply Mar 1, 2016, 12:47 AM Reply Quote 0
                            • W
                              Wayne Workman @Tom Elliott
                              last edited by Mar 1, 2016, 12:47 AM

                              @Tom-Elliott That’s what I meant. 😉

                              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
                              • P
                                Psycholiquid Testers
                                last edited by Mar 1, 2016, 3:04 PM

                                OK so what would I need to do to resolve this. I am in another state trying to get the node working so I dont have to touch every machine but cant due to this.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  Psycholiquid Testers
                                  last edited by Mar 1, 2016, 3:08 PM

                                  I mean I could roll back but I would rather move forward. The times seem to be just fine so far as I can tell. but my server is being slammed now due to bad requests.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    Psycholiquid Testers
                                    last edited by Mar 1, 2016, 3:15 PM

                                    Just verified the dates and times are matching perfectly

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      Psycholiquid Testers
                                      last edited by Psycholiquid Mar 1, 2016, 9:22 AM Mar 1, 2016, 3:21 PM

                                      Update:

                                      So it leads me to believe that it is something on the client now? I am really lost on this.

                                      Getting this now:

                                      ------------------------------------------------------------------------------
                                      --------------------------------Authentication--------------------------------
                                      ------------------------------------------------------------------------------
                                       3/1/2016 8:18 AM Client-Info Version: 0.9.11
                                       3/1/2016 8:18 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                       3/1/2016 8:18 AM Data::RSA FOG Server CA cert found
                                       3/1/2016 8:18 AM Middleware::Authentication Cert OK
                                       3/1/2016 8:18 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                       3/1/2016 8:18 AM Middleware::Communication Response: Invalid security token
                                       3/1/2016 8:18 AM Service Sleeping for 120 seconds```
                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        Psycholiquid Testers
                                        last edited by Mar 1, 2016, 3:35 PM

                                        Update:

                                        So I went through the though that with the last error maybe it needed to be reinstalled on the client. Did that and then reset the encryption data on the host from the interface. That seems to clear the error, now I am getting different errors on that host. Please see below. Seems to run in circles.

                                        ------------------------------------------------------------------------------
                                        --------------------------------Authentication--------------------------------
                                        ------------------------------------------------------------------------------
                                         3/1/2016 8:28 AM Client-Info Version: 0.9.11
                                         3/1/2016 8:28 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:28 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:28 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:28 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:29 AM Middleware::Communication Response: Invalid security token
                                         3/1/2016 8:29 AM Service Sleeping for 120 seconds
                                        
                                        ------------------------------------------------------------------------------
                                        --------------------------------Authentication--------------------------------
                                        ------------------------------------------------------------------------------
                                         3/1/2016 8:31 AM Client-Info Version: 0.9.11
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:31 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:31 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:31 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:31 AM Middleware::Communication Response: Success
                                         3/1/2016 8:31 AM Middleware::Authentication Authenticated
                                        
                                         3/1/2016 8:31 AM Bus Registering ParseBus in channel Power
                                        
                                        ------------------------------------------------------------------------------
                                        ---------------------------------ClientUpdater--------------------------------
                                        ------------------------------------------------------------------------------
                                         3/1/2016 8:31 AM Client-Info Version: 0.9.11
                                         3/1/2016 8:31 AM ClientUpdater Running...
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1
                                         3/1/2016 8:31 AM Middleware::Communication Response: Success
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?client&newService=1
                                        ------------------------------------------------------------------------------
                                        
                                        
                                        ------------------------------------------------------------------------------
                                        ----------------------------------TaskReboot----------------------------------
                                        ------------------------------------------------------------------------------
                                         3/1/2016 8:31 AM Client-Info Version: 0.9.11
                                         3/1/2016 8:31 AM TaskReboot Running...
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=taskreboot&mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1
                                         3/1/2016 8:31 AM Middleware::Communication Response: Success
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1
                                         3/1/2016 8:31 AM Middleware::Communication Response: Invalid host certificate
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:31 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:31 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:31 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:31 AM Middleware::Communication Response: Success
                                         3/1/2016 8:31 AM Middleware::Authentication Authenticated
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1&newService=1
                                         3/1/2016 8:31 AM Middleware::Communication Response: Invalid host certificate
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:31 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:31 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:31 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:31 AM Middleware::Communication Response: Success
                                         3/1/2016 8:31 AM Middleware::Authentication Authenticated
                                         3/1/2016 8:31 AM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1
                                         3/1/2016 8:32 AM Middleware::Communication Response: Invalid host certificate
                                         3/1/2016 8:32 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:32 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:32 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:32 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:32 AM Middleware::Communication Response: Success
                                         3/1/2016 8:32 AM Middleware::Authentication Authenticated
                                         3/1/2016 8:32 AM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1
                                         3/1/2016 8:32 AM Middleware::Communication Response: Invalid host certificate
                                         3/1/2016 8:32 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:32 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:32 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:32 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:32 AM Middleware::Communication Response: Success
                                         3/1/2016 8:32 AM Middleware::Authentication Authenticated
                                         3/1/2016 8:32 AM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1&newService=1
                                         3/1/2016 8:32 AM Middleware::Communication Response: Invalid host certificate
                                         3/1/2016 8:32 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                         3/1/2016 8:32 AM Data::RSA FOG Server CA cert found
                                         3/1/2016 8:32 AM Middleware::Authentication Cert OK
                                         3/1/2016 8:32 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                         3/1/2016 8:32 AM Middleware::Communication Response: Success
                                         3/1/2016 8:32 AM Middleware::Authentication Authenticated
                                         3/1/2016 8:32 AM Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=00:50:56:86:1F:C7||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wayne Workman
                                          last edited by Mar 1, 2016, 4:15 PM

                                          Bringing in the big guns to maybe shed light on what’s going.
                                          Informing @Jbob

                                          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/

                                          P 1 Reply Last reply Mar 1, 2016, 4:19 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            13/39
                                            Last post

                                          150

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project