Chef Client failed without errors

347 views Asked by At

I've run chef for existing cookbook, however I can't run it correctly. I've got Chef Client failed without any error. Synchronizing Cookbooks:
Running handlers:
Running handlers complete

1

There are 1 answers

0
seshadri_c On BEST ANSWER

I think you have mixed up log_level option with logfile.

  • Lower case -l: -l debug, will set log_level to DEBUG for logging to standard output.
  • Upper case -L: -L DEBUG will create logfile called DEBUG and put the logs/errors of that run in it.

The error might be present in the file at /home/centos/DEBUG.