刚刚注意到rhel6里边默认是不装xinetd的。

[root@rhel63single sbin]# chkconfig --list | grep xinetd
[root@rhel63single 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
[root@rhel63single sbin]# mount /dev/cdrom /media
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@rhel63single 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
[root@rhel63single 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!
[root@rhel63single sbin]# 


[root@rhel63single sbin]# service xinetd status
xinetd is stopped
[root@rhel63single sbin]# /etc/init.d/xinetd force-reload
Reloading configuration: [FAILED]
[root@rhel63single sbin]# /etc/init.d/xinetd force-reload
Reloading configuration: [FAILED]
[root@rhel63single sbin]# /etc/init.d/xinetd start
Starting xinetd: [  OK  ]
[root@rhel63single sbin]# service xinetd status
xinetd (pid  3664) is running...
[root@rhel63single sbin]# /etc/init.d/xinetd force-reload
Reloading configuration: [  OK  ]
[root@rhel63single sbin]# 
[root@rhel63single sbin]# 
[root@rhel63single sbin]# 
[root@rhel63single sbin]# 

 


 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。