[[email protected] sbin]# chkconfig --list | grep xinetd [[email protected] sbin]# yum list xinetd Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity file:///media/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/Server/repodata/repomd.xml Trying other mirror. file:///media/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/Server/repodata/repomd.xml Trying other mirror. Available Packages xinetd.x86_64 2:2.3.14-34.el6 rhel-source [[email protected] sbin]# mount /dev/cdrom /media mount: block device /dev/sr0 is write-protected, mounting read-only [[email protected] sbin]# yum list xinetd Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity rhel-source | 4.0 kB 00:00 ... rhel-source-beta | 4.0 kB 00:00 ... Available Packages xinetd.x86_64 2:2.3.14-34.el6 rhel-source [[email protected] sbin]# yum install xinetd Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package xinetd.x86_64 2:2.3.14-34.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Installing: xinetd x86_64 2:2.3.14-34.el6 rhel-source 121 k Transaction Summary ============================================================================================================================================================ Install 1 Package(s) Total download size: 121 k Installed size: 259 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 2:xinetd-2.3.14-34.el6.x86_64 1/1 Installed products updated. Verifying : 2:xinetd-2.3.14-34.el6.x86_64 1/1 Installed: xinetd.x86_64 2:2.3.14-34.el6 Complete! [[email protected] sbin]# [[email protected] sbin]# service xinetd status xinetd is stopped [[email protected] sbin]# /etc/init.d/xinetd force-reload Reloading configuration: [FAILED] [[email protected] sbin]# /etc/init.d/xinetd force-reload Reloading configuration: [FAILED] [[email protected] sbin]# /etc/init.d/xinetd start Starting xinetd: [ OK ] [[email protected] sbin]# service xinetd status xinetd (pid 3664) is running... [[email protected] sbin]# /etc/init.d/xinetd force-reload Reloading configuration: [ OK ] [[email protected] sbin]# [[email protected] sbin]# [[email protected] sbin]# [[email protected] sbin]#
时间: 2024-10-15 18:17:38