delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/11/07:21:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "sos" <sos AT sokhapkin DOT dyndns DOT org>
To: "'Gladwell, Ricardo X -ND'" <Ricardo DOT X DOT Gladwell DOT -ND AT dig DOT com>,
<cygwin AT cygwin DOT com>
Subject: RE: Problems with xinetd
Date: Fri, 11 Apr 2003 07:21:29 -0400
Message-ID: <59A835EDCDDBEB46BC75402F4604D55201514B8B@elmer>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <484C09F9725FE847AA2C9BCEAB66D7695B0906@SM-GBLO-XM02.emea.wdpr.disney.com>
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Do you run init as a service?

Sergey Okhapkin
Somerset, NJ

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Gladwell, Ricardo X -ND
Sent: Friday, April 11, 2003 6:28 AM
To: cygwin AT cygwin DOT com
Subject: Problems with xinetd


Hi All,

I'm having some problems getting xinetd to work through cygwin on my
Windows XP machine. Sysvinit seems to be calling xinetd correctly and
the service seems to be running when I run 'ps -a'. However, when I
attempt to telnet or ftp from the same machine locally (or non-locally
for that matter) I automatically get disconnected. The following appears
in servicelog:

03/4/11 AT 10:53:04: START: telnet pid=3056 from=127.0.0.1
03/4/11 AT 11:04:33: START: ftp pid=3988 from=127.0.0.1
03/4/11 AT 11:04:33: EXIT: ftp pid=3988 duration=0(sec)

I've checked my computer and there do not appear to be any firewalls
running or anything that would otherwise disable the service. My xinetd
configs are as follows:

-- xinetd.conf
defaults
{
	instances               = 60
        log_type                = FILE /var/log/servicelog
        log_on_success		= HOST PID
        log_on_failure		= HOST
	cps			= 25 30
}

includedir /etc/xinetd.d
--

-- xinetd.d/telnet
service telnet
{
	flags		= REUSE
	socket_type	= stream
	wait		= no
	server		= /usr/sbin/in.telnetd
	log_on_failure	+= USERID
	user			= SYSTEM
	disable		= no
}
--

When I check the Windows event log for error messages (of which there
are some) I get the following text:

xinetd : PID 3652 : setuid failed: Permission denied (errno = 13).

Please advise as to what is stopping these services from running.

TIA...

--
Ricardo Gladwell

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019