Install and start the tftp-server server and possible solutions to Redirecting to /bin/systemctl restart xinetd.service problems

1) First, check the tftp-server installed on the server
        using the command: rpm -qa | grep tftp-server
        If there is an installed tftp, it will be listed here
2) Install tftp-server and xinetd
        using the following commands to perform corresponding services Installation:
        $yum -y install tftp-server
        $yum -y install xinetd
3) Modify the tftp configuration file
    using the following command:
        $vi /etc/xinetd.d/tftp Open the configuration file
        service tftp
        {
            socket_type = dgram
            protocol = udp
            wait = yes
            user = root
            server = /usr/sbin/in.tftpd
            server_args = -s /var/lib/tftpboot
            disable = no //The place that needs to be modified, the initial time is yes
            per_source = 11
            cps = 100 2
            flags = IPv4
        }
4) To restart the service,
        use the following command to restart the service
        $/bin/systemctl restart xinetd.service
        If it does not work, use the following command
        $/bin/systemctl enable xinetd.service / /Start the service
        $/bin/systemctl start xinetd.service //Start the service to
        view the service startup status
        $ps aux | grep xinetd or $ps -ef|grep xinetd or ps -a | grep tftp
5) Possible problems
        5.1) In When starting xinetd.service, it prompts
            Redirecting to /bin/systemctl restart xinetd.service
            Failed to issue method call: Unit xinetd.service failed to load: No such file or directory.
            Help system is not installed xinetd, the need to use yum -y instal xinetd.service serving install
        5.2) occurs when you start xinetd.service:
            Redirecting to / bin / systemctl restart xinetd.service
            command may be initiated systemctl restart xinetd.service
            more These are the steps I took to install tftp and some of the problems I encountered. Maybe the reader has other problems during the installation process, but the problem should not be big.

6) xinetd started successfully, you can check the running status of xinetd

         netstat -tnlp 

Read More:

1 thought on “Install and start the tftp-server server and possible solutions to Redirecting to /bin/systemctl restart xinetd.service problems

  1. Pingback: Solve the problem of Telnet: connect to address 127.0.0.1: connection reused error message | DebugAH

Leave a Reply

Your email address will not be published. Required fields are marked *