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

    installfog does not see php55-php-fpm

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    2
    4
    627
    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.
    • L
      leonj
      last edited by

      I am installing fog on RedHat 7 I edited the fogsettings file to reflect the internal repos we have and the installfog runs well until

      • Backing up user reports…Done
      • Stopping web service…Failed!

      Error log says :
      Aug 22 09:30:32 pl02149v mysqld_safe[41845]: 180822 09:30:32 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
      Aug 22 09:30:34 pl02149v systemd[1]: Started MariaDB database server.
      Failed to stop php-fpm.service: Unit php-fpm.service not loaded.

      the service for php-fpm is :

      systemctl status php55-php-fpm
      ● php55-php-fpm.service - The PHP FastCGI Process Manager

      I set php version in settings file :

      backupPath=‘/home/’
      php_ver=‘5.5’
      php_verAdds=‘-5.5’

      Still the error ?

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

        I managed to make a simple symlink on the /usr/lib/systemd/system/ folder
        php-fpm.service -> /usr/lib/systemd/system/rh-php56-php-fpm.service and this seemed to clear the problem.

        thank you

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator
          last edited by

          Fog expects the service to still be called php-fpm, regardless of version number.

          L 1 Reply Last reply Reply Quote 0
          • L
            leonj @Quazz
            last edited by

            @Quazz I am trying to see how to keep the name. The yum install takes the name like php55-php-fpm. I do not know how to alias it for the service name

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

              I managed to make a simple symlink on the /usr/lib/systemd/system/ folder
              php-fpm.service -> /usr/lib/systemd/system/rh-php56-php-fpm.service and this seemed to clear the problem.

              thank you

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

              191

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project