Ask Ubuntu Asked by PhoenixBlue on December 2, 2020
I have recently installed snmpd on my Ubuntu 16.04 VM. I was trying out few things and at some point I wanted to restart the application using
service snmpd restart
It did not work, giving the message undefined symbol: smux_listen_sd
I serched the internet for a possible reasons, but the main solution I was given was that there is another installed version that I need to remove. I looked for previous versions, there was nothing.
So after couple of uninstallations and re installations, it now works.
However, at the end of the installation, I noticed the message:
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
Does that mean I can no longer use service ... start
or systemctl ... start
?
If so, how should I start and stop an app?
The "start" and "stop" arguments are deprecated!
Roger Leigh (Debian developer team) announced that in debian-devel, on May 2013:
the options still exist, but they just invoke the "defaults" action.
As you can see in an extract of update-rc.d(8) manpage:
The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default.
Answered by lunix15 on December 2, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP