Kibana Fails to start : FATAL { [Error: ENOENT: no such file or directory

Hi,

I have installed ELK stack on windows and for some reason after i stopped Kibana from command prompt, while trying to restart i see below errors and it doesn't start:

FATAL { [Error: ENOENT: no such file or directory, open 'D:\var\run\kibana.pid']
  cause:
   { [Error: ENOENT: no such file or directory, open 'D:\var\run\kibana.pid']
     errno: -4058,
     code: 'ENOENT',
     syscall: 'open',
     path: 'D:\\var\\run\\kibana.pid' },
  isOperational: true,
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'D:\\var\\run\\kibana.pid' }

Please help me get this resolved.Thanks

I got this sorted.Thanks

What was the solution?

The pid.file path in my kibana.yml file was incorrect. Once I corrected the path, it worked.Thanks

Thanks for sharing!