fan_control.service error

emmker

New Member
Jan 31, 2023
6
0
1
I had proxmox installed in a dell PowerEdge R710.
I Upgraded from v7 to v8 according to the instructions.
All went well and I am now on v8.1.4


From last night I get these readings on my Syslog


Code:
Jan 24 18:16:47 prox1 systemd[1]: fan-control.service: Scheduled restart job, restart counter is at 520.
Jan 24 18:16:47 prox1 systemd[1]: Stopped fan-control.service - Temperature-based fan speed controller.
Jan 24 18:16:47 prox1 systemd[1]: Started fan-control.service - Temperature-based fan speed controller.
Jan 24 18:16:47 prox1 python3[256897]: Traceback (most recent call last):
Jan 24 18:16:47 prox1 python3[256897]:   File "/opt/fan_control/fan_control.py", line 3, in <module>
Jan 24 18:16:47 prox1 python3[256897]:     import yaml
Jan 24 18:16:47 prox1 python3[256897]: ModuleNotFoundError: No module named 'yaml'
Jan 24 18:16:47 prox1 systemd[1]: fan-control.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 18:16:47 prox1 systemd[1]: fan-control.service: Failed with result 'exit-code'.

Which is repeated every 5-10 seconds


The thing that got me searching for the logs is that I could not backup an LXC. It just stuck on "syncing" and when I clicked stop to stop the task it just hang.

When I restarted the system, it took nearly 30 minutes instead of the 2-3 minutes it takes generally.

Is there something I can do?
 
That fan_control service shouldn't be part of default PVE so you probably installed it yourself. Did you check if that service maybe isn't Debian 12 compatible?
Or if some additional python libraries are required?
 
Last edited:
  • Like
Reactions: emmker
Thnx. That was it
I might have installed it on version 7 for some reason I don't remember. Was unnecessary, removed it and all working fine again.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!