Ankündigung

Einklappen
Keine Ankündigung bisher.

grafana und edomi - influx nötig?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Hi, ich hab gerade auch probiert und genau das gleiche "Problem"

    Hier mal der gesamte Installationsprozess.. ich hab zumindest bei der Installation keine Fehler entdeckt:

    Code:
    [root@edomi ~]# yum -y install php-process git gcc make mysql-devel php-devel
    Geladene Plugins: fastestmirror
    Determining fastest mirrors
    epel/x86_64/metalink                                     |  31 kB     00:00
     * base: de.mirrors.clouvider.net
     * epel: ftp.plusline.net
     * extras: mirror.fra10.de.leaseweb.net
     * remi-php74: mirror.23m.com
     * remi-safe: mirror.23m.com
     * updates: mirror.fra10.de.leaseweb.net
    base                                                     | 3.6 kB     00:00
    epel                                                     | 4.7 kB     00:00
    extras                                                   | 2.9 kB     00:00
    remi-php74                                               | 3.0 kB     00:00
    remi-safe                                                | 3.0 kB     00:00
    updates                                                  | 2.9 kB     00:00
    epel/x86_64/updateinfo         FAILED
    https://mirrors.xtom.de/epel/7/x86_64/repodata/5d414e23e00863cc36c38be0db4e7d739                                dc05485c64af5084181642c08e46b9f-updateinfo.xml.bz2: [Errno 14] HTTPS Error 404 -                                 Not Found
    Anderer Spiegelserver wird versucht.
    To address this issue please refer to the below wiki article
    
    https://wiki.centos.org/yum-errors
    
    If above article doesn't help to resolve this issue please use https://bugs.cent                                os.org/.
    
    (1/7): epel/x86_64/group_gz                                |  97 kB   00:00
    (2/7): epel/x86_64/primary_db                              | 7.0 MB   00:00
    (3/7): remi-php74/primary_db                               | 259 kB   00:00
    (4/7): extras/7/x86_64/primary_db                          | 249 kB   00:00
    (5/7): epel/x86_64/updateinfo                              | 1.0 MB   00:00
    (6/7): remi-safe/primary_db                                | 2.3 MB   00:01
    (7/7): updates/7/x86_64/primary_db                         |  17 MB   00:01
    Paket git-1.8.3.1-23.el7_8.x86_64 ist bereits in der neuesten Version installier                                t.
    Paket gcc-4.8.5-44.el7.x86_64 ist bereits in der neuesten Version installiert.
    Paket 1:make-3.82-24.el7.x86_64 ist bereits in der neuesten Version installiert.
    Abhängigkeiten werden aufgelöst
    --> Transaktionsprüfung wird ausgeführt
    ---> Paket mariadb-devel.x86_64 1:5.5.68-1.el7 markiert, um installiert zu werde                                n
    ---> Paket php-devel.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu wer                                den
    ---> Paket php-devel.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung                                 zu werden
    --> Abhängigkeit php-cli(x86-64) = 7.4.32-1.el7.remi wird für Paket php-devel-7.                                4.32-1.el7.remi.x86_64 verarbeitet
    ---> Paket php-process.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu w                                erden
    ---> Paket php-process.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisieru                                ng zu werden
    --> Abhängigkeit php-common(x86-64) = 7.4.32-1.el7.remi wird für Paket php-proce                                ss-7.4.32-1.el7.remi.x86_64 verarbeitet
    --> Transaktionsprüfung wird ausgeführt
    ---> Paket php-cli.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werde                                n
    --> Abhängigkeit php-cli(x86-64) = 7.4.29-1.el7.remi wird für Paket php-7.4.29-1                                .el7.remi.x86_64 verarbeitet
    ---> Paket php-cli.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung z                                u werden
    ---> Paket php-common.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu we                                rden
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-fpm-7                                .4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-gd-7.                                4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-pdo-7                                .4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-mbstr                                ing-7.4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-bcmat                                h-7.4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-sodiu                                m-7.4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-xml-7                                .4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-json-                                7.4.29-1.el7.remi.x86_64 verarbeitet
    --> Abhängigkeit php-common(x86-64) = 7.4.29-1.el7.remi wird für Paket php-soap-                                7.4.29-1.el7.remi.x86_64 verarbeitet
    ---> Paket php-common.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierun                                g zu werden
    --> Transaktionsprüfung wird ausgeführt
    ---> Paket php.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werden
    ---> Paket php.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung zu we                                rden
    ---> Paket php-bcmath.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu we                                rden
    ---> Paket php-bcmath.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierun                                g zu werden
    ---> Paket php-fpm.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werde                                n
    ---> Paket php-fpm.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung z                                u werden
    ---> Paket php-gd.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werden
    ---> Paket php-gd.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung zu                                 werden
    ---> Paket php-json.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werd                                en
    ---> Paket php-json.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung                                 zu werden
    ---> Paket php-mbstring.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu                                 werden
    ---> Paket php-mbstring.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisier                                ung zu werden
    ---> Paket php-pdo.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werde                                n
    --> Abhängigkeit php-pdo(x86-64) = 7.4.29-1.el7.remi wird für Paket php-mysqlnd-                                7.4.29-1.el7.remi.x86_64 verarbeitet
    ---> Paket php-pdo.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung z                                u werden
    ---> Paket php-soap.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werd                                en
    ---> Paket php-soap.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung                                 zu werden
    ---> Paket php-sodium.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu we                                rden
    ---> Paket php-sodium.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierun                                g zu werden
    ---> Paket php-xml.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu werde                                n
    ---> Paket php-xml.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisierung z                                u werden
    --> Transaktionsprüfung wird ausgeführt
    ---> Paket php-mysqlnd.x86_64 0:7.4.29-1.el7.remi markiert, um aktualisiert zu w                                erden
    ---> Paket php-mysqlnd.x86_64 0:7.4.32-1.el7.remi markiert, um eine Aktualisieru                                ng zu werden
    --> Abhängigkeitsauflösung beendet
    
    Abhängigkeiten aufgelöst
    
    ================================================================================
     Package            Arch        Version                   Paketquelle     Größe
    ================================================================================
    Installieren:
     mariadb-devel      x86_64      1:5.5.68-1.el7            base            757 k
    Aktualisieren:
     php-devel          x86_64      7.4.32-1.el7.remi         remi-php74      1.2 M
     php-process        x86_64      7.4.32-1.el7.remi         remi-php74       93 k
    Aktualisiert für Abhängigkeiten:
     php                x86_64      7.4.32-1.el7.remi         remi-php74      3.4 M
     php-bcmath         x86_64      7.4.32-1.el7.remi         remi-php74       81 k
     php-cli            x86_64      7.4.32-1.el7.remi         remi-php74      5.2 M
     php-common         x86_64      7.4.32-1.el7.remi         remi-php74      1.2 M
     php-fpm            x86_64      7.4.32-1.el7.remi         remi-php74      1.8 M
     php-gd             x86_64      7.4.32-1.el7.remi         remi-php74       89 k
     php-json           x86_64      7.4.32-1.el7.remi         remi-php74       74 k
     php-mbstring       x86_64      7.4.32-1.el7.remi         remi-php74      526 k
     php-mysqlnd        x86_64      7.4.32-1.el7.remi         remi-php74      256 k
     php-pdo            x86_64      7.4.32-1.el7.remi         remi-php74      139 k
     php-soap           x86_64      7.4.32-1.el7.remi         remi-php74      223 k
     php-sodium         x86_64      7.4.32-1.el7.remi         remi-php74       86 k
     php-xml            x86_64      7.4.32-1.el7.remi         remi-php74      210 k
    
    Transaktionsübersicht
    ================================================================================
    Installieren   1 Paket
    Aktualisieren  2 Pakete (+13 Abhängige Pakete)
    
    Gesamte Downloadgröße: 15 M
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    (1/16): php-bcmath-7.4.32-1.el7.remi.x86_64.rpm            |  81 kB   00:00
    (2/16): mariadb-devel-5.5.68-1.el7.x86_64.rpm              | 757 kB   00:00
    (3/16): php-7.4.32-1.el7.remi.x86_64.rpm                   | 3.4 MB   00:02
    (4/16): php-common-7.4.32-1.el7.remi.x86_64.rpm            | 1.2 MB   00:00
    (5/16): php-cli-7.4.32-1.el7.remi.x86_64.rpm               | 5.2 MB   00:03
    (6/16): php-devel-7.4.32-1.el7.remi.x86_64.rpm             | 1.2 MB   00:00
    (7/16): php-gd-7.4.32-1.el7.remi.x86_64.rpm                |  89 kB   00:00
    (8/16): php-json-7.4.32-1.el7.remi.x86_64.rpm              |  74 kB   00:00
    (9/16): php-mbstring-7.4.32-1.el7.remi.x86_64.rpm          | 526 kB   00:00
    (10/16): php-mysqlnd-7.4.32-1.el7.remi.x86_64.rpm          | 256 kB   00:00
    (11/16): php-fpm-7.4.32-1.el7.remi.x86_64.rpm              | 1.8 MB   00:00
    (12/16): php-pdo-7.4.32-1.el7.remi.x86_64.rpm              | 139 kB   00:00
    (13/16): php-process-7.4.32-1.el7.remi.x86_64.rpm          |  93 kB   00:00
    (14/16): php-sodium-7.4.32-1.el7.remi.x86_64.rpm           |  86 kB   00:00
    (15/16): php-soap-7.4.32-1.el7.remi.x86_64.rpm             | 223 kB   00:00
    (16/16): php-xml-7.4.32-1.el7.remi.x86_64.rpm              | 210 kB   00:00
    --------------------------------------------------------------------------------
    Gesamt                                             3.2 MB/s |  15 MB  00:04
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Aktualisieren    : php-common-7.4.32-1.el7.remi.x86_64                   1/31
      Aktualisieren    : php-json-7.4.32-1.el7.remi.x86_64                     2/31
      Aktualisieren    : php-cli-7.4.32-1.el7.remi.x86_64                      3/31
      Aktualisieren    : php-pdo-7.4.32-1.el7.remi.x86_64                      4/31
      Aktualisieren    : php-sodium-7.4.32-1.el7.remi.x86_64                   5/31
      Aktualisieren    : php-7.4.32-1.el7.remi.x86_64                          6/31
      Aktualisieren    : php-mysqlnd-7.4.32-1.el7.remi.x86_64                  7/31
      Aktualisieren    : php-devel-7.4.32-1.el7.remi.x86_64                    8/31
      Aktualisieren    : php-process-7.4.32-1.el7.remi.x86_64                  9/31
      Aktualisieren    : php-gd-7.4.32-1.el7.remi.x86_64                      10/31
      Aktualisieren    : php-fpm-7.4.32-1.el7.remi.x86_64                     11/31
      Aktualisieren    : php-xml-7.4.32-1.el7.remi.x86_64                     12/31
      Aktualisieren    : php-soap-7.4.32-1.el7.remi.x86_64                    13/31
      Aktualisieren    : php-mbstring-7.4.32-1.el7.remi.x86_64                14/31
      Aktualisieren    : php-bcmath-7.4.32-1.el7.remi.x86_64                  15/31
      Installieren     : 1:mariadb-devel-5.5.68-1.el7.x86_64                  16/31
      Aufräumen        : php-7.4.29-1.el7.remi.x86_64                         17/31
      Aufräumen        : php-devel-7.4.29-1.el7.remi.x86_64                   18/31
      Aufräumen        : php-cli-7.4.29-1.el7.remi.x86_64                     19/31
      Aufräumen        : php-sodium-7.4.29-1.el7.remi.x86_64                  20/31
      Aufräumen        : php-bcmath-7.4.29-1.el7.remi.x86_64                  21/31
      Aufräumen        : php-mbstring-7.4.29-1.el7.remi.x86_64                22/31
      Aufräumen        : php-soap-7.4.29-1.el7.remi.x86_64                    23/31
      Aufräumen        : php-xml-7.4.29-1.el7.remi.x86_64                     24/31
      Aufräumen        : php-mysqlnd-7.4.29-1.el7.remi.x86_64                 25/31
      Aufräumen        : php-pdo-7.4.29-1.el7.remi.x86_64                     26/31
      Aufräumen        : php-fpm-7.4.29-1.el7.remi.x86_64                     27/31
      Aufräumen        : php-gd-7.4.29-1.el7.remi.x86_64                      28/31
      Aufräumen        : php-process-7.4.29-1.el7.remi.x86_64                 29/31
      Aufräumen        : php-json-7.4.29-1.el7.remi.x86_64                    30/31
      Aufräumen        : php-common-7.4.29-1.el7.remi.x86_64                  31/31
      Überprüfung läuft: php-7.4.32-1.el7.remi.x86_64                          1/31
      Überprüfung läuft: php-pdo-7.4.32-1.el7.remi.x86_64                      2/31
      Überprüfung läuft: php-json-7.4.32-1.el7.remi.x86_64                     3/31
      Überprüfung läuft: php-process-7.4.32-1.el7.remi.x86_64                  4/31
      Überprüfung läuft: php-gd-7.4.32-1.el7.remi.x86_64                       5/31
      Überprüfung läuft: php-sodium-7.4.32-1.el7.remi.x86_64                   6/31
      Überprüfung läuft: php-fpm-7.4.32-1.el7.remi.x86_64                      7/31
      Überprüfung läuft: php-mysqlnd-7.4.32-1.el7.remi.x86_64                  8/31
      Überprüfung läuft: php-xml-7.4.32-1.el7.remi.x86_64                      9/31
      Überprüfung läuft: php-soap-7.4.32-1.el7.remi.x86_64                    10/31
      Überprüfung läuft: php-devel-7.4.32-1.el7.remi.x86_64                   11/31
      Überprüfung läuft: php-common-7.4.32-1.el7.remi.x86_64                  12/31
      Überprüfung läuft: php-mbstring-7.4.32-1.el7.remi.x86_64                13/31
      Überprüfung läuft: 1:mariadb-devel-5.5.68-1.el7.x86_64                  14/31
      Überprüfung läuft: php-cli-7.4.32-1.el7.remi.x86_64                     15/31
      Überprüfung läuft: php-bcmath-7.4.32-1.el7.remi.x86_64                  16/31
      Überprüfung läuft: php-gd-7.4.29-1.el7.remi.x86_64                      17/31
      Überprüfung läuft: php-json-7.4.29-1.el7.remi.x86_64                    18/31
      Überprüfung läuft: php-xml-7.4.29-1.el7.remi.x86_64                     19/31
      Überprüfung läuft: php-process-7.4.29-1.el7.remi.x86_64                 20/31
      Überprüfung läuft: php-7.4.29-1.el7.remi.x86_64                         21/31
      Überprüfung läuft: php-cli-7.4.29-1.el7.remi.x86_64                     22/31
      Überprüfung läuft: php-mysqlnd-7.4.29-1.el7.remi.x86_64                 23/31
      Überprüfung läuft: php-soap-7.4.29-1.el7.remi.x86_64                    24/31
      Überprüfung läuft: php-common-7.4.29-1.el7.remi.x86_64                  25/31
      Überprüfung läuft: php-sodium-7.4.29-1.el7.remi.x86_64                  26/31
      Überprüfung läuft: php-fpm-7.4.29-1.el7.remi.x86_64                     27/31
      Überprüfung läuft: php-devel-7.4.29-1.el7.remi.x86_64                   28/31
      Überprüfung läuft: php-pdo-7.4.29-1.el7.remi.x86_64                     29/31
      Überprüfung läuft: php-mbstring-7.4.29-1.el7.remi.x86_64                30/31
      Überprüfung läuft: php-bcmath-7.4.29-1.el7.remi.x86_64                  31/31
    
    Installiert:
      mariadb-devel.x86_64 1:5.5.68-1.el7
    
    Aktualisiert:
      php-devel.x86_64 0:7.4.32-1.el7.remi  php-process.x86_64 0:7.4.32-1.el7.remi
    
    Abhängigkeit aktualisiert:
      php.x86_64 0:7.4.32-1.el7.remi
      php-bcmath.x86_64 0:7.4.32-1.el7.remi
      php-cli.x86_64 0:7.4.32-1.el7.remi
      php-common.x86_64 0:7.4.32-1.el7.remi
      php-fpm.x86_64 0:7.4.32-1.el7.remi
      php-gd.x86_64 0:7.4.32-1.el7.remi
      php-json.x86_64 0:7.4.32-1.el7.remi
      php-mbstring.x86_64 0:7.4.32-1.el7.remi
      php-mysqlnd.x86_64 0:7.4.32-1.el7.remi
      php-pdo.x86_64 0:7.4.32-1.el7.remi
      php-soap.x86_64 0:7.4.32-1.el7.remi
      php-sodium.x86_64 0:7.4.32-1.el7.remi
      php-xml.x86_64 0:7.4.32-1.el7.remi
    
    Komplett!
    [root@edomi ~]# yum -y install autoconf automake libtool
    Geladene Plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: de.mirrors.clouvider.net
     * epel: ftp.plusline.net
     * extras: mirror.fra10.de.leaseweb.net
     * remi-php74: mirror.23m.com
     * remi-safe: mirror.23m.com
     * updates: mirror.fra10.de.leaseweb.net
    Paket autoconf-2.69-11.el7.noarch ist bereits in der neuesten Version installier                                t.
    Paket automake-1.13.4-3.el7.noarch ist bereits in der neuesten Version installie                                rt.
    Paket libtool-2.4.2-22.el7_3.x86_64 ist bereits in der neuesten Version installi                                ert.
    Nichts zu tun
    [root@edomi ~]# cd /tmp
    [root@edomi tmp]# git clone https://github.com/jonofe/lib_mysqludf_sys
    Klone nach 'lib_mysqludf_sys'...
    remote: Enumerating objects: 17, done.
    remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 17
    Unpacking objects: 100% (17/17), done.
    [root@edomi tmp]# cd lib_mysqludf_sys/
    [root@edomi lib_mysqludf_sys]# ./install.sh
    Compiling the MySQL UDF
    gcc -DMYSQL_DYNAMIC_PLUGIN -fPIC -Wall -I/usr/include/mysql -I. -shared lib_mysq                                ludf_sys.c -o /usr/lib64/mysql/plugin/lib_mysqludf_sys.so
    MySQL UDF compiled successfully
    
    Please provide your MySQL root password
    MySQL UDF installed successfully
    [root@edomi lib_mysqludf_sys]# cd /tmp
    [root@edomi tmp]# rm -rf lib_mysqludf_sys/
    [root@edomi tmp]# git clone https://github.com/mysqludf/lib_mysqludf_log
    Klone nach 'lib_mysqludf_log'...
    remote: Enumerating objects: 36, done.
    remote: Total 36 (delta 0), reused 0 (delta 0), pack-reused 36
    Unpacking objects: 100% (36/36), done.
    [root@edomi tmp]# cd lib_mysqludf_log
    [root@edomi lib_mysqludf_log]# autoreconf -i
    libtoolize: Consider adding `-I config' to ACLOCAL_AMFLAGS in Makefile.am.
    [root@edomi lib_mysqludf_log]# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    /tmp/lib_mysqludf_log/config/missing: Unknown `--is-lightweight' option
    Try `/tmp/lib_mysqludf_log/config/missing --help' for more information
    configure: WARNING: 'missing' script is too old or missing
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-li                                nux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format.                                .. func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... dlltool
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libr                                aries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for mysql_config... /usr/bin/mysql_config
    checking for MySQL libraries... yes
    configure: setting libdir to mysql plugin dir /usr/lib64/mysql/plugin
    checking for mysqlbin... checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking syslimits.h usability... no
    checking syslimits.h presence... no
    checking for syslimits.h... no
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating test/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    [root@edomi lib_mysqludf_log]# make
    make  all-recursive
    make[1]: Entering directory `/tmp/lib_mysqludf_log'
    Making all in test
    make[2]: Entering directory `/tmp/lib_mysqludf_log/test'
    make[2]: Für das Ziel »all« ist nichts zu tun.
    make[2]: Leaving directory `/tmp/lib_mysqludf_log/test'
    make[2]: Entering directory `/tmp/lib_mysqludf_log'
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -DSTANDA                                RD -DMYSQL_SERVER -I/usr/include/mysql -g -O2 -MT lib_mysqludf_log_la-lib_mysqlu                                df_log.lo -MD -MP -MF .deps/lib_mysqludf_log_la-lib_mysqludf_log.Tpo -c -o lib_m                                ysqludf_log_la-lib_mysqludf_log.lo `test -f 'lib_mysqludf_log.c' || echo './'`li                                b_mysqludf_log.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/incl                                ude/mysql -g -O2 -MT lib_mysqludf_log_la-lib_mysqludf_log.lo -MD -MP -MF .deps/l                                ib_mysqludf_log_la-lib_mysqludf_log.Tpo -c lib_mysqludf_log.c  -fPIC -DPIC -o .l                                ibs/lib_mysqludf_log_la-lib_mysqludf_log.o
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/incl                                ude/mysql -g -O2 -MT lib_mysqludf_log_la-lib_mysqludf_log.lo -MD -MP -MF .deps/l                                ib_mysqludf_log_la-lib_mysqludf_log.Tpo -c lib_mysqludf_log.c -o lib_mysqludf_lo                                g_la-lib_mysqludf_log.o >/dev/null 2>&1
    mv -f .deps/lib_mysqludf_log_la-lib_mysqludf_log.Tpo .deps/lib_mysqludf_log_la-l                                ib_mysqludf_log.Plo
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -DSTANDA                                RD -DMYSQL_SERVER -I/usr/include/mysql -g -O2 -MT lib_mysqludf_log_la-mysqludf.l                                o -MD -MP -MF .deps/lib_mysqludf_log_la-mysqludf.Tpo -c -o lib_mysqludf_log_la-m                                ysqludf.lo `test -f 'mysqludf.c' || echo './'`mysqludf.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/incl                                ude/mysql -g -O2 -MT lib_mysqludf_log_la-mysqludf.lo -MD -MP -MF .deps/lib_mysql                                udf_log_la-mysqludf.Tpo -c mysqludf.c  -fPIC -DPIC -o .libs/lib_mysqludf_log_la-                                mysqludf.o
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/incl                                ude/mysql -g -O2 -MT lib_mysqludf_log_la-mysqludf.lo -MD -MP -MF .deps/lib_mysql                                udf_log_la-mysqludf.Tpo -c mysqludf.c -o lib_mysqludf_log_la-mysqludf.o >/dev/nu                                ll 2>&1
    mv -f .deps/lib_mysqludf_log_la-mysqludf.Tpo .deps/lib_mysqludf_log_la-mysqludf.                                Plo
    /bin/sh ./libtool  --tag=CC   --mode=link gcc -DSTANDARD -DMYSQL_SERVER -I/usr/i                                nclude/mysql -g -O2 -module -avoid-version -no-undefined -rpath /usr/lib64/mysql                                /plugin  -o lib_mysqludf_log.la -rpath /usr/lib64/mysql/plugin lib_mysqludf_log_                                la-lib_mysqludf_log.lo lib_mysqludf_log_la-mysqludf.lo
    libtool: link: gcc -shared  -fPIC -DPIC  .libs/lib_mysqludf_log_la-lib_mysqludf_                                log.o .libs/lib_mysqludf_log_la-mysqludf.o    -O2   -Wl,-soname -Wl,lib_mysqludf                                _log.so -o .libs/lib_mysqludf_log.so
    libtool: link: ar cru .libs/lib_mysqludf_log.a  lib_mysqludf_log_la-lib_mysqludf                                _log.o lib_mysqludf_log_la-mysqludf.o
    libtool: link: ranlib .libs/lib_mysqludf_log.a
    libtool: link: ( cd ".libs" && rm -f "lib_mysqludf_log.la" && ln -s "../lib_mysq                                ludf_log.la" "lib_mysqludf_log.la" )
    make[2]: Leaving directory `/tmp/lib_mysqludf_log'
    make[1]: Leaving directory `/tmp/lib_mysqludf_log'
    [root@edomi lib_mysqludf_log]# make install
    Making install in test
    make[1]: Entering directory `/tmp/lib_mysqludf_log/test'
    make[2]: Entering directory `/tmp/lib_mysqludf_log/test'
    make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
    make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
    make[2]: Leaving directory `/tmp/lib_mysqludf_log/test'
    make[1]: Leaving directory `/tmp/lib_mysqludf_log/test'
    make[1]: Entering directory `/tmp/lib_mysqludf_log'
    make[2]: Entering directory `/tmp/lib_mysqludf_log'
     /usr/bin/mkdir -p '/usr/lib64/mysql/plugin'
     /bin/sh ./libtool   --mode=install /usr/bin/install -c   lib_mysqludf_log.la '/                                usr/lib64/mysql/plugin'
    libtool: install: /usr/bin/install -c .libs/lib_mysqludf_log.so /usr/lib64/mysql                                /plugin/lib_mysqludf_log.so
    libtool: install: /usr/bin/install -c .libs/lib_mysqludf_log.lai /usr/lib64/mysq                                l/plugin/lib_mysqludf_log.la
    libtool: install: /usr/bin/install -c .libs/lib_mysqludf_log.a /usr/lib64/mysql/                                plugin/lib_mysqludf_log.a
    libtool: install: chmod 644 /usr/lib64/mysql/plugin/lib_mysqludf_log.a
    libtool: install: ranlib /usr/lib64/mysql/plugin/lib_mysqludf_log.a
    libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/b                                in:/sbin" ldconfig -n /usr/lib64/mysql/plugin
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/lib64/mysql/plugin
    
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
    
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
    make[2]: Leaving directory `/tmp/lib_mysqludf_log'
    make[1]: Leaving directory `/tmp/lib_mysqludf_log'
    [root@edomi lib_mysqludf_log]# mysql < installdb.sql
    [root@edomi lib_mysqludf_log]# cd /tmp
    [root@edomi tmp]# wget --no-check-certificate https://getcomposer.org/installer
    --2022-10-11 14:23:50--  https://getcomposer.org/installer
    Auflösen des Hostnamen »getcomposer.org (getcomposer.org)«... 54.36.53.46, 2001:                                41d0:302:1100::8:104f
    Verbindungsaufbau zu getcomposer.org (getcomposer.org)|54.36.53.46|:443... verbu                                nden.
    HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
    Länge: 58140 (57K) [application/octet-stream]
    In »»installer«« speichern.
    
    100%[======================================>] 58.140      --.-K/s   in 0,04s
    
    2022-10-11 14:23:50 (1,32 MB/s) - »»installer«« gespeichert [58140/58140]
    
    [root@edomi tmp]# php installer
    All settings correct for using Composer
    Downloading...
    
    Composer (version 2.4.2) successfully installed to: /tmp/composer.phar
    Use it: php composer.phar
    
    [root@edomi tmp]# mv -f composer.phar /usr/local/bin/composer
    [root@edomi tmp]# cd /usr/local/edomi/www/admin/include/php/
    [root@edomi php]# mkdir influx-client
    [root@edomi php]# cd influx-client/
    [root@edomi influx-client]# composer require influxdata/influxdb-client-php
    Do not run Composer as root/super user! See https://getcomposer.org/root for det                                ails
    Continue as root/super user [yes]? yes
    Info from https://repo.packagist.org: #StandWithUkraine
    Using version ^3.0 for influxdata/influxdb-client-php
    ./composer.json has been created
    Running composer update influxdata/influxdb-client-php
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 15 installs, 0 updates, 0 removals
      - Locking clue/stream-filter (v1.6.0)
      - Locking influxdata/influxdb-client-php (3.0.0)
      - Locking php-http/client-common (2.6.0)
      - Locking php-http/discovery (1.14.3)
      - Locking php-http/httplug (2.3.0)
      - Locking php-http/message (1.13.0)
      - Locking php-http/message-factory (v1.0.2)
      - Locking php-http/promise (1.1.0)
      - Locking psr/http-client (1.0.1)
      - Locking psr/http-factory (1.0.1)
      - Locking psr/http-message (1.0.1)
      - Locking symfony/deprecation-contracts (v2.5.2)
      - Locking symfony/options-resolver (v5.4.11)
      - Locking symfony/polyfill-php73 (v1.26.0)
      - Locking symfony/polyfill-php80 (v1.26.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 15 installs, 0 updates, 0 removals
      - Downloading php-http/discovery (1.14.3)
      - Downloading symfony/polyfill-php80 (v1.26.0)
      - Downloading symfony/polyfill-php73 (v1.26.0)
      - Downloading symfony/options-resolver (v5.4.11)
      - Downloading php-http/message-factory (v1.0.2)
      - Downloading clue/stream-filter (v1.6.0)
      - Downloading php-http/message (1.13.0)
      - Downloading php-http/promise (1.1.0)
      - Downloading php-http/httplug (2.3.0)
      - Downloading php-http/client-common (2.6.0)
      - Downloading influxdata/influxdb-client-php (3.0.0)
      - Installing psr/http-message (1.0.1): Extracting archive
      - Installing psr/http-client (1.0.1): Extracting archive
      - Installing php-http/discovery (1.14.3): Extracting archive
      - Installing symfony/polyfill-php80 (v1.26.0): Extracting archive
      - Installing symfony/polyfill-php73 (v1.26.0): Extracting archive
      - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
      - Installing symfony/options-resolver (v5.4.11): Extracting archive
      - Installing psr/http-factory (1.0.1): Extracting archive
      - Installing php-http/message-factory (v1.0.2): Extracting archive
      - Installing clue/stream-filter (v1.6.0): Extracting archive
      - Installing php-http/message (1.13.0): Extracting archive
      - Installing php-http/promise (1.1.0): Extracting archive
      - Installing php-http/httplug (2.3.0): Extracting archive
      - Installing php-http/client-common (2.6.0): Extracting archive
      - Installing influxdata/influxdb-client-php (3.0.0): Extracting archive
    6 package suggestions were added by new dependencies, use `composer suggest` to                                 see details.
    Generating autoload files
    5 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found
    [root@edomi influx-client]#
    ​
    Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

    Kommentar


      #17
      Ehrlich gesagt, hab ich keinen Schimmer woran das liegt.
      Ihr könnt mal im Verzeichnis /usr/local/edomi/www/admin/include/php/influx-client ein

      Code:
      composer require php-http/guzzle7-adapter
      ausführen und dann EDOMI noch mal neu aktivieren.

      Kommentar


        #18
        Jup, das half.. jetzt kommt was an.. Vielen Dank !

        ich teste weiter...
        Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

        Kommentar


          #19
          Zitat von jonofe Beitrag anzeigen
          composer require php-http/guzzle7-adapter
          der Befehl hat bei mir geholfen, nun werden in influx sehr viele _measurement mit dem Datenbanknamen aus Edomi angelegt.
          Allerdings sind nicht alle Daten vorhanden, da das ganze mit einem Fehler abgebrochen wurde:

          Fehler-Log
          Code:
          Datei: /usr/local/edomi/www/admin/include/php/influx-client/vendor/influxdata/influxdb-client-php/src/InfluxDB2/DefaultApi.php | Fehlercode: 0 | Zeile: 179 | [0] cURL error 28: Operation timed out after 10001 milliseconds with 0 out of -1 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://192.168.0.13:8086/api/v2/write?org=my-org&bucket=edomi_all&precision=s

          Influx-Log: mit 26.000 Einträge
          Code:
          2022-10-11 16:30:02 INSERT-EXCEPTION
          2022-10-11 16:30:02 EXCEPTION Message: [0] cURL error 28: Connection timed out after 10001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://192.168.0.13:8086/api/v2/write?org=my-org&bucket=edomi_all&precision=s
          2022-10-11 16:30:02 END
          [/HTML]

          Kommentar


            #20
            Zitat von MaPa Beitrag anzeigen
            der Befehl hat bei mir geholfen, nun werden in influx sehr viele _measurement mit dem Datenbanknamen aus Edomi angelegt.
            Allerdings sind nicht alle Daten vorhanden, da das ganze mit einem Fehler abgebrochen wurde:
            Wie hast du denn den LBS getriggert?

            Kommentar


              #21
              Zitat von jonofe Beitrag anzeigen
              Wie hast du denn den LBS getriggert?
              Ich habe den Baustein mit folgenden Einstellungen getriggert, also nach dem Neustart ging es los...

              influx.jpg

              davor hatte ich es mit "all" an E7 und E10 versucht...

              Kommentar


                #22
                E10 darfst du natürlich nicht statisch gefüllt haben, sonst wird bei jedem Start das gesamte Archiv nach Influx kopiert. E10 also nur in der Liveansicht einmalig triggern.

                Wie performant ist dein Influx-DB Server? Ich vermute, dass ein Schreiben von 1000er Batches teilweise länger als 10 Sekunden dauert.
                Ich würde folgendes machen:

                E7: leer
                E10: leer
                E13: 500

                EDOMI neu aktivieren.

                Logikseite aufrufen, Liveansicht aktivieren

                In einem SSH-Terminal den Befehl:

                Code:
                tail -f /usr/local/edomi/www/data/log/CUSTOMLOG_Influx_Data_Archives-EXEC.log
                starten.

                Dann in der Liveansicht an E10 die 314 eingeben und gleichzeitig das SSH Terminal beobachten, ob dort Fehler auftauchen. Wenn das gut läuft, dann weitere Datenarchiv IDs an E10 eingeben.

                Man kann das Timeout der Influx Commands auch noch erhöhen. Dies müsste aber dann im PHP Code gemacht werden. Ggf. werde ich das beim nächsten Update über einen weiteren Eingang konfigurierbar machen.

                Kommentar


                  #23
                  Hi, ich habe den LBS mal in einer Testumgebung installiert. Natürlich noch nicht viel Datenarchive, aber läuft auf Anhieb sehr gut.

                  Sehr cooler Baustein. Danke dafür!!!!

                  Kommentar


                    #24
                    Ich bin gerade dabei den LBS 19002576 zu installieren bekomme aber bei der Installation des PHP Influx Client die folgende Fehlermeldung:
                    Cannot use influxdata/influxdb-client-php's latest version 3.0.0 as it requires ext-mbstring * which is missing from your platform.

                    In PackageDiscoveryTrait.php line 313:

                    Package influxdata/influxdb-client-php has requirements incompatible with your PHP version, PHP extensions and Composer version:
                    - influxdata/influxdb-client-php 3.0.0 requires ext-mbstring * but it is not present.

                    Ich habe Edomi 2.03 installiert
                    Jemand eine Idee was ich falsch mache oder anders machen muss?


                    Hier die Ausgabe bei der Installation
                    Code:
                    [root@edomi influx-client]# cd /tmp
                    [root@edomi tmp]# wget --no-check-certificate https://getcomposer.org/installer
                    --2022-10-16 21:45:56--  https://getcomposer.org/installer
                    Auflösen des Hostnamen »getcomposer.org (getcomposer.org)«... 54.36.53.46, 2001:41d0:302:1100::8:104f
                    Verbindungsaufbau zu getcomposer.org (getcomposer.org)|54.36.53.46|:443... verbunden.
                    HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
                    Länge: 58140 (57K) [application/octet-stream]
                    In »»installer.1«« speichern.
                    
                    100%[==============================================================================================================================================>] 58.140      --.-K/s   in 0,02s
                    
                    2022-10-16 21:45:57 (3,38 MB/s) - »»installer.1«« gespeichert [58140/58140]
                    
                    [root@edomi tmp]# php installer
                    All settings correct for using Composer
                    Downloading...
                    
                    Composer (version 2.4.3) successfully installed to: /tmp/composer.phar
                    Use it: php composer.phar
                    
                    [root@edomi tmp]# mv -f composer.phar /usr/local/bin/composer
                    [root@edomi tmp]# cd /usr/local/edomi/www/admin/include/php/
                    [root@edomi php]# mkdir influx-client
                    mkdir: das Verzeichnis „influx-client“ kann nicht angelegt werden: Die Datei existiert bereits
                    [root@edomi php]# cd influx-client/
                    [root@edomi influx-client]# composer require influxdata/influxdb-client-php
                    Do not run Composer as root/super user! See https://getcomposer.org/root for details
                    Continue as root/super user [yes]? yes
                    Cannot use influxdata/influxdb-client-php's latest version 3.0.0 as it requires ext-mbstring * which is missing from your platform.
                    
                    In PackageDiscoveryTrait.php line 313:
                    
                      Package influxdata/influxdb-client-php has requirements incompatible with your PHP version, PHP extensions and Composer version:
                        - influxdata/influxdb-client-php 3.0.0 requires ext-mbstring * but it is not present.
                    
                    
                    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]
                    ​

                    Kommentar


                      #25
                      Versuch mal

                      Code:
                      yum install php-mbstring​
                      und dann nochmal.
                      Welche CentOS und PHP Version ist installiert?

                      Kommentar


                        #26
                        Hat leider nichts gefunden zum Installieren

                        CentOS Version:
                        centos-release-7-6.1810.2.el7.centos.x86_64

                        PHP Versionen:
                        [root@edomi influx-client]# rpm -qa | grep php
                        php-pecl-ssh2-1.2-1.el7.remi.7.2.x86_64
                        php-common-7.2.34-13.el7.remi.x86_64
                        php-cli-7.2.34-13.el7.remi.x86_64
                        php-mysqlnd-7.2.34-13.el7.remi.x86_64
                        php-xml-7.2.34-13.el7.remi.x86_64
                        php-process-7.2.34-13.el7.remi.x86_64
                        php-json-7.2.34-13.el7.remi.x86_64
                        php-pdo-7.2.34-13.el7.remi.x86_64
                        php-devel-7.2.34-13.el7.remi.x86_64
                        php-7.2.34-13.el7.remi.x86_64
                        php-soap-7.2.34-13.el7.remi.x86_64
                        ​​​

                        [root@edomi influx-client]# yum install php-mbstring​
                        Geladene Plugins: fastestmirror
                        Loading mirror speeds from cached hostfile
                        * base: mirror.imt-systems.com
                        * epel: mirror.imt-systems.com
                        * extras: mirror.ratiokontakt.de
                        * remi-php72: merlin.fit.vutbr.cz
                        * remi-safe: merlin.fit.vutbr.cz
                        * updates: mirror.imt-systems.com
                        Fehler: Nichts zu tun

                        Kommentar


                          #27
                          Zitat von Sargon Beitrag anzeigen
                          Hat leider nichts gefunden zum Installieren
                          Bei mir gibt es da was:

                          Code:
                          [root@edomi-dev ~]# rpm -qa | grep mbstring
                          php-mbstring-7.2.34-11.el7.remi.x86_64
                          ​

                          Kommentar


                            #28
                            Habe aber gerade gesehen, dass bei mir der influx-client 2.8 installiert ist.
                            Evtl. hat sich bei 3.0 was geändert.

                            benji: Bei dir hat es doch auf Anhieb funktioniert. Welche influx-client Version wurde bei dir gezogen? Auch die 3.0?

                            Kommentar


                              #29
                              Sargon

                              Versuch mal:

                              Code:
                              yum install zip unzip php-zip
                              rm  -rf /usr/local/edomi/www/admin/include/php/influx-client
                              mkdir /usr/local/edomi/www/admin/include/php/influx-client
                              cd /usr/local/edomi/www/admin/include/php/influx-client
                              ​composer require influxdata/influxdb-client-php:2.8

                              Kommentar


                                #30
                                Hat leider nicht geklappt, folgender Fehler:
                                Code:
                                Komplett!
                                [root@edomi ~]# rm  -rf /usr/local/edomi/www/admin/include/php/influx-client
                                [root@edomi ~]# mkdir /usr/local/edomi/www/admin/include/php/influx-client
                                [root@edomi ~]# cd /usr/local/edomi/www/admin/include/php/influx-client
                                [root@edomi influx-client]# ​composer require influxdata/influxdb-client-php:2.8
                                -bash: ​composer: Kommando nicht gefunden.
                                [root@edomi influx-client]# composer require influxdata/influxdb-client-php:2.8
                                Do not run Composer as root/super user! See https://getcomposer.org/root for details
                                Continue as root/super user [yes]? yes
                                The "2.8" constraint for "influxdata/influxdb-client-php" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
                                Info from https://repo.packagist.org: #StandWithUkraine
                                ./composer.json has been created
                                Running composer update influxdata/influxdb-client-php
                                Loading composer repositories with package information
                                Updating dependencies
                                Your requirements could not be resolved to an installable set of packages.
                                
                                  Problem 1
                                    - Root composer.json requires influxdata/influxdb-client-php 2.8 -> satisfiable by influxdata/influxdb-client-php[2.8.0].
                                    - influxdata/influxdb-client-php 2.8.0 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
                                
                                To enable extensions, verify that they are enabled in your .ini files:
                                    - /etc/php.ini
                                    - /etc/php.d/20-bz2.ini
                                    - /etc/php.d/20-calendar.ini
                                    - /etc/php.d/20-ctype.ini
                                    - /etc/php.d/20-curl.ini
                                    - /etc/php.d/20-dom.ini
                                    - /etc/php.d/20-exif.ini
                                    - /etc/php.d/20-fileinfo.ini
                                    - /etc/php.d/20-ftp.ini
                                    - /etc/php.d/20-gettext.ini
                                    - /etc/php.d/20-iconv.ini
                                    - /etc/php.d/20-json.ini
                                    - /etc/php.d/20-mysqlnd.ini
                                    - /etc/php.d/20-pdo.ini
                                    - /etc/php.d/20-phar.ini
                                    - /etc/php.d/20-posix.ini
                                    - /etc/php.d/20-shmop.ini
                                    - /etc/php.d/20-simplexml.ini
                                    - /etc/php.d/20-soap.ini
                                    - /etc/php.d/20-sockets.ini
                                    - /etc/php.d/20-sqlite3.ini
                                    - /etc/php.d/20-sysvmsg.ini
                                    - /etc/php.d/20-sysvsem.ini
                                    - /etc/php.d/20-sysvshm.ini
                                    - /etc/php.d/20-tokenizer.ini
                                    - /etc/php.d/20-xml.ini
                                    - /etc/php.d/20-xmlwriter.ini
                                    - /etc/php.d/20-xsl.ini
                                    - /etc/php.d/30-mysqli.ini
                                    - /etc/php.d/30-pdo_mysql.ini
                                    - /etc/php.d/30-pdo_sqlite.ini
                                    - /etc/php.d/30-wddx.ini
                                    - /etc/php.d/30-xmlreader.ini
                                    - /etc/php.d/30-zip.ini
                                    - /etc/php.d/40-ssh2.ini
                                    - /etc/php.d/curl.ini
                                You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
                                Alternatively, you can run Composer with `--ignore-platform-req=ext-mbstring` to temporarily ignore these required extensions.

                                Kommentar

                                Lädt...
                                X