fusioninventory-agent
fusioninventory-agent copied to clipboard
Service restarts/terminates on specific windows host
Windows logs gave us: The FusionInventory Agent service terminated unexpectedly. It has done this 1 time(s)
And fusioninventory logs shows it's stuck for 12 hours:
[Fri Nov 26 12:57:16 2021][info] target server0: server https://sub.example.domain/plugins/fusioninventory/
[Fri Nov 26 12:57:16 2021][info] sending prolog request to server0
[Sat Nov 27 00:11:17 2021][info] FusionInventory Agent service starting
What can cause such a delay or even termination?
do you have enough memory on you device?
@ddurieux Yeah it's enough, I have not seen a spike
memory and disk space?
It was ok with resources. Disk space was available at the moment same with memory.
is it the agent version 32bits or 64 bits? What version of Windows?
Agent is 64 bit Microsoft Windows Server 2012 R2 Standard is 64 bit
@ddurieux could there be a potential cause or maybe I can search for some additional logs?
Hi @vazome are you running the agent as a service ? For such case, there's a way to catch perl errors:
- Rename the file
fusioninventory-win32-service.rc.sampleunderC:\Program Files\FusionInventory\perl\binjust removing.sampleextension. - Restart the service
- You should see
stderr.txtandstdout.txtfiles underC:\Program Files\FusionInventory\logs - If the error occurs during inventory, force an inventory and check there if you see some perl errors, or wait for the crash and check these files.