Ankündigung

Einklappen
Keine Ankündigung bisher.

Edomi mit RockyLinux in der VM

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

    #16
    Habe eben auch noch mal die logs von httpd-service durchgeschaut. Mir fällt da nichts besonderes auf:
    access.log:
    Code:
    192.168.1.178 - - [28/Jun/2025:12:44:17 +0200] "POST /admin/apps/app0.php?cmd=refreshAll&appid=0&winid=&datetime=28.06.2025%2010%3A44%3A15&sid=&vid=2.03 HTTP/1.1" 200 72 "http://10.10.20.28/admin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
    192.168.1.178 - - [28/Jun/2025:12:44:23 +0200] "POST /admin/apps/app0.php?cmd=refreshAll&appid=0&winid=&datetime=28.06.2025%2010%3A44%3A21&sid=&vid=2.03 HTTP/1.1" 200 72 "http://10.10.20.28/admin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
    192.168.1.178 - - [28/Jun/2025:12:44:26 +0200] "POST /admin/apps/app0.php?cmd=refreshAll&appid=0&winid=&datetime=28.06.2025%2010%3A44%3A25&sid=&vid=2.03 HTTP/1.1" 200 72 "http://10.10.20.28/admin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
    192.168.1.178 - - [28/Jun/2025:12:44:29 +0200] "POST /admin/apps/app0.php?cmd=refreshAll&appid=0&winid=&datetime=28.06.2025%2010%3A44%3A28&sid=&vid=2.03 HTTP/1.1" 200 72 "http://10.10.20.28/admin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
    error.log:
    Code:
    [Fri Jun 27 01:05:28.091902 2025] [mpm_event:notice] [pid 711:tid 140317868247360] AH00492: caught SIGWINCH, shutting down gracefully
    [Sat Jun 28 12:37:52.372643 2025] [core:notice] [pid 738:tid 140105661663552] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Sat Jun 28 12:37:52.373522 2025] [suexec:notice] [pid 738:tid 140105661663552] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sat Jun 28 12:37:53.460144 2025] [lbmethod_heartbeat:notice] [pid 738:tid 140105661663552] AH02282: No slotmem from mod_heartmonitor
    [Sat Jun 28 12:37:53.461228 2025] [mpm_event:notice] [pid 738:tid 140105661663552] AH00489: Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k configured -- resuming normal operations
    [Sat Jun 28 12:37:53.461234 2025] [core:notice] [pid 738:tid 140105661663552] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'​
    ssl_error.log
    Code:
    [Fri Jun 27 01:04:10.364390 2025] [ssl:warn] [pid 711:tid 140317868247360] AH01909: 10.10.20.28:443:0 server certificate does NOT include an ID which matches the server name
    [Sat Jun 28 12:37:53.453537 2025] [ssl:warn] [pid 738:tid 140105661663552] AH01909: 10.10.20.28:443:0 server certificate does NOT include an ID which matches the server name
    [Sat Jun 28 12:37:53.460092 2025] [ssl:warn] [pid 738:tid 140105661663552] AH01909: 10.10.20.28:443:0 server certificate does NOT include an ID which matches the server name
    Mich wundert das in der ssl_error.log etwas drin steht da ich nur per http auf edomi zugreife.

    Kommentar


      #17
      was kommt für eine Ergebnis bei lsof -i

      Kommentar


        #18
        Zitat von maque Beitrag anzeigen
        was kommt für eine Ergebnis bei lsof -i
        Code:
        [root@edomi ~]# lsof -i
        COMMAND    PID          USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
        NetworkMa  708          root   27u  IPv4  26736      0t0  UDP edomi.local:bootpc->_gateway:bootps
        chronyd    715        chrony    5u  IPv4  22109      0t0  UDP localhost:323
        chronyd    715        chrony    6u  IPv6  22110      0t0  UDP localhost:323
        node_expo  733 node_exporter    3u  IPv6  22796      0t0  TCP *:jetdirect (LISTEN)
        httpd      738          root    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd      738          root    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        sshd       739          root    3u  IPv4  23479      0t0  TCP *:ssh (LISTEN)
        sshd       739          root    4u  IPv6  23481      0t0  TCP *:ssh (LISTEN)
        httpd     1080        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1080        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        httpd     1081        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1081        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        httpd     1082        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1082        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        mysqld    1397         mysql   21u  IPv6  24313      0t0  TCP *:mysql (LISTEN)
        mysqld    1397         mysql   42u  IPv6  24355      0t0  TCP localhost:mysql->localhost:37944 (ESTABLISHED)
        mysqld    1397         mysql   49u  IPv6  24368      0t0  TCP localhost:mysql->localhost:37960 (ESTABLISHED)
        mysqld    1397         mysql   50u  IPv6  24371      0t0  TCP localhost:mysql->localhost:37974 (ESTABLISHED)
        php       1464          root    4u  IPv4  24354      0t0  TCP localhost:37944->localhost:mysql (ESTABLISHED)
        php       1468          root    4u  IPv4  24354      0t0  TCP localhost:37944->localhost:mysql (ESTABLISHED)
        php       1468          root    5u  IPv4  24370      0t0  TCP localhost:37974->localhost:mysql (ESTABLISHED)
        php       1470          root    4u  IPv4  24354      0t0  TCP localhost:37944->localhost:mysql (ESTABLISHED)
        php       1470          root    5u  IPv4  24367      0t0  TCP localhost:37960->localhost:mysql (ESTABLISHED)
        vsftpd    1508          root    3u  IPv4  25874      0t0  TCP *:ftp (LISTEN)
        httpd     1968        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1968        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        sshd      4656          root    4u  IPv4 168881      0t0  TCP edomi.local:ssh->MacBookPro.local:64067 (ESTABLISHED)
        sshd      4673          root    4u  IPv4 168881      0t0  TCP edomi.local:ssh->MacBookPro.local:64067 (ESTABLISHED)
        [root@edomi ~]#
        und hier noch wenn ich versuche über den Browser auf die admin-Seite zugreifen möchte:
        Code:
        [root@edomi ~]# lsof -i
        COMMAND    PID          USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
        NetworkMa  708          root   27u  IPv4  26736      0t0  UDP edomi.local:bootpc->_gateway:bootps
        chronyd    715        chrony    5u  IPv4  22109      0t0  UDP localhost:323
        chronyd    715        chrony    6u  IPv6  22110      0t0  UDP localhost:323
        node_expo  733 node_exporter    3u  IPv6  22796      0t0  TCP *:jetdirect (LISTEN)
        httpd      738          root    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd      738          root    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        sshd       739          root    3u  IPv4  23479      0t0  TCP *:ssh (LISTEN)
        sshd       739          root    4u  IPv6  23481      0t0  TCP *:ssh (LISTEN)
        httpd     1080        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1080        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        httpd     1081        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1081        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        httpd     1082        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1082        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        mysqld    1397         mysql   21u  IPv6  24313      0t0  TCP *:mysql (LISTEN)
        mysqld    1397         mysql   42u  IPv6  24355      0t0  TCP localhost:mysql->localhost:37944 (ESTABLISHED)
        mysqld    1397         mysql   49u  IPv6  24368      0t0  TCP localhost:mysql->localhost:37960 (ESTABLISHED)
        mysqld    1397         mysql   50u  IPv6  24371      0t0  TCP localhost:mysql->localhost:37974 (ESTABLISHED)
        php       1464          root    4u  IPv4  24354      0t0  TCP localhost:37944->localhost:mysql (ESTABLISHED)
        php       1468          root    4u  IPv4  24354      0t0  TCP localhost:37944->localhost:mysql (ESTABLISHED)
        php       1468          root    5u  IPv4  24370      0t0  TCP localhost:37974->localhost:mysql (ESTABLISHED)
        php       1470          root    4u  IPv4  24354      0t0  TCP localhost:37944->localhost:mysql (ESTABLISHED)
        php       1470          root    5u  IPv4  24367      0t0  TCP localhost:37960->localhost:mysql (ESTABLISHED)
        vsftpd    1508          root    3u  IPv4  25874      0t0  TCP *:ftp (LISTEN)
        httpd     1968        apache    4u  IPv6  21357      0t0  TCP *:http (LISTEN)
        httpd     1968        apache    6u  IPv6  21365      0t0  TCP *:https (LISTEN)
        httpd     1968        apache   18u  IPv6 188719      0t0  TCP edomi.local:http->MacBookPro.local:64144 (ESTABLISHED)
        sshd      4656          root    4u  IPv4 168881      0t0  TCP edomi.local:ssh->MacBookPro.local:64067 (ESTABLISHED)
        sshd      4673          root    4u  IPv4 168881      0t0  TCP edomi.local:ssh->MacBookPro.local:64067 (ESTABLISHED)
        Zuletzt geändert von ChrisChros; 28.06.2025, 11:26.

        Kommentar


          #19
          da fehlen die websockets:

          php 6634 root 5u IPv4 164136092 0t0 TCP edomi.local:webcache (LISTEN)
          Zuletzt geändert von maque; 28.06.2025, 11:36.

          Kommentar


            #20
            Muss mir mal eine VM aufsetzen und das durchspielen...
            Kind regards,
            Yves

            Kommentar


              #21
              ja, darüber habe ich auch schon nachgedacht.... Noch habe ich 2 funktionierende Edomis am Laufen, aber irgendwann muss ich da mal ran....

              Kommentar


                #22
                Zitat von maque Beitrag anzeigen
                ja, darüber habe ich auch schon nachgedacht.... Noch habe ich 2 funktionierende Edomis am Laufen, aber irgendwann muss ich da mal ran....
                Ich werde jetzt mehr oder weniger durch TrueNAS dazu gezwungen. Bei dem letzten Update wurde auf "Incus" für die VMs und Container umgestellt. Leider hat das den Nachteil das ich die Devices nicht mehr im AHCI-Modus einbinden kann, sondern nur noch als NVMe oder iSCSI. Damit hat jedoch CentOS 7.9 ein Problem und startet somit nicht mehr, bzw. ich kann auch keine neue VM damit aufsetzen.

                Kommentar


                  #23
                  Mal schauen, ob Yves oder ich das Problem zuerst nachstellen können.....

                  Kommentar


                    #24
                    In meiner edomi.ini steht:

                    Code:
                    grep Web edomi.ini
                    # IP-Adresse: Visualisierung (Websocket)
                    #       Im Normalfall ist diese Angabe mit der IP-Adresse des EDOMI-Servers identisch (s.o.). Einige Umgebungen (z.B. Docker-Container) benötigen u.U. di
                    e IP-Adresse des Containers, um die Websocket-Verbindung aufzubauen.
                    # Visualisierung: Websocket-Kommunikation detailiert protokollieren
                    #       Bei Bedarf können detailierte Informationen zur Websocket-Kommunikation in einem Individual-Log protokolliert werden.
                    global_logVisuWebsocket=1
                    # Websocket: TCP-Port
                    #       Die Websocket-Verbindung wird über diesen Port hergestellt.
                    global_visuWebsocketPort=8080
                    global_visuWebsocketEvent=1000
                    global_visuWebsocketKo=200​
                    sieht das bei Dir auch so aus?

                    Kommentar


                      #25
                      Als Image für RockyLinux nutze ich 8.1 minimal ohne zusätzliche Pakete.

                      Kommentar


                        #26
                        bei mir steht folgendes:
                        Code:
                        [root@edomi ~]# grep Web /usr/local/edomi/edomi.ini
                        # IP-Adresse: Visualisierung (Websocket)
                        # Im Normalfall ist diese Angabe mit der IP-Adresse des EDOMI-Servers identisch (s.o.). Einige Umgebungen (z.B. Docker-Container) benötigen u.U. die IP-Adresse des Containers, um die Websocket-Verbindung aufzubauen.
                        # Visualisierung: Websocket-Kommunikation detailiert protokollieren
                        # Bei Bedarf können detailierte Informationen zur Websocket-Kommunikation in einem Individual-Log protokolliert werden.
                        global_logVisuWebsocket=1
                        # Websocket: TCP-Port
                        # Die Websocket-Verbindung wird über diesen Port hergestellt.
                        global_visuWebsocketPort=8080
                        global_visuWebsocketEvent=1000
                        global_visuWebsocketKo=200
                        # 2 = Webdienst abfragen (http://ipecho.net/plain)
                        eigentlich identisch zu deiner Ausgabe und auch identisch zu der Ausgabe auf meinem Produktivsystem.
                        Zuletzt geändert von ChrisChros; 28.06.2025, 14:18.

                        Kommentar


                          #27
                          In Rocky Linux habe ich außerdem folgende Änderung vorgenommen:

                          Code:
                          nano /etc/selinux/config
                          SELINUX=disabled​
                          Nach einem Reboot sollte das Interface wie erwartet funktionieren.

                          Kommentar


                            #28
                            Super damit habe ich nun Zugriff auf die Admin-Seite.
                            Habe da eben noch mal schnell mit dem Produktivsystem verglichen, auch dort steht der Wert auf "disabled"

                            Danke.

                            Kommentar


                              #29
                              Das heisst, auch die Visu funktioniert, wenn Du ein Projekt geladen und aktiviert hast?

                              Viele Gruesse
                              Matthias

                              Kommentar


                                #30
                                Das muss ich noch testen, aber ich komme zumindest schon mal auf die Admin-Seite und kann soweit alles normal bedienen.
                                Ich versuche mal die Tage ein Backup einzuspielen, dann kann ich dir genaueres sagen.

                                Kommentar

                                Lädt...
                                X