Ad Widget

Collapse

Error "No such file or directory" After move the DB directory to another partition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jolalla
    Member
    • May 2021
    • 45

    #16
    Hello [email protected] this is the result

    [root@zabbixmonitor ~]# rpm -qa | grep php
    rh-php72-php-json-7.2.24-1.el7.x86_64
    rh-php72-php-bcmath-7.2.24-1.el7.x86_64
    rh-php72-php-fpm-7.2.24-1.el7.x86_64
    php-common-7.2.34-4.el7.remi.x86_64
    php-php-gettext-1.0.12-1.el7.noarch
    php-fedora-autoloader-1.0.1-2.el7.noarch
    phpMyAdmin-4.4.15.10-4.el7.noarch
    oniguruma5php-6.9.6-1.el7.remi.x86_64
    php72-php-json-7.2.34-4.el7.remi.x86_64
    php72-php-pdo-7.2.34-4.el7.remi.x86_64
    php72-php-mbstring-7.2.34-4.el7.remi.x86_64
    rh-php72-php-zip-7.2.24-1.el7.x86_64
    rh-php72-php-common-7.2.24-1.el7.x86_64
    rh-php72-php-cli-7.2.24-1.el7.x86_64
    rh-php72-php-mysqlnd-7.2.24-1.el7.x86_64
    rh-php72-php-process-7.2.24-1.el7.x86_64
    rh-php72-1-2.el7.x86_64
    rh-php72-php-ldap-7.2.24-1.el7.x86_64
    rh-php72-php-gd-7.2.24-1.el7.x86_64
    php-json-7.2.34-4.el7.remi.x86_64
    php-mbstring-7.2.34-4.el7.remi.x86_64
    php-xml-7.2.34-4.el7.remi.x86_64
    php-bcmath-7.2.34-4.el7.remi.x86_64
    php-mysqlnd-7.2.34-4.el7.remi.x86_64
    php-process-7.2.34-4.el7.remi.x86_64
    php72-runtime-2.0-1.el7.remi.x86_64
    php72-php-common-7.2.34-4.el7.remi.x86_64
    php72-php-cli-7.2.34-4.el7.remi.x86_64
    php72-php-mysqlnd-7.2.34-4.el7.remi.x86_64
    php72-php-xmlrpc-7.2.34-4.el7.remi.x86_64
    php72-php-fpm-7.2.34-4.el7.remi.x86_64
    php72-php-opcache-7.2.34-4.el7.remi.x86_64
    php-pecl-zip-1.19.2-1.el7.remi.7.2.x86_64
    php-tidy-7.2.34-4.el7.remi.x86_64
    php-tcpdf-dejavu-sans-fonts-6.2.26-1.el7.noarch
    php-cli-7.2.34-4.el7.remi.x86_64
    rh-php72-runtime-1-2.el7.x86_64
    rh-php72-php-xml-7.2.24-1.el7.x86_64
    rh-php72-php-pdo-7.2.24-1.el7.x86_64
    rh-php72-php-pear-1.10.5-1.el7.noarch
    rh-php72-php-mbstring-7.2.24-1.el7.x86_64
    php-gd-7.2.34-4.el7.remi.x86_64
    php-pdo-7.2.34-4.el7.remi.x86_64
    php-tcpdf-6.2.26-1.el7.noarch
    php-7.2.34-4.el7.remi.x86_64
    php72-php-xml-7.2.34-4.el7.remi.x86_64
    php72-2.0-1.el7.remi.x86_64
    php72-php-gd-7.2.34-4.el7.remi.x86_64

    Comment

    • jolalla
      Member
      • May 2021
      • 45

      #17
      Hello [email protected] the result is this:


      [root@zabbixmonitor ~]# rpm -qa | grep php
      rh-php72-php-json-7.2.24-1.el7.x86_64
      rh-php72-php-bcmath-7.2.24-1.el7.x86_64
      rh-php72-php-fpm-7.2.24-1.el7.x86_64
      php-common-7.2.34-4.el7.remi.x86_64
      php-php-gettext-1.0.12-1.el7.noarch
      php-fedora-autoloader-1.0.1-2.el7.noarch
      phpMyAdmin-4.4.15.10-4.el7.noarch
      oniguruma5php-6.9.6-1.el7.remi.x86_64
      php72-php-json-7.2.34-4.el7.remi.x86_64
      php72-php-pdo-7.2.34-4.el7.remi.x86_64
      php72-php-mbstring-7.2.34-4.el7.remi.x86_64
      rh-php72-php-zip-7.2.24-1.el7.x86_64
      rh-php72-php-common-7.2.24-1.el7.x86_64
      rh-php72-php-cli-7.2.24-1.el7.x86_64
      rh-php72-php-mysqlnd-7.2.24-1.el7.x86_64
      rh-php72-php-process-7.2.24-1.el7.x86_64
      rh-php72-1-2.el7.x86_64
      rh-php72-php-ldap-7.2.24-1.el7.x86_64
      rh-php72-php-gd-7.2.24-1.el7.x86_64
      php-json-7.2.34-4.el7.remi.x86_64
      php-mbstring-7.2.34-4.el7.remi.x86_64
      php-xml-7.2.34-4.el7.remi.x86_64
      php-bcmath-7.2.34-4.el7.remi.x86_64
      php-mysqlnd-7.2.34-4.el7.remi.x86_64
      php-process-7.2.34-4.el7.remi.x86_64
      php72-runtime-2.0-1.el7.remi.x86_64
      php72-php-common-7.2.34-4.el7.remi.x86_64
      php72-php-cli-7.2.34-4.el7.remi.x86_64
      php72-php-mysqlnd-7.2.34-4.el7.remi.x86_64
      php72-php-xmlrpc-7.2.34-4.el7.remi.x86_64
      php72-php-fpm-7.2.34-4.el7.remi.x86_64
      php72-php-opcache-7.2.34-4.el7.remi.x86_64
      php-pecl-zip-1.19.2-1.el7.remi.7.2.x86_64
      php-tidy-7.2.34-4.el7.remi.x86_64
      php-tcpdf-dejavu-sans-fonts-6.2.26-1.el7.noarch
      php-cli-7.2.34-4.el7.remi.x86_64
      rh-php72-runtime-1-2.el7.x86_64
      rh-php72-php-xml-7.2.24-1.el7.x86_64
      rh-php72-php-pdo-7.2.24-1.el7.x86_64
      rh-php72-php-pear-1.10.5-1.el7.noarch
      rh-php72-php-mbstring-7.2.24-1.el7.x86_64
      php-gd-7.2.34-4.el7.remi.x86_64
      php-pdo-7.2.34-4.el7.remi.x86_64
      php-tcpdf-6.2.26-1.el7.noarch
      php-7.2.34-4.el7.remi.x86_64
      php72-php-xml-7.2.34-4.el7.remi.x86_64
      php72-2.0-1.el7.remi.x86_64





      [root@zabbixmonitor ~]# /bin/su -s /bin/bash -c 'which php' apache
      /usr/bin/php

      [root@zabbixmonitor ~]# /bin/su -s /bin/bash -c 'which php' nginx
      su: user nginx does not exist


      Thanks again.

      Comment

      • james.cook000@gmail.com
        Member
        • Apr 2018
        • 49

        #18
        Hi Jolalla,

        Ok so it looks like you have the 'remi' and 'Redhat software collection' versions of php installed.

        If you update '/etc/opt/rh/rh-php72/php.ini' with the new mysql socket details and see how it goes.


        Cheers
        James

        Comment

        • jolalla
          Member
          • May 2021
          • 45

          #19
          [email protected] It worked, that was it !!

          You are a true genius !! really thank you very much. you saved my day !!
          Now I will start working on adding the hosts!
          Thanks thanks.
          I'm not an expert in zabbix or linux, could I write to you if I need other help later? (I'm sure if I need it) hehe
          In the same way I am writing down all your teachings!

          Thanks !!

          Comment

          • james.cook000@gmail.com
            Member
            • Apr 2018
            • 49

            #20
            Hi Jolalla,

            No problems, enjoy.

            Cheers
            James

            Comment

            Working...