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

    Apache2 preconfigtest failed

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    2
    5
    1.8k
    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
      tecnomuzik
      last edited by

      I’ve been having trouble getting Fog to capture a Win8.1 image correctly. I read this https://wiki.fogproject.org/wiki//index.php/SVN about updating SVN which I tried.

      After running this, I am unable to get into my Fog management. I’ve determined Apache2 isn’t running. When I try to start the service I get the following error:

      Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.

      Can anyone guide me on how to fix this? Thank you!

      1 Reply Last reply Reply Quote 0
      • T
        tecnomuzik
        last edited by

        Not sure if this will help but I uninstall Apache2 and reinstalled. During the install I get the following error:

        The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 140 of /etc/apache2/apache.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: Cannot open shared object file: No such file or directory
        Action ‘configtest’ failed.

        Line 1 of apache2.conf reads as: IncludeOptional mods-enabled/*.load

        Line 1 of php5.load reads as: <IfModule mod_php5.c>

        Does this make sense to anyone?

        Thanks in advance!!

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

          @tecnomuzik We need a little more information. What OS is fog running on? Distribution and version.

          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 2 Replies Last reply Reply Quote 0
          • T
            tecnomuzik @Wayne Workman
            last edited by

            @Wayne-Workman This was on Ubutnu 12.04 LTS.

            I have since updated to 14.04 but am having the same problem.

            1 Reply Last reply Reply Quote 0
            • T
              tecnomuzik @Wayne Workman
              last edited by

              @Wayne-Workman Holy crap I got it working again. After upgrading to 14.04 I re-ran the SVN from the link previously mentioned and now I can access my fog server again.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              152

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project