xinetd is not in the /etc/init.d

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

xinetd is not in the /etc/init.d

ソリューションへジャンプ
5,353件の閲覧回数
hankwang
Contributor IV

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. 

ラベル(1)
0 件の賞賛
返信
1 解決策
4,942件の閲覧回数
hankwang
Contributor IV

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 返答(返信)
4,942件の閲覧回数
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 件の賞賛
返信
4,943件の閲覧回数
hankwang
Contributor IV

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,942件の閲覧回数
turker
Contributor IV

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

0 件の賞賛
返信
4,942件の閲覧回数
hankwang
Contributor IV

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 件の賞賛
返信