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

Apache will not start

Scheduled Pinned Locked Moved Solved FOG Problems
27 Posts 5 Posters 15.6k Views
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.
  • P
    Polii123
    last edited by May 27, 2015, 1:44 PM

    Try to restart the server, may helps.

    1 Reply Last reply Reply Quote 0
    • T
      Tim.Trageser
      last edited by May 27, 2015, 1:45 PM

      Done that several times.

      1 Reply Last reply Reply Quote 0
      • P
        Polii123
        last edited by May 27, 2015, 1:48 PM

        Already tried to reinstall FOG?

        1 Reply Last reply Reply Quote 0
        • T
          Tim.Trageser
          last edited by May 27, 2015, 1:48 PM

          Yes, I have. The install reports that Apache fails to start.

          1 Reply Last reply Reply Quote 0
          • P
            Polii123
            last edited by May 27, 2015, 1:50 PM

            Tried to reinstall Apache manually?

            1 Reply Last reply Reply Quote 0
            • T
              Tim.Trageser
              last edited by May 27, 2015, 1:55 PM

              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
              • P
                Polii123
                last edited by May 27, 2015, 2:01 PM

                Can you paste your V-Host config?

                1 Reply Last reply Reply Quote 0
                • T
                  Tim.Trageser
                  last edited by May 27, 2015, 2:03 PM

                  Where would I find that?

                  1 Reply Last reply Reply Quote 0
                  • P
                    Polii123
                    last edited by May 27, 2015, 2:06 PM

                    /etc/apache2/sites-enabled

                    1 Reply Last reply Reply Quote 0
                    • P
                      Polii123
                      last edited by Polii123 May 27, 2015, 8:17 AM May 27, 2015, 2:16 PM

                      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 May 27, 2015, 2:25 PM

                        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 May 27, 2015, 2:27 PM

                          hmmm…the ssl directory is missing from within snapins

                          1 Reply Last reply Reply Quote 0
                          • P
                            Polii123
                            last edited by May 27, 2015, 2:28 PM

                            Alreasy tried to reinstall now?

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tim.Trageser
                              last edited by May 27, 2015, 2:33 PM

                              Nope still fails!!

                              1 Reply Last reply Reply Quote 0
                              • W
                                Wayne Workman
                                last edited by May 27, 2015, 3:27 PM

                                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 May 27, 2015, 3:37 PM

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

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by May 27, 2015, 3:43 PM

                                    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
                                    • T
                                      Tom Elliott
                                      last edited by May 27, 2015, 8:24 PM

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

                                      158

                                      Online

                                      12.3k

                                      Users

                                      17.4k

                                      Topics

                                      155.7k

                                      Posts
                                      Copyright © 2012-2025 FOG Project