In centos7 system, lsof has been installed in root using yum. But in the services start section, there is still a problem that lsof "command not found". How to solve this problem?

centos7系统,在运行services start部分,已在root中用yum安装了lsof,但还是会出现lsof未找到命令的问题,应该怎么解决?