ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.23k stars 654 forks source link

ERR_CONNECTION_REFUSED - This site can’t be reached #8665

Closed infinitynet2011 closed 1 month ago

infinitynet2011 commented 1 month ago

[root@ntopng]# sudo systemctl status ntopng ● ntopng.service - ntopng high-speed web-based traffic monitoring and analysis tool Loaded: loaded (/usr/lib/systemd/system/ntopng.service; enabled; preset: disabled) Active: active (running) since Fri 2024-08-23 01:20:34 EEST; 2min 36s ago Process: 8453 ExecStartPre=/bin/sh -c /usr/bin/ntopng-utils-manage-config -a check-restore && /usr/bin/ntopng-utils-manage-config -a restore || true (code=exited, status=0/SUCCESS) Process: 8467 ExecStartPre=/bin/sh -c /bin/cat /etc/ntopng/ntopng.conf > /run/ntopng.conf.raw (code=exited, status=0/SUCCESS) Process: 8469 ExecStartPre=/bin/sh -c /bin/cat /etc/ntopng/ntopng.conf.d/.conf >> /run/ntopng.conf.raw 2>/dev/null || true (code=exited, status=0/SUCCESS) Process: 8471 ExecStartPre=/bin/sh -c /bin/sed "/^[ ]-e.$|^[ ]-G.|^[ ]--daemon.|[ ]--pid.*/s/^/#/" /run/ntopng.conf.raw > /run/ntopng.conf (code=exited, status=0/SUCCESS) Main PID: 8474 (ntopng) Tasks: 2 (limit: 48978) Memory: 23.4M CPU: 2min 35.542s CGroup: /system.slice/ntopng.service └─8474 /usr/bin/ntopng /run/ntopng.conf

Aug 23 01:20:34 ntopng systemd[1]: Starting ntopng high-speed web-based traffic monitoring and analysis tool... Aug 23 01:20:34 ntopng systemd[1]: Started ntopng high-speed web-based traffic monitoring and analysis tool. Aug 23 01:20:34 ntopng ntopng[8474]: 23/Aug/2024 01:20:34 [Redis.cpp:166] Successfully connected to redis 127.0.0.1:6379@0 Aug 23 01:20:34 ntopng ntopng[8474]: 23/Aug/2024 01:20:34 [Redis.cpp:166] Successfully connected to redis 127.0.0.1:6379@0 Aug 23 01:20:34 ntopng ntopng[8474]: 23/Aug/2024 01:20:34 [NtopCloud.cpp:131] Successfully connected to ntop cloud Aug 23 01:20:35 ntopng ntopng[8474]: 23/Aug/2024 01:20:35 [NtopCloud.cpp:145] Successfully registered with the cloud Aug 23 01:20:35 ntopng ntopng[8474]: 23/Aug/2024 01:20:35 [NtopCloud.cpp:146] Unique id ntop/4606798171/L68C03416B2076B27--U68C034166376FC9F--OL/ntopng/8474 Aug 23 01:20:35 ntopng ntopng[8474]: 23/Aug/2024 01:20:35 [NtopPro.cpp:348] [LICENSE] Reading license from /etc/ntopng.license Aug 23 01:20:35 ntopng ntopng[8474]: 23/Aug/2024 01:20:35 [NtopPro.cpp:506] [LICENSE] /etc/ntopng.license: found valid Enterprise M license [root@ntopng]#

[root@ntopng]# sudo /usr/bin/ntopng --http-port=3000 --https-port=443 --verbose=5 23/Aug/2024 01:05:36 [Ntop.cpp:3673] Added Local Network 127.0.0.0/8 23/Aug/2024 01:05:36 [Ntop.cpp:3704] Added network 127.0.0.0/8 23/Aug/2024 01:05:36 [Ntop.cpp:3673] Added Local Network fe80::/10 23/Aug/2024 01:05:36 [Ntop.cpp:3704] Added network fe80::/10 23/Aug/2024 01:05:36 [Redis.cpp:166] Successfully connected to redis 127.0.0.1:6379@0 23/Aug/2024 01:05:36 [Redis.cpp:166] Successfully connected to redis 127.0.0.1:6379@0 23/Aug/2024 01:05:37 [NtopCloud.cpp:131] Successfully connected to ntop cloud 23/Aug/2024 01:05:37 [NtopCloud.cpp:145] Successfully registered with the cloud 23/Aug/2024 01:05:37 [NtopCloud.cpp:146] Unique id ntop/4606798171/L68C03416B2076B27--U68C034166376FC9F--OL/ntopng/7451 23/Aug/2024 01:05:37 [NtopPro.cpp:348] [LICENSE] Reading license from /etc/ntopng.license 23/Aug/2024 01:05:37 [NtopPro.cpp:506] [LICENSE] /etc/ntopng.license: found valid Enterprise M license 23/Aug/2024 01:05:37 [NetworkInterface.cpp:445] Successfully loaded /usr/share/ndpi/public_suffix_list.dat 23/Aug/2024 01:05:37 [ntoppro_defines.h:105] Max profiles number: 128 23/Aug/2024 01:05:37 [ntoppro_defines.h:74] Max host pools number: 128 23/Aug/2024 01:05:37 [HostPools.cpp:79] Host Pools Available: 128 23/Aug/2024 01:05:37 [ntoppro_defines.h:147] Max nw interfaces number: 16 23/Aug/2024 01:05:37 [Ntop.cpp:520] Interfaces Available: 16 23/Aug/2024 01:05:37 [LuaEngine.cpp:687] Running /usr/share/ntopng/scripts/callbacks/system/boot.lua

[root@ntopng]# sudo ss -tuln | grep ':8080|:8443' [root@ntopng]# [root@ntopng]# sudo lsof -i :3000 [root@ntopng]# sudo lsof -i :443 [root@ntopng]#

[root@ntopng]# sestatus SELinux status: disabled

[root@ntopng]# hostnamectl Static hostname: ntopng Icon name: computer-vm Chassis: vm 🖴 Machine ID: 82d7500240064ad Boot ID: 50bdb9ad1f22483b Virtualization: vmware Operating System: AlmaLinux 9.4 (Seafoam Ocelot)
CPE OS Name: cpe:/o:almalinux:almalinux:9::baseos Kernel: Linux 5.14.0-427.31.1.el9_4.x86_64 Architecture: x86-64 Hardware Vendor: VMware, Inc. Hardware Model: VMware20,1 Firmware Version: VMW201.00V*

[root@ntopng]# ntopng --version Cannot bind for clientaddr: Address already in use Version: 6.3.240822 [Enterprise/Professional build] GIT rev: dev:c84f982a5b8d9c5e0dfb4ab96b6acef7df27900a:20240822 Pro rev: r6776 Built on: Rocky Linux release 9.3 System Id: L68C03416B2076B27--U68C034166376FC9F--OL Platform: x86_64 Edition: Enterprise M License Type: Permanent Maintenance: Until Wed Jun 18 03:13:08 2025 [299 days left] License: osGDVB4nhgUUaBlUjaQ6le0P8q9iNFKnx7kxUVxZbiyewSXFzHSyBvxAAh/rYSNP79gZs uD3cGH2Z3oDzMtCXZaCzHZDW2ZPSTQSstjNBDOfKvPcO0zwzv4Wu5bJr3eHYPE/KpoOqe BMvch1rgvYirtvEOoAa7JCzmfvHoXKn+GZwIzbqzMTg License Hash: A1BB1655D0AC4243B2C640E3 [root@ntopng]#

Thank you, Gabriel

infinitynet2011 commented 1 month ago

[root@ntopng]# dnf update -y Last metadata expiration check: 0:48:14 ago on Fri Aug 23 03:45:55 2024. Error: Problem: cannot install both ntop-license-1.0-494.x86_64 from ntop and ntop-license-1.0-492.x86_64 from @System

Thanks, Gabriel

infinitynet2011 commented 1 month ago

After the last update, all is ok.

[root@ntopng]# dnf update -y Last metadata expiration check: 1:18:56 ago on Fri Aug 23 07:19:07 2024. Dependencies resolved.

Package Architecture Version Repository Size

Upgrading: ca-certificates noarch 2024.2.69_v8.0.303-91.4.el9_4 baseos 911 k cento x86_64 2.1.240823-961 ntop 1.3 M n2disk x86_64 3.7.240823-5525 ntop 1.4 M nprobe x86_64 10.7.240823-8436 ntop 3.9 M ntop-license x86_64 1.0-494 ntop 22 k ntopng x86_64 6.3.240823-24306 ntop 9.5 M ntopng-data noarch 6.3.240823-24306 ntop-noarch 49 M

Thanks, Gabriel

MatteoBiscosi commented 1 month ago

Hi gabriel, in case the issue come back, please reopen the ticket (or open a new one)