[devel] Q: xinetd/vsftpd trouble

Konstantin A. Lepikhov =?iso-8859-1?q?lakostis_=CE=C1_altlinux=2Eru?=
Вт Окт 31 23:56:43 MSK 2006


$ xinetd -d -dontfork
...
06/10/31 на 23:44:31: DEBUG: 29094 {cnf_start_services} Started service: ftp
06/10/31 на 23:44:31: DEBUG: 29094 {cnf_start_services} mask_max = 9,
services_started = 4
06/10/31 на 23:44:31: NOTICE: 29094 {main} xinetd Version 2.3.14 started with
libwrap loadavg options compiled in.
06/10/31 на 23:44:31: NOTICE: 29094 {main} Started working: 4 available
services
06/10/31 на 23:44:31: DEBUG: 29094 {main_loop} active_services = 4
06/10/31 на 23:44:36: DEBUG: 29094 {main_loop} select returned 1
06/10/31 на 23:44:36: DEBUG: 29094 {server_start} Starting service ftp
06/10/31 на 23:44:36: DEBUG: 29094 {main_loop} active_services = 4
06/10/31 на 23:44:36: CRITICAL: 29101 {general_handler} (29101) Unexpected
signal: 11 (Segmentation fault)
06/10/31 на 23:44:36: DEBUG: 29094 {main_loop} active_services = 4
06/10/31 на 23:44:36: DEBUG: 29094 {main_loop} select returned 1
06/10/31 на 23:44:36: DEBUG: 29094 {check_pipe} Got signal 17 (Child exited)
06/10/31 на 23:44:36: DEBUG: 29094 {child_exit} waitpid returned = 29101
06/10/31 на 23:44:36: DEBUG: 29094 {server_end} ftp server 29101 died
06/10/31 на 23:44:36: INFO: 29094 {conn_free} freeing connection
06/10/31 на 23:44:36: DEBUG: 29094 {child_exit} waitpid returned = -1
06/10/31 на 23:44:36: DEBUG: 29094 {main_loop} active_services = 4

$ telnet xxx.xxx.xxx.xxx ftp
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
Connection closed by foreign host.

$ cat /etc/xinetd.d/vsftpd
# default: off
# description: The vsftpd FTP server.
service ftp
{
	disable         = no
	socket_type     = stream
	protocol        = tcp
	wait            = no  
	user            = root
	nice            = 10
	rlimit_as       = 16M
	per_source	= 5
	instances	= 20
	bind		= xxx.xxx.xxx.xxx
	server		= /usr/sbin/vsftpd
	banner_fail	= /etc/vsftpd/banner_fail
}

$ cat /etc/xinetd.conf
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
        log_type = SYSLOG authpriv info
        log_on_success = PID HOST DURATION
        log_on_failure = HOST
        instances = 100
        per_source = 5
        only_from = 127.0.0.1 xxx.xxx.xxx.xxx/24 xxx.xxx/16
}

includedir /etc/xinetd.d

$ cat /etc/hosts.allow
ALL: LOCAL @wheel
vsftp: xxx.xxx.

$ rpm -qa|egrep "(xinetd|vsftpd)"
xinetd-2.3.14-alt1
vsftpd-2.0.5-alt1

если запускать vsftpd с listen=YES, то оно работает. Другие проги,
запускаемые через xinetd (bitlbee/tftpd) работают нормально.

-- 
WBR et al.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: Digital signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20061031/fb85dea3/attachment-0001.bin>


Подробная информация о списке рассылки Devel