Friday, July 1, 2011

Example of creating directories and files via command line

Have a look and see if the following log files still exist (and that the system user 'teamsserver' can access them):

/System/Library/Logs/emailrules/debug.log

if not, re-create them via:
*sudo mkdir /System/Library/Logs/emailrules*
*sudo touch /System/Library/Logs/emailrules/debug.log*

set preference accordingly. I used:

*sudo chmod o+rw /System/Library/Logs/emailrules/debug.log*

This fixed my problem (without restarting anything). It just came back to life after weeks of trying different things.

You can't imagine how furious I was to find out that in my case the email notification server didn't work just because a stupid log file was not in the Time Machine Backup (and hence not restored)!!

Hope this helps!

M