BenjaminYang In solitude, where we are least alone

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

 

posted @ 2018-03-15 15:00  benjamin杨  阅读(22314)  评论(1编辑  收藏  举报