[MacPorts] #34629: smartmontools failed to start
MacPorts
noreply at macports.org
Sat May 26 08:17:07 PDT 2012
#34629: smartmontools failed to start
---------------------------------+------------------------------------------
Reporter: th.chiang@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port:
---------------------------------+------------------------------------------
Hi,
This is a request for assisting configuration, probably NOT a bug in the
system.
I'm trying to run smartmontools as a daemon on OS X 10.7.4.
First, executing from terminal works fine:
{{{
smartctl -t short /dev/disk0
}}}
However, I encountered problem while setting up smartd (mail and ssmtp
works fine from the terminal):
{{{
sudo nano /opt/local/etc/smartd.conf
/dev/disk0 -H -l error -l selftest -f -s
(S/../.././09|C/../.././21|L/../../6/04) -m mymail at gmail.com
}}}
Setting Disabled=false:
{{{
sudo nano
/opt/local/etc/LaunchDaemons/org.macports.smartd/org.macports.smartd.plist
...
<key>Disabled</key><false/>
...
}}}
adding to launchd:
{{{
sudo launchctl load -w
/opt/local/etc/LaunchDaemons/org.macports.smartd/org.macports.smartd.plist
}}}
On reboot, smartd is running.
However,
{{{
sudo smartctl -l selftest /dev/disk0
}}}
shows no new records of self-test being carried out.
And:
{{{
cat /var/log/system.log:
May 26 21:11:55 mymac smartd[174]: Device: /dev/disk0, execute Conveyance
Self-Test failed.
}}}
Please advise, thanks.
--
Ticket URL: <https://trac.macports.org/ticket/34629>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list