* [devel] Q: xinetd/vsftpd trouble
@ 2006-10-31 20:56 Konstantin A. Lepikhov
2006-10-31 21:38 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Konstantin A. Lepikhov @ 2006-10-31 20:56 UTC (permalink / raw)
To: ALT Linux Devel Mailing List
[-- Attachment #1: Type: text/plain, Size: 2528 bytes --]
$ 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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-31 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-31 20:56 [devel] Q: xinetd/vsftpd trouble Konstantin A. Lepikhov
2006-10-31 21:38 ` Dmitry V. Levin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git