atop package

jai jaimin at webuzo.com
Thu Dec 14 05:40:14 UTC 2023


In ubuntu 18, I am not able to install anything using apt package manager
because of atop package.











*root at dummyhost:~# systemctl status atopacct.service● atopacct.service -
Atop process accounting daemon   Loaded: loaded
(/lib/systemd/system/atopacct.service; enabled; vendor preset: enabled)
 Active: failed (Result: protocol) since Thu 2023-12-14 12:10:00 WIB; 49s
ago     Docs: man:atopacctd(8)Dec 14 12:10:00 smartpesantren2 systemd[1]:
Starting Atop process accounting daemon...Dec 14 12:10:00 smartpesantren2
atopacctd[367437]: /run/pacct_shadow.d: File existsDec 14 12:10:00
smartpesantren2 systemd[1]: atopacct.service: Can't open PID file
/run/atopacctd.pid (yet?) after start: No such file or directoryDec 14
12:10:00 smartpesantren2 systemd[1]: atopacct.service: Failed with result
'protocol'.Dec 14 12:10:00 smartpesantren2 systemd[1]: Failed to start Atop
process accounting daemon.*

The systemctl status shows error that /run/atopacctd.pid is missing.
I executed "ln -s /run/atop.pid /run/atopacctd.pid" to create symlink of
atopacctd.pid from atop.pid and then restarted the atopacct.service which
fixed the problem.
But is this the proper way to solve this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20231214/588e9935/attachment-0001.htm>


More information about the systemd-devel mailing list