解决ubuntu下ftp登录错误:do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
来源:互联网 发布:matlab数组写入excel 编辑:程序博客网 时间:2024/06/03 13:33
Ubuntu 12.04上安装了vsftpd,但使用user 和password登录,不成功,显示只有匿名模式;
打开了/etc/vsftpd.conf, 修改为:
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
重新启动vsftpd 服务
sudo service vsftpd restart
再次登录,报错:
$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.3.5)
Name (127.0.0.1:windriver): wind
331 Please specify the password.
Password:
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
Login failed.
Remote system type is Login.
查阅资料之后应该是与安装的NIS服务有冲突,参考:http://bbs.chinaunix.net/thread-1944614-1-1.html
于是修改/etc/nsswitch.conf, 如下:
passwd: files nis
group: files nis
shadow: files nis
再次重启vsftpd和autofs服务,登录成功。
- 解决ubuntu下ftp登录错误:do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
- 挂载nfs文件系统出现:mount: RPC: Unable to send; errno = Network is unreachable
- 挂载nfs文件系统出现:mount: RPC: Unable to send; errno = Network is unreachable
- do_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host
- ubuntu network is unreachable 解决记
- ubuntu network is unreachable 解决记
- ubuntu network is unreachable 解决记
- ubuntu network is unreachable 解决记
- ubuntu network is unreachable 解决记
- Ubuntu network is unreachable
- Ubuntu network is unreachable解决方法
- ok6410挂载fedora nfs 解决mount: RPC: Unable to receive; errno = No route to host
- NFS错误Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
- NFS错误Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
- 广播Boradcast socket sendto出错 errno: 101 Network is unreachable
- mount: RPC: Unable to receive; errno = Connection refused
- Warning: Unable to send packet: Error with PF_PACKET send() [11]: Message too long (errno = 90)
- centos下问题:connect:network is unreachable
- 类图和对象图的讲解
- 畅通工程续+迪杰斯特拉算法+floyd算法
- zoj-1005倒水问题
- Rsync源码——HashTable相关
- 顺序图和协作图
- 解决ubuntu下ftp登录错误:do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
- Ignatius and the Princess III(母函数或动态规划)
- UML类图与对象图
- 使用LinearGradientBrush类
- 用例图
- ASP.NET如何让后台代码控制div层显示及隐藏
- 状态图与活动图
- 使用PathGradientBrush类
- wince文件存储及文件管理器(二)