Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ERROR: smartd failed to start. /run/smartd.pid': No such file or directory
Date: Mon, 02 Nov 2020 05:08:26
Message-Id: 1dfe6d00-bfda-bd35-8d5e-a2dbcc8b555f@gmail.com
1 Howdy,
2
3 I did a KDE update so I switched to boot runlevel and back to default. 
4 I noticed that a service didn't start and it was smartd.  Not exactly
5 critical but it does monitor my hard drives.  When I try to restart it,
6 I get this using the -v option.
7
8
9 root@fireball / # /etc/init.d/smartd start -v
10  * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh
11 /etc/init.d/smartd start
12  * Starting smartd ...
13  * start-stop-daemon: fopen `/run/smartd.pid': No such file or directory
14  * Detaching to start `/usr/sbin/smartd' ...
15  *   start-stop-daemon: failed to start `/usr/sbin/smartd'
16  * Failed to start
17 smartd                                                                                                                                                   
18 [ !! ]
19  * ERROR: smartd failed to start
20 root@fireball / #
21
22
23 I've tried re-emerging the smartmontools package, I've tried the zap
24 option as well, in case my recent power supply blow up left some cruft
25 behind.  I also googled but can't find this problem.  It seems tho that
26 the pid file should maybe be in /var instead of /run.  I'm not sure if
27 it was moved recently or what. 
28
29 Anyone know how to fix this?  Or run into this before?
30
31 Thanks.
32
33 Dale
34
35 :-)  :-)

Replies