Linux上的ftp配置,及错误500 OOPS: could not bind listening IPv4 socket解决
来源:互联网 发布:开淘宝网店有赚钱的吗 编辑:程序博客网 时间:2024/06/06 00:59
[参考:http://bbs.chinaunix.net/thread-704039-1-1.html 9楼]
像其它守护程序一样,vsftpd提供了standalone和inetd(inetd或xinetd)两种运行模式。简单解释一下,standalone一次性启动,运行期间一直驻留在内存中,优点是对接入信号反应快,缺点是损耗了一定的系统资源,因此经常应用于对实时反应要求较高的专业FTP服务器。inetd恰恰相反,由于只在外部连接发送请求时才调用FTP进程,因此不适合应用在同时连接数量较多的系统。此外,inetd模式不占用系统资源。除了反应速度和占用资源两方面的影响外,vsftpd还提供了一些额外的高级功能,如inetd模式支持per_IP(单一IP)限制,而standalone模式则更有利于PAM验证功能的应用。
1.xinetd运行模式大多数较新的系统采用的是xinetd超级服务守护进程。使用“vi /etc/xinetd.d/vsftpd” 看一下它的内容,如下:
disable = no
socket_type = stream
wait = no
# 这表示设备是激活的,它正在使用标准的TCP Sockets。
如果“/etc/vsftpd.conf”中的有选项为“listen=YES”,注销它
------------
切换到root用户,输入命令vi /etc/vsftpd.conf
去掉local_enable=YES和write_enable=YES前面的#号,将anonymous_enable = YES的值改为NO,注释掉listen=YES(改为#listen=YES),保存退出。
------------
$ /etc/rc.d/init.d/xinetd restart
需要注意的是,“/etc/xinetd.d”目录中仅能开启一个FTP服务。
2.standalone模式
standalone模式便于实现PAM验证功能。进入这种模式首先要关闭xinetd下的vsftpd,设置
“disable = yes”,或者注销掉“/etc/inetd.conf”中相应的行。然后修改“/etc/vsftpd.con
f”中的选项为“listen=YES”。
- Linux上的ftp配置,及错误500 OOPS: could not bind listening IPv4 socket解决
- Linux上的ftp配置,及错误500 OOPS: could not bind listening IPv4 socket解决
- 500 OOPS: could not bind listening IPv4 socket 错误
- vsftp:500 OOPS: could not bind listening IPv4 socket 解决办法
- vsftp:500 OOPS: could not bind listening IPv4 socket 解决办法
- vsftp:500 OOPS: could not bind listening IPv4 socket 解决办法
- could not bind listening IPv4 socket错误
- vsftpd could not bind listening IPv4 socket解决
- vsftpd :could not bind listening IPv4 socket
- Linux:解决Permission denied: make_sock: could not bind to address
- 启动SUSE11,解决问题Could not create ICE listening socket: Cannot establish any listening sockets
- “Service 'Driver' could not bind on port”错误的解决方法
- Apache解决error setting limit (Operation not permitted)及could not bind to address 0.0.0.0:80 的方法
- 解决linux FTP 553 Could not create file
- could not bind to address 0.0.0.0:443 no listening sockets available, shutting d
- could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
- Postgresql 启动could not create listen socket for "localhost"错误的解决
- vsftp 移植时遇到的“500 OOPS:socket 错误”解决办法
- 用C++生成WORD文档
- 插件开发 第三方jar包
- java设计模式之享元模式
- 【每日面试题】给定一个字符串,求出其最长的重复子串
- Qt中使用Cairo
- Linux上的ftp配置,及错误500 OOPS: could not bind listening IPv4 socket解决
- c++操作word接口
- http://acm.nyist.net/JudgeOnline/problem.php?pid=117&&树状数组求逆序数+离散化
- Poem: I Like For You To Be Still
- Socket编程
- Nginx 的 server_names_hash_bucket_size 问题
- 用 jQuery写的可编辑的表格
- Visual C++操纵MS Word
- 九选三不及格,心情沉痛ing