Can not create Machine learning job in Kibana

I tried to create machine learning job in Kibana, but I got an error when start datafeed, so I can start any job. What is problem?
I met this error in both two disperate server. I wonder whether I miss something which shoud be installed?
Thanks.

Error: "{\"error\":{\"root_cause\":[{\"type\":\"exception\",\"reason\":\"Unexpected job state [failed] while waiting for job to be opened\"}],\"type\":\"exception\",\"reason\":\"Unexpected job state [failed] while waiting for job to be opened\"},\"status\":500}"
    at Object.errorNotify [as error] (http://10.58.71.184:9988/bundles/ml.bundle.js:8:54192)
    at http://10.58.71.184:9988/bundles/ml.bundle.js:3:360661
    at Array.forEach (<anonymous>)
    at showResults (http://10.58.71.184:9988/bundles/ml.bundle.js:3:360594)
    at http://10.58.71.184:9988/bundles/ml.bundle.js:3:358974

Hi @le_ba_nam

Before starting the datafeed, the code will try to open the job. The error message from the job open step should contain more useful information. To narrow down troubleshooting, please try to just open/close the job; rather than start the datafeed as well.

Where there any Kibana UI toast error messages when you tried to start/open the job?
Is the job state set to FAILED in the job list? If so, please try to force close it and open it again.
Are there any error messages in the Job Messages tab?
Do you have access to the elasticsearch logs? and if you do, are there any error messages which explain why the job entered a failed state.

To help with any further troubleshooting, please let us know what version of elasticsearch you are using.

Regards
Sophie