• 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.
    • Wayne WorkmanW
      Wayne Workman @Psycholiquid
      last edited by

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

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • PsycholiquidP
        Psycholiquid Testers
        last edited by

        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
        • Tom ElliottT
          Tom Elliott @Psycholiquid
          last edited by

          @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
          • Tom ElliottT
            Tom Elliott @Wayne Workman
            last edited by

            @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

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

              @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
              • PsycholiquidP
                Psycholiquid Testers
                last edited by

                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
                • PsycholiquidP
                  Psycholiquid Testers
                  last edited by

                  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
                  • PsycholiquidP
                    Psycholiquid Testers
                    last edited by

                    Just verified the dates and times are matching perfectly

                    1 Reply Last reply Reply Quote 0
                    • PsycholiquidP
                      Psycholiquid Testers
                      last edited by Psycholiquid

                      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
                      • PsycholiquidP
                        Psycholiquid Testers
                        last edited by

                        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
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          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/

                          PsycholiquidP 1 Reply Last reply Reply Quote 0
                          • PsycholiquidP
                            Psycholiquid Testers @Wayne Workman
                            last edited by

                            @Wayne-Workman Yeah it is very weird, its like it wants to work, but then it gets all confused. I did manually install the client. But I see where it is trying to run also.

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

                              @Psycholiquid Is fog-server your fog server’s actual name and is there a DNS entry for 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/

                              PsycholiquidP 1 Reply Last reply Reply Quote 0
                              • PsycholiquidP
                                Psycholiquid Testers @Wayne Workman
                                last edited by

                                @Wayne-Workman it is a cname but it works no problem, I can ping it from anywhere on the network. It is not however the server name. I was using IP addresses before but didnt like that. But this has been in place for about 8 months now

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

                                  @Psycholiquid If it were me in your position - I would roll back to when it was working,

                                  And I would copy /opt/fog/snapins/CA to /root for safe keeping, I’d also copy /opt/fog/snapins/ssl to /root.

                                  cp -r /opt/fog/snapins/CA /root
                                  cp -r /opt/fog/snapins/ssl /root
                                  

                                  I know that it wasn’t long ago that all the paths and stuff changed for the CA and ssl directories - so you’ll just need to pay close attention to those after you update forwards.

                                  This should take no time. Roll back, backup your CA and ssl folders, update to the latest. Check everything.

                                  However it’s perfectly fine if you want to wait for further input from Tom or Jbob and I’d take zero offense from that.

                                  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
                                  • PsycholiquidP
                                    Psycholiquid Testers
                                    last edited by

                                    Yeah I will wait but I agree making a backup of those is not a bad idea at all.

                                    1 Reply Last reply Reply Quote 0
                                    • PsycholiquidP
                                      Psycholiquid Testers
                                      last edited by

                                      Any ideas guys? OR should I just roll back?

                                      1 Reply Last reply Reply Quote 0
                                      • PsycholiquidP
                                        Psycholiquid Testers
                                        last edited by

                                        For now I have rolled back to the working version. Let me know if anyone has any ideas.

                                        @Wayne-Workman I have now made a backup for those files we were discussing.

                                        1 Reply Last reply Reply Quote 1
                                        • PsycholiquidP
                                          Psycholiquid Testers
                                          last edited by

                                          Update, so I rolled back now the system is forcing client to update to client version 0.9.11 and breaking the whole system, anyone out there that can help would be greatly appreciated.

                                          1 Reply Last reply Reply Quote 0
                                          • PsycholiquidP
                                            Psycholiquid Testers
                                            last edited by

                                            This is the log from a client installed fresh with 0.9.7 and service turned on:

                                             3/4/2016 7:39 AM RegistryHandler 64 bit registry detected
                                             3/4/2016 7:39 AM Middleware::Communication URL: http://fog-server/fog/management/other/ca.cert.der
                                             3/4/2016 7:40 AM Bus Became bus server
                                             3/4/2016 7:40 AM Bus {
                                              "channel": "Status",
                                              "data": "{\r\n  \"action\": \"load\"\r\n}"
                                            }
                                             3/4/2016 7:40 AM Bus Emmiting message on channel: Status
                                            
                                            ------------------------------------------------------------------------------
                                            --------------------------------Authentication--------------------------------
                                            ------------------------------------------------------------------------------
                                             3/4/2016 7:40 AM Client-Info Version: 0.9.7
                                             3/4/2016 7:40 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                             3/4/2016 7:40 AM Data::RSA FOG Server CA cert found
                                             3/4/2016 7:40 AM Middleware::Authentication Cert OK
                                             3/4/2016 7:40 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                             3/4/2016 7:40 AM Middleware::Communication Unknown Response: Private key not found
                                             3/4/2016 7:40 AM Bus Registering ParseBus in channel Power
                                            
                                            ------------------------------------------------------------------------------
                                            ---------------------------------ClientUpdater--------------------------------
                                            ------------------------------------------------------------------------------
                                             3/4/2016 7:40 AM Client-Info Version: 0.9.7
                                             3/4/2016 7:40 AM ClientUpdater Running...
                                             3/4/2016 7:40 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/4/2016 7:40 AM Middleware::Communication Response: Success
                                             3/4/2016 7:40 AM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?client&newService=1
                                             3/4/2016 7:40 AM Middleware::Communication URL: http://fog-server/fog/client/FOGService.msi
                                             3/4/2016 7:40 AM Data::RSA FOG Project cert found
                                             3/4/2016 7:40 AM ClientUpdater Update file is authentic
                                            ------------------------------------------------------------------------------
                                            
                                             3/4/2016 7:41 AM Bus {
                                              "channel": "Update",
                                              "data": "{\r\n  \"action\": \"start\"\r\n}"
                                            }
                                             3/4/2016 7:41 AM Bus Emmiting message on channel: Update
                                             3/4/2016 7:41 AM Service-Update Spawning update helper
                                             3/4/2016 7:41 AM Bus Registering ParseBus in channel Power
                                             3/4/2016 7:41 AM Update Helper Shutting down service...
                                             3/4/2016 7:41 AM Service Stop requested
                                             3/4/2016 7:41 AM Bus {
                                              "channel": "Status",
                                              "data": "{\r\n  \"action\": \"unload\"\r\n}"
                                            }
                                             3/4/2016 7:41 AM Bus Emmiting message on channel: Status
                                             3/4/2016 7:41 AM Update Helper Killing remaining FOG processes...
                                             3/4/2016 7:41 AM Update Helper Applying MSI...
                                             3/4/2016 7:41 AM Update Helper --> msiexec /i "C:\Program Files (x86)\FOG\tmp\FOGService.msi" /quiet USETRAY="" HTTPS="0" WEBADDRESS="fog-server" WEBROOT="/fog" ROOTLOG="1"
                                             3/4/2016 7:41 AM RegistryHandler 64 bit registry detected
                                             3/4/2016 7:41 AM Middleware::Communication URL: http://fog-server/fog/management/other/ca.cert.der
                                             3/4/2016 7:41 AM Update Helper Starting service...
                                             3/4/2016 7:41 AM Bus Became bus server
                                             3/4/2016 7:41 AM Bus {
                                              "channel": "Status",
                                              "data": "{\r\n  \"action\": \"load\"\r\n}"
                                            }
                                             3/4/2016 7:41 AM Bus Emmiting message on channel: Status
                                            
                                            ------------------------------------------------------------------------------
                                            --------------------------------Authentication--------------------------------
                                            ------------------------------------------------------------------------------
                                             3/4/2016 7:41 AM Client-Info Version: 0.9.11
                                             3/4/2016 7:41 AM Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
                                             3/4/2016 7:41 AM Data::RSA FOG Server CA cert found
                                             3/4/2016 7:41 AM Middleware::Authentication Cert OK
                                             3/4/2016 7:41 AM Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
                                             3/4/2016 7:41 AM Middleware::Communication Unknown Response: Private key not found
                                             3/4/2016 7:41 AM Service Sleeping for 120 seconds```
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            151

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project