ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@altlinux.ru>
To: ALT Linux Devel Mailing List <devel@lists.altlinux.org>
Subject: [devel] Q: xinetd/vsftpd trouble
Date: Tue, 31 Oct 2006 23:56:43 +0300
Message-ID: <20061031205643.GB29164@lks.home> (raw)

[-- 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 --]

             reply	other threads:[~2006-10-31 20:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 20:56 Konstantin A. Lepikhov [this message]
2006-10-31 21:38 ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061031205643.GB29164@lks.home \
    --to=lakostis@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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