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

    Apache will not start

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    27
    12.4k
    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
      Tim.Trageser
      last edited by

      I have not manually tried reinstalling Apache, but I don’t think that will fix it as the error message from Apache states:

      SSLCertificateFile: file ‘/var/www/fog/management/other/ssl/srvpublic.crt’ does not exist or is empty

      When I look in that location the file doesn’t exist.

      1 Reply Last reply Reply Quote 0
      • Polii123P
        Polii123
        last edited by

        Can you paste your V-Host config?

        1 Reply Last reply Reply Quote 0
        • T
          Tim.Trageser
          last edited by

          Where would I find that?

          1 Reply Last reply Reply Quote 0
          • Polii123P
            Polii123
            last edited by

            /etc/apache2/sites-enabled

            1 Reply Last reply Reply Quote 0
            • Polii123P
              Polii123
              last edited by Polii123

              Sorry, you don’t have to paste your V-Host Config, wouldn’t help.

              Try to put my srvpublic.crt to the location, mentioned by the error. Maybe this helps
              srvpublic.zip

              1 Reply Last reply Reply Quote 0
              • T
                Tim.Trageser
                last edited by

                Now I am missing:

                SSLCertificateKeyFile: file ‘/opt/fog/snapins/ssl/.srvprivate.key’ does not exist or is empty

                1 Reply Last reply Reply Quote 0
                • T
                  Tim.Trageser
                  last edited by

                  hmmm…the ssl directory is missing from within snapins

                  1 Reply Last reply Reply Quote 0
                  • Polii123P
                    Polii123
                    last edited by

                    Alreasy tried to reinstall now?

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tim.Trageser
                      last edited by

                      Nope still fails!!

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

                        This thread suggests it’s your user authority that might be the problem: http://serverfault.com/questions/416612/apache-sslcertificatekeyfile-file-does-not-exist-or-is-empty

                        Try running the previously suggested commands as root.

                        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
                        • T
                          Tim.Trageser
                          last edited by

                          I ran all my commands with sudo, that should be fine right?

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

                            Please try these commands:

                            sudo rm -rf /opt/fog/snapins/CA /opt/fog/snapins/SSL /var/www/fog/management/other/ssl
                            

                            Edit the installer updater piece in /opt/fog/.fogsettings and delete the last two lines of the file:

                            They should look like:

                            caCreated="yes" and maybe vhostCreated="yes"
                            

                            if you don’t have those lines then don’t worry about it.

                            Then try re-running the installer.

                            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
                              last edited by

                              Solved as the Apache error is corrected for in latest svn.

                              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
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post

                              188

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project