# Failed at step EXEC spawning /usr/sbin/pmm-agent: No such file or directory

**URL:** <https://forums.percona.com/t/failed-at-step-exec-spawning-usr-sbin-pmm-agent-no-such-file-or-directory/7443>\
**Category:** Percona Server for MySQL 5.7\
**Created:** [February 24, 2020, 6:58am UTC](https://forums.percona.com/t/failed-at-step-exec-spawning-usr-sbin-pmm-agent-no-such-file-or-directory/7443 "2020-02-24T06:58:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijay1600](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vijay1600/32/1295_2.png) [@vijay1600](https://forums.percona.com/u/vijay1600)\
**Post date:** [February 24, 2020, 6:58am UTC](https://forums.percona.com/t/failed-at-step-exec-spawning-usr-sbin-pmm-agent-no-such-file-or-directory/7443/1 "2020-02-24T06:58:04Z")

</div>

i have installed all rpm files and when starting mysql service  
$service mysql start  
Redirecting to /bin/systemctl start mysql.service  
Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details.

when searching i found that  
Failed at step EXEC spawning /usr/sbin/pmm-agent: No such file or directory.

how to overcome this and start mysql service

---

<div class="post-metadata">

**Author:** ![vaibhav\_upadhyay40](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vaibhav_upadhyay40/32/9_2.png) [@vaibhav\_upadhyay40](https://forums.percona.com/u/vaibhav_upadhyay40)\
**Post date:** [July 27, 2020, 3:12pm UTC](https://forums.percona.com/t/failed-at-step-exec-spawning-usr-sbin-pmm-agent-no-such-file-or-directory/7443/2 "2020-07-27T15:12:17Z")

</div>

Hi @vijay1600   
check my.cnf file for any unsupported variable(s) and typo(s).&nbsp;  
  
Coming to below error, i don’t think it has anything to do with the mysql server start/restart  
_Failed at step EXEC spawning /usr/sbin/pmm-agent: No such file or directory._
