Chinaunix

标题: ubuntu11.04下配置tftp重启服务时出现的问题 [打印本页]

作者: litao871104    时间: 2011-06-10 10:35
标题: ubuntu11.04下配置tftp重启服务时出现的问题
lltt@lltt-GA-880GM-D2H:~$ sudo /etc/init.d/xinetd restart
Rather than invoking init scripts through /etc/init.d, use the service(
utility, e.g. service xinetd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop( and then start( utilities,
e.g. stop xinetd ; start xinetd. The restart( utility is also available.
xinetd stop/waiting
xinetd start/running, process 4415



lltt@lltt-GA-880GM-D2H:~$ service xinetd restart
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.53" (uid=1000 pid=4423 comm="restart xinetd " interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")


请高手指点一下  还需要什么配置文件的内容  我可以贴出来  谢谢!
作者: chenyx    时间: 2011-06-10 10:38
本帖最后由 chenyx 于 2011-06-10 10:43 编辑

下面那行命令应该也用sudo来运行
作者: litao871104    时间: 2011-06-10 10:40
开始我装了tftpd tftp xinetd 三个包
作者: litao871104    时间: 2011-06-10 10:41
回复 2# chenyx


lltt@lltt-GA-880GM-D2H:~$ sudo service xinetd restart
xinetd start/running, process 4415
加了sudo 也出现错误
作者: chenyx    时间: 2011-06-10 10:42
没什么错误,服务起来了
作者: litao871104    时间: 2011-06-10 10:47
回复 5# chenyx


    恩 谢谢版主  可以了  
cd /
sudo mkdir tftpboot
sudo chmod -R 777 tftpboot
cd
tftp 172.20.146.59
get了一个tftpboot目录里面的文件
昨天一直get 不了   总是timeout   

刚刚不知道为什么又可以了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2