您的当前位置:首页正文

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

2024-11-24 来源:个人技术集锦

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

 

转载于:https://www.cnblogs.com/benjamin77/p/8573660.html

显示全文