You are not logged in.

#1 2014-09-03 13:32:27

Silex89
Member
From: Osorno, Los Lagos - Chile
Registered: 2011-10-16
Posts: 179

[SOLVED]sensord.service fails to start

Hi there!

I made a clean Arch install a couple of days ago and I've had problems trying to get sensord to work apropriately. I've went through the troubleshooting of this particular service and googled a lot the last couple of days about this topic but I found nothing really useful (or nothing that I could really understand. Maybe my search terms are not so effective hmm ).

# systemctl status sensord -l
[sudo] password for daniel: 
● sensord.service - Log hardware monitoring data
   Loaded: loaded (/usr/lib/systemd/system/sensord.service; enabled)
   Active: failed (Result: exit-code) since mié 2014-09-03 09:14:04 CLT; 7min ago
  Process: 4231 ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon (code=exited, status=127)

sep 03 09:14:04 Ophiel sensord[4231]: /usr/sbin/sensord: error while loading shared libraries: librrd.so.4: cannot open shared object file: No such file or directory
sep 03 09:14:04 Ophiel systemd[1]: sensord.service: control process exited, code=exited status=127
sep 03 09:14:04 Ophiel systemd[1]: Failed to start Log hardware monitoring data.
sep 03 09:14:04 Ophiel systemd[1]: Unit sensord.service entered failed state.

This is just a minor annoyance. My system performs great and I have no issues with it. It just annoys the heck out of me to see a service failing in my start up screen.

I don't know if hardware specs or other logs are useful. But if you need more info, just let me know wink

Thanks in advance.

Last edited by Silex89 (2014-09-03 14:16:15)


"The way your heart sounds makes all the difference" John Myung

I love Dream Theater! ImL
Best Guitar Solo Ever

Offline

#2 2014-09-03 13:39:18

midixinga
Member
Registered: 2014-01-18
Posts: 193

Re: [SOLVED]sensord.service fails to start

try to install rrdtool

# pacman -Qo /usr/lib/librrd.so.4
/usr/lib/librrd.so.4 is owned by rrdtool 1.4.8-4

Offline

#3 2014-09-03 13:42:21

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: [SOLVED]sensord.service fails to start

This is related to a systemd 216-1 bug whereby all services for installed packages - whether wanted/needed or not - were automatically enabled. Was fixed with an update to 216-3 yesterday, albeit only for new installations. Existing installations still require those sevices to be manually disabled.

Do you need or want sensord? Otherwise, just disable it. You might also want to double-check there aren't other failed services that need to be disabled:

systemctl --failed

Offline

#4 2014-09-03 14:15:57

Silex89
Member
From: Osorno, Los Lagos - Chile
Registered: 2011-10-16
Posts: 179

Re: [SOLVED]sensord.service fails to start

Excellent. Thank you guys!. I installed rrdtool and the problem went away! smile

@CarID: Thanks to the command you told me I was able to see a bunch of other failing services that I didn't need so I disabled them. Thank you!

This thread is SOLVED.


"The way your heart sounds makes all the difference" John Myung

I love Dream Theater! ImL
Best Guitar Solo Ever

Offline

#5 2014-09-03 18:03:07

midixinga
Member
Registered: 2014-01-18
Posts: 193

Re: [SOLVED]sensord.service fails to start

Silex89 wrote:

My system performs great and I have no issues with it

Hmmm ...

Silex89 wrote:

This thread is SOLVED.

Really ? Maybe there are services working but unrequested, have a look here:
https://bbs.archlinux.org/viewtopic.php?id=186244

I thought, that you explicitly installed sensord. Do you need a round robin database to visualize graphically your measured values in Nagios e.g. ?

Last edited by midixinga (2014-09-03 18:06:06)

Offline

Board footer

Powered by FluxBB