Re: Stalled system shutdown
On Thu, 10 Feb 2022 21:03:14 -0600
Flacusbigotis <flacusbigotis@gmail.com> wrote:
> Just a question to help you start troubleshooting:
>
> Does the shutdown finish quickly/quicker if you first stop the ntopng
> systemd service manually before doing the full shutdown?
I did a "# service status ntopng" and it seems the daemon is dead and
it has errors:
=======
• ntopng.service - ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool
Loaded: loaded (/lib/systemd/system/ntopng.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2022-02-11 11:24:19 CET; 2h 3min ago
Docs: man:ntopng(8)
file:/usr/share/doc/ntopng/README.Debian
file:/usr/share/doc/ntopng/UserGuide.pdf.gz
Process: 698 ExecStart=/usr/sbin/ntopng /etc/ntopng.conf (code=exited, status=0/SUCCESS)
CPU: 22ms
feb 11 11:24:19 tierra systemd[1]: Starting ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool...
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Ntop.cpp:1902] Setting local networks to 127.0.0.0/8
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:112] ERROR: Please start it and try again or use -r
feb 11 11:24:19 tierra ntopng[698]: 11/Feb/2022 11:24:19 [Redis.cpp:113] ERROR: to specify a redis server other than the default
feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running
feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:112] ERROR: Please start it and try again or use -r
feb 11 11:24:19 tierra ntopng[698]: [Redis.cpp:113] ERROR: to specify a redis server other than the default
feb 11 11:24:19 tierra systemd[1]: ntopng.service: Succeeded.
feb 11 11:24:19 tierra systemd[1]: Started ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool.
=======
I wonder if the package ntopng is necessary for something. If I remove
it nothing else complains. I didn't know this package before.
By the way, with ntopng uninstalled my system shuts down normally.
Thanks for your help.
> On Thu, Feb 10, 2022, 5:59 PM José Luis González <bugs.jlg@gmail.com> wrote:
>
> > Hi,
> >
> > When shutting down, after upgrading to Debian 11, system shutdown hangs
> > (freezes) for some time (about 1-2 minutes) anytime, making it
> > bothersome to shut the system down.
> >
> > The freeze happens afther the "Stopped target remote filesystems"
> > status line. After a while "A stop job is running for ntopng" is
> > printed with an "in progress" status in red and a timeout of 1 minute
> > 30 seconds, which is exhausted. So everyt time I shut down I get a 1
> > minute and 30 seconds delay.
> >
> > Anyone can help, please?
> >
> >
Reply to: