ntop / nProbe

Open source components and extensions for nProbe
http://ntop.org
GNU General Public License v2.0
1.65k stars 44 forks source link

cento exiting frequently #425

Closed bipin-stcs closed 4 years ago

bipin-stcs commented 4 years ago

Hi,

Cento application exiting infrequent intervals.

● cento.service - 100Gbps NetFlow v5/v9/IPFIX probe for IPv4/v6
   Loaded: loaded (/etc/systemd/system/cento.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Tue 2020-04-28 12:02:07 +03; 50min ago
  Process: 6887 ExecStopPost=/bin/sh -c /bin/echo "$(/bin/date) cento StopPost" >> /var/log/ntop-systemd.log (code=exited, status=0/SUCCESS)
  Process: 6883 ExecStopPost=/bin/rm -rf /run/cento.conf (code=exited, status=0/SUCCESS)
  Process: 6243 ExecStartPost=/bin/sh -c /bin/echo "$(/bin/date) cento StartPost" >> /var/log/ntop-systemd.log (code=exited, status=0/SUCCESS)
  Process: 6242 ExecStart=/usr/local/bin/cento /run/cento.conf (code=exited, status=0/SUCCESS)
  Process: 6237 ExecStartPre=/bin/sh -c /bin/sed "/-p.*$\|--daemon.*\|--pid-file.*/s/^/#/" /etc/cento/cento.conf > /run/cento.conf (code=exited, status=0/SUCCESS)
  Process: 6231 ExecStartPre=/bin/sh -c /bin/echo "$(/bin/date) cento StartPre" >> /var/log/ntop-systemd.log (code=exited, status=0/SUCCESS)
 Main PID: 6242 (code=exited, status=0/SUCCESS)

Apr 28 12:02:05 ntop01 cento[6242]: 28/Apr/2020 12:02:05 [NetworkInterface.cpp:1325] [lo] [0 pps/0.00 Gbps][11/24/0/512'000 act/exp/drop/max flows][0 RX pkt drops][11 active flows]
Apr 28 12:02:05 ntop01 cento[6242]: 28/Apr/2020 12:02:05 [FlowExporter.cpp:121] [lo] Flow Export Queue Len [0 tot queued][0/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6][0/0 tot exported/drop
Apr 28 12:02:06 ntop01 cento[6242]: 28/Apr/2020 12:02:06 [NetworkInterface.cpp:1325] [lo] [19 pps/0.00 Gbps][11/24/0/512'000 act/exp/drop/max flows][0 RX pkt drops][11 active flows]
Apr 28 12:02:06 ntop01 cento[6242]: 28/Apr/2020 12:02:06 [FlowExporter.cpp:121] [lo] Flow Export Queue Len [0 tot queued][0/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6][0/0 tot exported/drop
Apr 28 12:02:07 ntop01 cento[6242]: 28/Apr/2020 12:02:07 [NetworkInterface.cpp:1295] WARNING: Demo mode expired
Apr 28 12:02:07 ntop01 cento[6242]: 28/Apr/2020 12:02:07 [PF_RINGInterface.cpp:421] Terminated packet polling for lo
Apr 28 12:02:07 ntop01 cento[6242]: 28/Apr/2020 12:02:07 [PF_RINGInterface.cpp:427] [9.43 K Pkts/2.04 MB]
Apr 28 12:02:07 ntop01 cento[6242]: 28/Apr/2020 12:02:07 [FlowExporter.cpp:47] Terminated flow exporter for lo
Apr 28 12:02:07 ntop01 cento[6242]: 28/Apr/2020 12:02:07 [FlowExporter.cpp:121] [lo] Flow Export Queue Len [0 tot queued][0/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6][0/0 tot exported/drop
Apr 28 12:31:35 ntop01 systemd[1]: Stopped 100Gbps NetFlow v5/v9/IPFIX probe for IPv4/v6.

When I check the cento version, it says this

v.1.11.200427
Built OS:      Ubuntu 16.04.6 LTS
System Id:     XXXXX
GIT rev:       dev:8d819da0ffd69a86e6feda7632b0ea49a64a74d1:20200427
License:       Invalid license

But the version is Valid

v.4.1.200427    [Enterprise/Professional build]
GIT rev:    dev:ab1690ad9ef8d35d47c62cc876125d2ccace3b53:20200427
Pro rev:    r2852
Built on:   Ubuntu 16.04.6 LTS
System Id:  XXXXX
Platform:   x86_64
Edition:    Enterprise M
License Type:   Permanent
Maintenance:    Until Tue Feb  9 18:57:05 2021 [287 days left]

NOTE: It was working fine before, this happened after the upgrade to 4.1

emanuele-f commented 4 years ago

See the Invalid license error, maybe your license has expired?

bipin-stcs commented 4 years ago

No, Maintenance: Until Tue Feb 9 18:57:05 2021

cardigliano commented 4 years ago

@bipin-stcs please provide systemid and orderid by mail

bipin-stcs commented 4 years ago

@cardigliano Sent

simonemainardi commented 4 years ago

any news?