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.
已解决! 转到解答。
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.
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."