今天在板子上使用 tftp -p -l sysenv.cfg 192.168.0.46命令想要将板子上的sysenv.cfg文件上传到host的tftp目录时,出现
tftp: server says: Access violation的错误提示,
以下内容转自:
http://hi.baidu.com/babysnow/item/5b1587e797eaa30f8d3ea8ca
求助于google, 得下面一段说明,问题解决。
The tftp man page says:
Because there is no user-login or validation within the TFTP
protocol, the remote site will probably have some sort of
file-access restrictions in place. The exact methods are
specific to each site and therefore dif ficult to document here.
So apparently the site you're trying to get the file from has some
kind of access restrictions in place. Take a look at the tftpd man
page on the remote host. The linux tftpd manual says, in part, "Due to
the lack of authentication information, tftpd will allow only publicly
readable files to be accessed. Files may be written only if they
already exist and are publicly writable."
上面主要意思就是: tftp服务器缺少必要的身份验证,
所以默认只允许下载文件,要上传文件,必须是服务器中已存在同名的文件,
且该文件权限允许被覆盖。
所以首先在服务中创建一个与要上传的文件同名的文件,并更改权限。
$ touch dic.txt
$ chmod 777 dic.txt
重新上传,成功。
tftp> put dic.txt
Sent 13770 bytes in 0.0 seconds
今天在板子上使用 tftp -p -l sysenv.cfg 192.168.0.46命令想要将板子上的sysenv.cfg文件上传到host的tftp目录时,出现tftp: server says: Access violation的错误提示,以下内容转自:http://hi.baidu.com/babysnow/item/5b1587e797eaa30f8d3ea8ca求助
cwRsync 同步时报错 STATUS_
ACCESS
_
VIOLATION
windows XP 执行 cwRsync 同步时报错:
2 [main] rsync 3044 _cygtls::handle_exceptions: Exception: STATUS_
ACCESS
_
VIOLATION
724 [main] rsync 3044 open_...
求助于google, 得下面一段说明,问题
解决
。
The
tftp
man page
says
:
Because there is no user-login or validation within the
TFTP
protocol, the remote site will proba
最近在使用
tftp
工具上传报文到电脑时候,出现了问题。报错如下:
tftp
:
server
error: (2)
Access
violation
网上搜索了一圈,有说是权限问题的,试了一下不行;总之是没有找到有效的
办法
。那就只能自己想
办法
解决
了。
看问题像是
tftp
服务器出问题了。我把电脑上的
tftp
服务器重启了一下,还是不行,所以应该不是服务器问题。既然不是服务器问题,那就可能是
tftp
客户端问题了。
我突然灵光一闪,有没有可能是被占用的问题。于是执行
/tmp # ps | grep
tftp
在u-boot上运行“run netboot”下载程序时,也就是从电脑的
tftp
服务器往ARM开发板下载程序时,出现了”
TFTP
error: '
Access
violation
' (2)”。
为了确认是
tftp
服务器的配置问题还是ARM开发板的问题。先运行了一下命令:
$
tftp
127.0.0.1
>get test
在
tftp
文件夹下有test文件的情况下,仍然出现”
TFTP
err
利用mkyaffs2image root-combo-422 rootfs-combo.yaffs2制作好根文件系统rootfs-combo.yaffs2,将rootfs-combo.yaffs2拷贝到主机服务器的
tftp
目录;
然后,在U-Boot中将根文件系统加载到内存的时候出现如下错误:
DingQing>
tftp
22000000 rootfs-combo.y...
今天想用nfs启动内核,按照我原来那篇文章修改,将uboot设好后,结果出现
TFTP
error: '
Access
violation
' 这个错误。
最后检查原来是放内核的目录,没有设为
tftp
目录,于是我将内核的uImage直接放在
tftp
boot这个目录下面,顺便将文件夹
tftp
boot权限修改一下chmod 777
tftp
boot
也可以编辑这个文件,将
tftp
boot修改为自己的t
lgb_love:
解决VC++ MFC程序resource.h头文件中ID重复问题
zxwangyun