I have installed mysql service using rpm package on Amazon Linux box. I have created service resource to start and enable the service with the following configuration
> service 'mysqld' do > action [:start,:enable] > retries 3 > retry_delay 5 > user node['mysql']['user'] > service_name 'mysqld' > end
It is giving me error Failed to get D-Bus connection: No such file or directory But when I am starting the service manually it is working good. Even chef unable to recognize status of mysqld service.
Can someone advice on what could be the issue.