xinetd is not in the /etc/init.d

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

xinetd is not in the /etc/init.d

跳至解决方案
5,425 次查看
hankwang
Contributor V

Hello, we have a bsp "imx-4.14.78-1.0.0_ga" and we want to add ftp server in the image.

we built the bsp with xinetd. The command is "bitbake xinetd" and add the IMAGE_INSTALL_append = " xinetd" in the conf file. But we check image, we don't find the xined file in the /etc/init.d. The xinetd is in the /usr/sbin and we execute the command "xinetd reload".

The system will show below the message.
Usage: xinetd [-d] [-f config_file] [-filelog filename] [-syslog facility] [-reuse] [-limit proc_limit] [-pidfile filename] [-logprocs limit] [-shutdownprocs limit] [-cc interval]"

how can we do, we can fix the issue?

Thanks. 

0 项奖励
回复
1 解答
5,014 次查看
hankwang
Contributor V

Thanks for your reply. We fixed the issue. We manual copy the xinetd script to /etc/init.d directory and modify the xineted.conf in the /etc directory.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
5,014 次查看
b36401
NXP Employee
NXP Employee

Please try the command like "service xinetd reload".

By the way please note that xined file in /etc/init.d/ directory is a script to manage xinetd service and xined file in /usr/sbin/ one is its binary.

0 项奖励
回复
5,015 次查看
hankwang
Contributor V

Thanks for your reply. We fixed the issue. We manual copy the xinetd script to /etc/init.d directory and modify the xineted.conf in the /etc directory.

0 项奖励
回复
5,014 次查看
turker
Contributor IV

If your image is systemd based, you can try to run systemctl restart xinetd

0 项奖励
回复
5,014 次查看
hankwang
Contributor V

Hi , Thanks for your reply. But  the systemctl restart xinetd will show below message.

"Failed to restart xinetd.service: Unit xinetd.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status xinetd.service' for details."

0 项奖励
回复