Posts Tagged ‘tips’
PHP – date() [function.date]: ERROR on OS X
January 30, 2010
Leave a comment
If you have enabled php5 support on Snow Leopard modifying the file at “/etc/apache2/httpd.conf” uncommenting the line:
#LoadModule php5_module libexec/apache2/libphp5.so
you might get in trouble using php due to a misconfiguration of php.ini. Read more…
Prevent smartd from waking up your sleeping hard drives
January 15, 2010
3 comments
I am afraid of disk failure more than the average person is. On my DNS-323 I’ve set up smartd to run S.M.A.R.T. self tests on the two drives each night and email me in the (I hope, very unlikely) event that something’s wrong. Read more…
How to umount a busy linux device
January 14, 2010
Leave a comment
We all get there at some point.. we happily write:
dune@balthasar:~$ sudo umount /mnt/extUsb
and all we get is a clueless:
umount: can't umount /mnt/extUsb: Device or resource busy
So, who’s keeping the disk busy? Which process do I have to kill to get an umount around here? The answer is easy, and it relies on the linux tool fuser. Read more…