xxx.service is not a native service, redirecting to /sbin/chkconfig.


centos7编译安装的程序无法用systemctl 启动

[root@nagios-server check_commands]# systemctl enable npcd.service
npcd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig npcd on

只需要做个对应的软链接就可以了

[root@nagios-server check_commands]# ln -s /usr/local/pnp4nagios/bin/npcd /sbin/npcd

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM