免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: 野鸭子
打印 上一主题 下一主题

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效? [复制链接]

论坛徽章:
0
1 [报告]
发表于 2004-12-30 13:50 |显示全部楼层

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

请问使用kill -HUP 重启进程要多久?\r\n为什么我重启了inetd进程,查看了一下好像没有重启呢\r\n# ps -ef|grep inetd |more\r\n    root   122     1  0 11:41:51 ?        0:00 /usr/sbin/inetd -s\r\n# kill -HUP 122\r\n# ps -ef|grep inetd |more\r\n    root   122     1  0 11:41:51 ?        0:00 /usr/sbin/inetd -s\r\n# \r\n\r\n另外我kill掉inetd进程,重启这个服务怎么启不来呢?\r\n# kill 122\r\n# ps -ef|grep inetd\r\n# cd /etc/rc2.d\r\n# ./s69inet start\r\n# ps -ef|grep inetd\r\n# \r\n\r\n我从/etc/init.d 里启动也是这样的\r\n# cd /etc/init.d\r\n# ./inetinit start\r\n# ps -ef |grep inetd\r\n#\r\n\r\n\r\n这是我第一次亲手试验,没经验,高手知道的指点下,谢谢\r\n我试着注销后重新登录,结果一样\r\nLast login: Thu Dec 30 14:48:03 2004 from 192.168.0.197\r\nbash-2.03$ ps -ef|grep inetd\r\nbash-2.03$

论坛徽章:
0
2 [报告]
发表于 2004-12-30 22:04 |显示全部楼层

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

# ps -ef |grep inetd\r\n    root   169     1  0 20:22:57 ?        0:00 /usr/sbin/inetd -s -t\r\n    root   397   395  0 22:17:42 pts/1    0:00 grep inetd\r\n# pkill -HUP 169\r\n# ps -ef |grep inetd\r\n    root   169     1  0 20:22:57 ?        0:00 /usr/sbin/inetd -s -t\r\n    root   400   395  0 22:18:06 pts/1    0:00 grep inetd\r\n# \r\n同我用kill -HUP 122,似乎没有任何变化?另pkill 和kill 区别大么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP