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

    Failed to start php-fpm.service

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    29
    8.6k
    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.
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      @LOF said in Failed to start php-fpm.service:

      Also, I’ve already pulled down the dev-branch and got the error before my initial post

      Which version number is shown by the installer script? Just want to make sure we are on the right track here.

      As well make sure this is still in a kind of fresh state and /opt/fog/.fogettings is not created yet. Because if it is then things will behave differently in this particular situation.

      Should I delete the previous dev-branch install and download/run it again?

      No need to delete. You can re-run the FOG installer as often as you like if it is the same or a later version of what you have installed/run before. Should not cause any trouble.

      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

      L 1 Reply Last reply Reply Quote 0
      • L
        LOF @Sebastian Roth
        last edited by

        @Sebastian-Roth Hi Sebastian, thanks for the response and sorry for the delay. The version showing in the current installer script I have is: Version: 1.5.9-RC2.10 As for /opt/fog/.fogsettings I’ve confirmed again it isn’t there and the /opt directory is empty.

        I ran the installer again to get the version number and it failed:

        fog/fogproject-dev-branch/bin/error_logs/fog_error_1.5.9-RC2.10.log !!
        !!!

        ii wget 1.20.3-1ubuntu1 amd64 retrieves files from the web
        ii xinetd 1:2.3.15.3-1 amd64 replacement for inetd with many enhancements
        ii zlib1g:amd64 1:1.2.11.dfsg-2ubuntu1 amd64 compression library - runtime
        New password: Retype new password: passwd: password updated successfully
        Failed to stop php-fpm.service: Unit php-fpm.service not loaded.

        Thanks and let me know if I should download/try a different version.

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

          @LOF Seems like your git pull has not gone to the latest version, which is 1.5.9-RC2.11

          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

          L 1 Reply Last reply Reply Quote 0
          • L
            LOF @Sebastian Roth
            last edited by

            @Sebastian-Roth Thanks for pointing that out, I didn’t do a git pull initially, just downloaded the .tar.gz I’ll grab that version and see how the install goes. I’ll let you know.

            1 Reply Last reply Reply Quote 0
            • L
              LOF
              last edited by

              @Sebastian-Roth Good news! I did a git-pull this morning from dev-branch, ran the installer and it worked! I’ve created an image and will test capture/deploy but I expect it will work fine. Question: Any risk staying on the dev version or should I plan on switching to the next stable version when it’s GA?

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

                @LOF Staying on dev-branch is currently not very “dangerous” at the moment because we don’t have the time to push out much changes. So it’s save to stay there for now. I recommend you to update to 1.5.9 when it’s finally out.

                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

                L 1 Reply Last reply Reply Quote 0
                • L
                  LOF @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Great, thanks for helping to get this working on Linux Mint! One last question: What’s the recommended/most-tested distro for running FOG? Is that still CentOS?

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @LOF
                    last edited by george1421

                    @LOF said in Failed to start php-fpm.service:

                    What’s the recommended/most-tested distro for running FOG? Is that still CentOS?

                    Most of the common distros are tested every night against the current release of FOG. That testing system is managed by @Wayne-Workman
                    Daily Clean Installation Results: http://fogtesting.theworkmans.us/

                    The most stable OS to date is Centos 7 and 8 (caveat I just saw that centos 8 has an issue today). Now understand that may change tomorrow, but for today Centos.

                    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!

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      LOF @george1421
                      last edited by

                      @george1421 Ok great and VERY helpful! Thanks! 🙂

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

                        I know @george1421 loves CentOS, but Debian is also very stable for fog too 🙂

                        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/

                        L 1 Reply Last reply Reply Quote 1
                        • L
                          LOF @Wayne Workman
                          last edited by

                          @Wayne-Workman Thanks Wayne, that’s good to know! LM is my favorite distro and what I’m most familiar with. They do have a version based on Debian called ‘LMDE’ https://www.linuxmint.com/download_lmde.php Being a long-time FOG user/fan it seems maybe a distro designed more for a server than a desktop role would be better. Up until now I’ve never had any issues at all running FOG on Linux Mint but I’m not averse to switching to something else that works better and is more stable. One of the things I’ve learned since becoming involved with Open Source projects way back in 1997 is “The right tool for the job.” 🙂

                          1 Reply Last reply Reply Quote 1
                          • J
                            jester805
                            last edited by

                            Any update on this issue? I am trying to install FOG 1.5.9 on Ubuntu and getting the exact same errors.

                            Failed to stop php7.1-fpm.service: Unit php7.1-fpm.service not loaded.

                            (Also tried on Ubuntu 22).

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @jester805
                              last edited by

                              @jester805 similar to recent thread: https://forums.fogproject.org/topic/16399/upgrading-fog-1-5-4-to-1-5-9-stable-version-using-github?_=1658515431542

                              Answer No to the first question about reinstalling apache seems to let the OP of that thread get things installed on 16.04.

                              FWIW Ubuntu 20.04 LTS is the latest version supported by the FOG installer. 22.04 LTS has not been tested as of now.

                              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!

                              1 Reply Last reply Reply Quote 0
                              • S
                                sow20
                                last edited by

                                Hello, anyone know how to fix this issue while intalling fog plz :“Unit php-fpm.service not found” - “failed to start php-fpm.service” ?

                                I’m desparate 😞

                                george1421G 1 Reply Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @sow20
                                  last edited by

                                  @sow20 Please upgrade your installer package to the dev-branch. The 1.5.9GA release doesn’t support Debian 11 or Ubuntu 21.04 or newer.

                                  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!

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    sow20 @george1421
                                    last edited by

                                    @george1421 said in Failed to start php-fpm.service:

                                    Please upgrade your installer package to the dev-branch.

                                    Thank you @george1421 It work ! 😄

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

                                    198

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project