check the file /etc/sysconfig/hddtemp
If it has something in it that looks like this;
HDDTEMP_OPTIONS="-l 127.0.0.1 /dev/sd[ab]"
Change it to:
HDDTEMP_OPTIONS="-l 127.0.0.1 /dev/sda /dev/sdb"
If it doesn't, then do that anyway -- i.e., explicitly tell it which devices to watch.
Also have a look at /usr/lib/systemd/system/hddtemp.service
Mine in F17 looks like this;
Code:
[Unit]
Description=Hard drive temperature monitor daemon
After=syslog.target
[Service]
Environment=HDDTEMP_OPTIONS=--listen=127.0.0.1
EnvironmentFile=-/etc/sysconfig/hddtemp
ExecStart=/usr/sbin/hddtemp -dF $HDDTEMP_OPTIONS
[Install]
WantedBy=multi-user.target
If you've got something different on your ExecStart line, try changing it.
---------- Post added at 02:52 PM ---------- Previous post was at 02:36 PM ----------
When I put this in /etc/sysconfig/hddtemp:
HDDTEMP_OPTIONS="-l 127.0.0.1 /dev/sd[ab]"
This is the output that hddtemp spews;
Code:
$ telnet localhost 7634
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
|/dev/sd[ab]|???|ERR|*|Connection closed by foreign host.
Proper output with the proper configuration is like this;
Code:
$ telnet localhost 7634
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
|/dev/sda|ST31500341AS|51|C||/dev/sdb|ST3500320AS|42|C|Connection closed by foreign host.
Note how the first (bad) output resembles yours....