[MacPorts] #34629: smartmontools failed to start
#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@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
#34629: smartmontools failed to start ---------------------------------+------------------------------------------ Reporter: th.chiang@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: smartmontools ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => takanori@… * port: => smartmontools -- Ticket URL: <https://trac.macports.org/ticket/34629#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34629: smartmontools failed to start ----------------------------+------------------------ Reporter: th.chiang@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: smartmontools | ----------------------------+------------------------ Comment (by takanori@…): FYI, my "smartd.conf" is like the following: {{{ [/opt/local/etc/smartd.conf] /dev/rdisk0 -a -S on -s (S/../.././02|L/../../6/03) -I 190 -I 194 -W 4,45,50 -R 5! -m root@mydomain.com }}} To run smartmontools as a daemon, all you have to do is: $ sudo port load smartmontools There is no need to edit "org.macports.smartd.plist" by your hand. No need to launch "launchctl" directly. -- Ticket URL: <https://trac.macports.org/ticket/34629#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts