xinetd is not in the /etc/init.d

cancel
Showing results for 
Search instead for 
Did you mean: 

xinetd is not in the /etc/init.d

Jump to solution
603 Views
Contributor III

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 Kudos
1 Solution
192 Views
Contributor III

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.

View solution in original post

0 Kudos
4 Replies
192 Views
NXP TechSupport
NXP TechSupport

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 Kudos
193 Views
Contributor III

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.

View solution in original post

0 Kudos
192 Views
Contributor IV

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

0 Kudos
192 Views
Contributor III

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 Kudos