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

    Apache will not start

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    27
    12.3k
    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.
    • ch3iC
      ch3i Moderator @Tim.Trageser
      last edited by

      @Tim.Trageser

      sudo service mysql status
      
      1 Reply Last reply Reply Quote 0
      • T
        Tim.Trageser
        last edited by

        mj@fog-server:/opt/trunk/bin$ sudo service mysql status
        mysql start/running, process 5271
        mj@fog-server:/opt/trunk/bin$

        ch3iC 1 Reply Last reply Reply Quote 0
        • ch3iC
          ch3i Moderator @Tim.Trageser
          last edited by ch3i

          @Tim.Trageser said:

          mj@fog-server:/opt/trunk/bin$ sudo service mysql status
          mysql start/running, process 5271
          mj@fog-server:/opt/trunk/bin$

          Mysql running 😉 But have you mysqlNd installed ? The native driver

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

            How do I find out?

            ch3iC 1 Reply Last reply Reply Quote 0
            • ch3iC
              ch3i Moderator @Tim.Trageser
              last edited by

              @Tim.Trageser

              sudo apt-get update
              sudo apt-get install php5-mysqlnd
              sudo service apache2 restart
              
              1 Reply Last reply Reply Quote 0
              • T
                Tim.Trageser
                last edited by

                mj@fog-server:/opt/trunk/bin$ sudo apt-get install php5-mysqlnd
                Reading package lists… Done
                Building dependency tree
                Reading state information… Done
                php5-mysqlnd is already the newest version.
                The following package was automatically installed and is no longer required:
                account-plugin-windows-live
                Use ‘apt-get autoremove’ to remove it.
                0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.

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

                  Try to restart the server, may helps.

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

                    Done that several times.

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

                      Already tried to reinstall FOG?

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

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

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

                          Tried to reinstall Apache manually?

                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            318

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project