Enshure that the log directory exists and is writeable for asterisk.