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

    Apache Fails (trunk4004)

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    29
    9.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.
    • M
      mrbrown
      last edited by mrbrown

      Installed the latest trunk (4004) and now my Apache fails. I can not re-install 1.2.0 now. Same error. I have tried removing, installing, nothing works. Please advise. Thanks

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

        @mrbrown We need information, screenshots if possible. What OS, what version of OS? What’s the error messages, what’s the messages from apache error logs?

        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 1
        • M
          mrbrown
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M
            mrbrown
            last edited by

            Ubuntu 12.04 all updates installed

            1 Reply Last reply Reply Quote 0
            • M
              mrbrown
              last edited by

              foginstall.log

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @mrbrown
                last edited by

                @mrbrown said:

                foginstall.log

                Could you try sudo apt-get install libapache2-mod-php5 ?

                1 Reply Last reply Reply Quote 0
                • M
                  mrbrown
                  last edited by

                  apache.jpeg

                  ch3iC 1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator @mrbrown
                    last edited by

                    @mrbrown said:

                    apache.jpeg

                    Not sure but I think it’s a problem in the check of the installation of this package in the installation.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mrbrown @ch3i
                      last edited by

                      @ch3i Anything else I can try?

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

                        @mrbrown inside of trunk/lib/common/functions.sh

                        comment out the “exit 1” line by putting a # in front of it like this:

                        upload-f835ef24-141b-4bad-8449-96d121817a5b

                        Then try again. All this will do is allow the installer to continue even if something “fails”. It won’t fix a problem if there actually is a problem though… and fog still might not work…

                        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/

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mrbrown @Wayne Workman
                          last edited by

                          @Wayne-Workman Made the change so it would run out and got thisfoginstall.log

                          • Checking package: libapache2-mod-php5…Failed!
                          • Restarting Apache2 for fog vhost…Failed!
                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @mrbrown
                            last edited by

                            @mrbrown Very interesting. Can you remove both of these and then reinstall them manually?

                            apt-get remove libapache2-mod-php5 apache2
                            apt-get erase libapache2-mod-php5 apache2
                            apt-get install libapache2-mod-php5 apache2
                            

                            I’m not really great with Ubuntu, but you get the idea right? Remove them and reinstall and try again.

                            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/

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mrbrown @Wayne Workman
                              last edited by

                              @Wayne-Workman apache1.jpeg

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

                                Are you behind a proxy?

                                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/

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mrbrown @Wayne Workman
                                  last edited by

                                  @Wayne-Workman no

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

                                    @Developers @Moderators any ideas?

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

                                      @Wayne-Workman I’ve only seen the “threaded” error on our vps and that was relatively simple to fix. That said it was due to the php.ini file we need that allows php to run in threaded instances vs a single thread that php normally operates on. My question for the OP, what modifications have you attempted to make to you Apache configuration and do you have a php.ini.new file hiding in you php file tree?

                                      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

                                      M 3 Replies Last reply Reply Quote 0
                                      • Mark SheltonM
                                        Mark Shelton
                                        last edited by Mark Shelton

                                        Hi,
                                        For what it’s worth, this happened to me on Ubuntu 12.04 and the newer SVN’s. (from about 37xx) It started off with the “json” package failing. I followed a few threads to try and “fix” it but it ended up breaking the package manager. I’m guessing here, but something may be wrong with the extra package repositories added by the SVN and it breaks the package manager. I didn’t take a snapshot of the errors but it had to do with PHP5 and dependencies and was in an endless loop. After a couple of days of frustration and no online solutions, I bit the bullet and did a fresh install of Ubuntu 14.04.3LTS. Reinstalled FOG 1.2.0, then the latest SVN installed seamlessly. I had 3 nodes all on Ubuntu 12.04 and the SVN broke them all. With Ubuntu 14.04 the SVN installs fine. I’m still experiencing problems re-imaging but at least FOG is up and running. Hope this info helps.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by

                                          Sorry, a bit late but maybe this would have helped: http://www.mylinuxguide.com/apache-is-running-a-threaded-mpm-but-your-php-module-is-not-compiled-to-be-threadsafe/

                                          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
                                          • E
                                            EAHarvey
                                            last edited by

                                            I was having a similar issue with trying to update to 1.20 from .032 on a Elementary OS server. The dependencies were just so old and beyond repair it would have taken forever to debug and try to find al the little pieces that were not right. I just went ahead and reloaded my server with Ubuntu 14.04 and reloaded the server. Since then its been fine. I tried all that apache removal stuff and reinstall and it was always some little issue until i reloaded. Have you tried loading a FOG VM on your existing server to just narrow it down to the OS load on your machine?

                                            Don’t know if any of this sparks any ideas, but maybe it will help. 🙂

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

                                            337

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project