免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1553 | 回复: 3
打印 上一主题 下一主题

[SCO UNIX] tftp 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-03 10:00 |只看该作者 |倒序浏览
在sco506上配置了一个tftp服务,但只能get,不能put。
出错提示:
Error code 2: Access violation


我的inted.conf内容:


#      @(#)$Id: inetd.conf,v 6.8 1996/01/09 21:48:54 aes Exp $ - STREAMware TCP/
IP  source
#
# Copyrighted as an unpublished work.
# (c) Copyright 1987-1994 Legent Corporation
# All rights reserved.
#
#      SCCS IDENTIFICATION
ftp     stream  tcp     nowait  root    /etc/ftpd       ftpd
telnet  stream  tcp     nowait  NOLUID  /etc/telnetd    telnetd
shell   stream  tcp     nowait  NOLUID  /etc/rshd       rshd
login   stream  tcp     nowait  NOLUID  /etc/rlogind    rlogind
exec    stream  tcp     nowait  NOLUID  /etc/rexecd     rexecd
finger  stream  tcp     nowait  nouser  /etc/fingerd    fingerd
#uucp   stream  tcp     nowait  NOLUID  /usr/lib/uucp/uucpd     uucpd
# Enabling this allows public read files to be accessed via TFTP.
#tftp   dgram   udp     wait    nouser  /etc/tftpd      tftpd
# This is the more secure method, since only files from /tftpboot can
# be accessed via TFTP.   This must be root in order to do the chroot
# to /tftpboot.  /tftpboot must be created by hand.
#tftp   dgram   udp     wait    root    /etc/tftpd      tftpd -s /tftpboot
tftp    dgram   udp     wait    root    /etc/tftpd      tftpd -s /tmp
comsat  dgram   udp     wait    root    /etc/comsat     comsat
ntalk   dgram   udp     wait    nouser  /etc/talkd      talkd
#
# Entries for BOOTP and DHCP servers & relay agent
#
# If running tftpd in secure mode, use bootpd with "-c securedir"
# where securedir is the argument to tftpd -s.
#
# To run bootpd by itself, use:
#bootps dgram   udp     wait    root    /etc/bootpd     bootpd
bootps  dgram   udp     wait    root    /etc/bootpd     bootpd -c /tmp
#
# To run dhcpd by itself, use:
#bootps dgram/i udp     wait    root    /etc/dhcpd      dhcpd
#
# When running dhcpd and bootpd, bootpd must be run in "slave mode" (with the
# -S option).  In this mode, bootpd listens on an alternate port.  The port
# bootps-alt is defined to be 950 in /etc/services, but it can be anything
# < 1024.  To run dhcpd and bootpd, use the following two lines:
#bootps dgram/i udp     wait    root    /etc/dhcpd      dhcpd -b bootps-alt
#bootps-alt dgram udp   wait    root    /etc/bootpd     bootpd -S
#
# To run the BOOTP/DHCP relay agent bootpgw, use:
#bootps dgram/i udp     wait    root    /etc/bootpgw    bootpgw server-name
#
tcpmux  stream  tcp     nowait  root    internal
echo    stream  tcp     nowait  root    internal
discard stream  tcp     nowait  root    internal
chargen stream  tcp     nowait  root    internal
daytime stream  tcp     nowait  root    internal
time    stream  tcp     nowait  root    internal
echo    dgram   udp     wait    root    internal
discard dgram   udp     wait    root    internal
chargen dgram   udp     wait    root    internal
daytime dgram   udp     wait    root    internal
time    dgram   udp     wait    root    internal

论坛徽章:
0
2 [报告]
发表于 2003-06-03 10:17 |只看该作者

tftp 问题

把这一行的#去掉吧:#tftp dgram udp wait nouser /etc/tftpd tftpd
把原来的一行屏蔽掉

论坛徽章:
0
3 [报告]
发表于 2003-06-03 14:10 |只看该作者

tftp 问题

在sco506上配置了一个tftp服务,但只能get,不能put。 出错提示:
Error code 2: Access violation 时,必须在TFTP服务器的目录中用touch filename建立欲put的filename文件(字节为0),chmod 777 filename即可.

论坛徽章:
0
4 [报告]
发表于 2003-06-03 16:38 |只看该作者

tftp 问题

方法虽行,但不能每次都建一个文件吧?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP