And?
# systemctl start redis
# systemctl status redis
● redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/redis.service.d
└─limit.conf
Active: active (running) since Fri 2017-02-03 20:56:10 MSK; 8s ago
Main PID: 16247 (redis-server)
CGroup: /system.slice/redis.service
└─16247 /usr/bin/redis-server 127.0.0.1:6379
Feb 03 20:56:10 ns.iv.lan systemd[1]: Started Redis persistent key-value database.
Feb 03 20:56:10 ns.iv.lan systemd[1]: Starting Redis persistent key-value database...
Now the page does not open at all. Opens an empty tab in the browser and endlessly spinning load indicator.
# systemctl restart ntopng
Job for ntopng.service failed because the control process exited with error code. See "systemctl status ntopng.service" and "journalctl -xe" for details.
# systemctl status ntopng
● ntopng.service - Start/stop ntopng program
Loaded: loaded (/etc/systemd/system/ntopng.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-02-03 22:01:22 MSK; 5min ago
Process: 16462 ExecStop=/etc/systemd/scripts/ntopng stop (code=exited, status=0/SUCCESS)
Process: 16568 ExecStart=/etc/systemd/scripts/ntopng start (code=exited, status=0/SUCCESS)
Main PID: 16575 (ntopng)
CGroup: /system.slice/ntopng.service
└─16575 /usr/bin/ntopng /etc/ntopng/ntopng.conf
Feb 03 22:03:19 ns.iv.lan ntopng[16575]: 1486148599|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:03:19 ns.iv.lan ntopng[16575]: 1486148599|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:03:24 ns.iv.lan ntopng[16575]: 1486148604|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:03:29 ns.iv.lan ntopng[16575]: 1486148609|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:03:56 ns.iv.lan ntopng[16575]: 1486148636|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:05:05 ns.iv.lan ntopng[16575]: 1486148705|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:05:27 ns.iv.lan ntopng[16575]: 1486148727|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:05:32 ns.iv.lan ntopng[16575]: 1486148732|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:06:48 ns.iv.lan ntopng[16575]: 1486148808|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Feb 03 22:06:48 ns.iv.lan ntopng[16575]: 1486148808|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192...
Hint: Some lines were ellipsized, use -l to show in full.
I’m reboot server…, after…
# systemctl status ntopng
● ntopng.service - Start/stop ntopng program
Loaded: loaded (/etc/systemd/system/ntopng.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-02-03 22:17:09 MSK; 1min 13s ago
Process: 662 ExecStart=/etc/systemd/scripts/ntopng start (code=exited, status=0/SUCCESS)
Main PID: 772 (ntopng)
CGroup: /system.slice/ntopng.service
└─772 /usr/bin/ntopng /etc/ntopng/ntopng.conf
Feb 03 22:17:02 ns.iv.lan systemd[1]: Starting Start/stop ntopng program...
Feb 03 22:17:09 ns.iv.lan ntopng[662]: Starting ntopng: Unable to start ntopng[FAILED]
Feb 03 22:17:09 ns.iv.lan systemd[1]: Started Start/stop ntopng program.
Feb 03 22:17:13 ns.iv.lan ntopng[772]: [main.cpp:261] ERROR: Unable to store PID in file /var/run/ntopng/ntopng.pid
Feb 03 22:17:28 ns.iv.lan ntopng[772]: 1486149448|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192.168.0.23&ifname=enp1s0'>192.168.0.23</A> &g...
Feb 03 22:18:00 ns.iv.lan ntopng[772]: 1486149480|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192.168.0.23&ifname=enp1s0'>192.168.0.23</A> &g...
Hint: Some lines were ellipsized, use -l to show in full.
I mkdir /var/run/ntopng, reboot…
# systemctl status ntopng
● ntopng.service - Start/stop ntopng program
Loaded: loaded (/etc/systemd/system/ntopng.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-02-03 22:20:27 MSK; 48s ago
Process: 683 ExecStart=/etc/systemd/scripts/ntopng start (code=exited, status=0/SUCCESS)
Main PID: 779 (ntopng)
CGroup: /system.slice/ntopng.service
└─779 /usr/bin/ntopng /etc/ntopng/ntopng.conf
Feb 03 22:20:20 ns.iv.lan systemd[1]: Starting Start/stop ntopng program...
Feb 03 22:20:27 ns.iv.lan ntopng[683]: Starting ntopng: Unable to start ntopng[FAILED]
Feb 03 22:20:27 ns.iv.lan systemd[1]: Started Start/stop ntopng program.
Feb 03 22:20:30 ns.iv.lan ntopng[779]: [main.cpp:261] ERROR: Unable to store PID in file /var/run/ntopng/ntopng.pid
Feb 03 22:20:42 ns.iv.lan ntopng[779]: 1486149642|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192.168.0.210&ifname=enp1s0'>192.168.0.210</A> ...
Feb 03 22:20:44 ns.iv.lan ntopng[779]: 1486149644|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192.168.0.210&ifname=enp1s0'>192.168.0.210</A> ...
Feb 03 22:21:04 ns.iv.lan ntopng[779]: 1486149662|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192.168.0.210&ifname=enp1s0'>192.168.0.210</A> ...
Hint: Some lines were ellipsized, use -l to show in full.
What nonsense? I created a directory /var/run/ntopng, where did he go?
I again create /var/run/ntopng
reboot server
# systemctl status ntopng
● ntopng.service - Start/stop ntopng program
Loaded: loaded (/etc/systemd/system/ntopng.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-02-03 22:25:53 MSK; 9min ago
Process: 1093 ExecStop=/etc/systemd/scripts/ntopng stop (code=exited, status=0/SUCCESS)
Process: 1262 ExecStart=/etc/systemd/scripts/ntopng start (code=exited, status=0/SUCCESS)
Main PID: 1275 (ntopng)
CGroup: /system.slice/ntopng.service
└─1275 /usr/bin/ntopng /etc/ntopng/ntopng.conf
Feb 03 22:31:52 ns.iv.lan ntopng[1275]: 1486150312|1|3|10|Probing or server down: <A HREF='/lua/host_details.lua?host=192.168.0.23&ifname=enp1s0'>test.iv.lan</A>...
Hint: Some lines were ellipsized, use -l to show in full.
Devilry some!