→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
11-17-2021 06:34 PM
06-19-2023 03:53 PM
11-18-2021 11:19 AM
06-11-2023 01:35 AM
that uninstalls the agent, but doesn't remove the service, just FYI. When you reboot your machine you will get a failure that the lansweeper service failed to start
user@host:~$ systemctl --type=service --state=failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● LansweeperAgentService.service loaded failed failed LSB: Start daemon at boot time
user@host:~$ systemctl status LansweeperAgentService.service
× LansweeperAgentService.service - LSB: Start daemon at boot time
Loaded: loaded (/etc/init.d/LansweeperAgentService; generated)
Active: failed (Result: exit-code) since Sat 2023-06-10 23:20:26 UTC; 14s ago
Docs: man:systemd-sysv-generator(8)
Process: 1988 ExecStart=/etc/init.d/LansweeperAgentService start (code=exited, status=1/FAILURE)
CPU: 24ms
Jun 10 23:20:26 host systemd[1]: Starting LSB: Start daemon at boot time...
Jun 10 23:20:26 host LansweeperAgentService[1988]: Starting LansweeperAgentService
Jun 10 23:20:26 host LansweeperAgentService[1988]: /etc/init.d/LansweeperAgentService: line 36: cd: /opt/LansweeperAgent: No such file or directory
Jun 10 23:20:26 host LansweeperAgentService[1988]: Unable to start, see /var/log/LansweeperAgentService.log and /var/log/LansweeperAgentService.err
Jun 10 23:20:26 host systemd[1]: LansweeperAgentService.service: Control process exited, code=exited, status=1/FAILURE
Jun 10 23:20:26 host systemd[1]: LansweeperAgentService.service: Failed with result 'exit-code'.
Jun 10 23:20:26 host systemd[1]: Failed to start LSB: Start daemon at boot time.
In order to remove the service from failing during reboots, run the following:
sudo systemctl disable LansweeperAgentService.service
sudo systemctl reset-failed
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now