fixes for nginx default, mysql daemon.  add diagnostic tools.