xinetd服务为何不能启动

荆楚闲人 2014-09-11 06:23:55
问题的提出:
今天安装了xinetd,安装步骤如下:
1.执行 wget -c URL
其中URL为xinetd-2.3.14.tar.gz在服务器上的地址
执行上述命令后,成功下载xinetd-2.3.14.tar.gz到/etc/xinetd.d目录
2 执行tar xzvf xinetd-2.3.14.tar.gz
解压,
3 cd 到解压出来的xinetd-2.3.14目录
依次执行
./configure
make
make install
4 经过第3步骤后,
xinetd被放到/usr/local/sbin
目录下了
5 执行 cp /etc/xinetd.d/xinetd-2.3.14/contrib/xinetd /etc/rc.d/init.d
即将xinetd的启动脚本从/etc/xinetd.d/xinetd-2.3.14/contrib目录复制一份到/etc/rc.d/init.d目录,以便等下执行service xinetd start使用
6 执行 cp /etc/xinetd.d/xinetd-2.3.14/contrib/xinetd.conf /etc
即将xinetd的配置文件从/etc/xinetd.d/xinetd-2.3.14/contrib目录复制一份到/etc目录,适当修改配置文件后如下:



因为配置文件很长,省略了很多截图,只截取了上述三幅图
7 执行service xinetd start,没有任何错误或正确提示,如下图所示:

8 执行ps,未发现xinetd进程
执行chkconfig --level 123456 xinetd on后再执行service xinetd start,还是没有任何错误或正确提示,ps时依然未见xinetd进程启动

各位大侠这是啥原因啊?
...全文
1013 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
大白守护进程 2016-12-07
  • 打赏
  • 举报
回复
你好,想请教个问题,我安装了xinetd,然后在/etc/services添加了一行mycat_status 48700/tcp ,为什么xinetd监听不到这个48700端口?
  • 打赏
  • 举报
回复
Is there a disable option in /etc/xinetd.conf? Make sure it's value is no
荆楚闲人 2014-09-12
  • 打赏
  • 举报
回复
引用 1 楼 micropentium6 的回复:
what does #/etc/init.d/xinetd status say?
没有任何提示,如下图:
  • 打赏
  • 举报
回复
引用 4 楼 danshiming 的回复:
[quote=引用 3 楼 micropentium6 的回复:] Is there a disable option in /etc/xinetd.conf? Make sure it's value is no
it's value is no, I am so sure [/quote] any reason u can't use the package offered by the system? why did u have to compile?
荆楚闲人 2014-09-12
  • 打赏
  • 举报
回复
引用 3 楼 micropentium6 的回复:
Is there a disable option in /etc/xinetd.conf? Make sure it's value is no
it's value is no, I am so sure
  • 打赏
  • 举报
回复
what does #/etc/init.d/xinetd status say?

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧