delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/18/10:50:06

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eran Cohanim <eran AT cohanim DOT org>
Subject: Re: 1.5.21: problem with xinetd permissions
Date: Wed, 18 Oct 2006 16:49:09 +0200
Lines: 118
Message-ID: <eh5et6$l62$1@sea.gmane.org>
References: <004e01c6ef14$47350800$020aa8c0 AT cohanim DOT org> <45301ADF DOT 2080006 AT cdvinc DOT com> <eh01ru$sal$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0b1pre (Windows/20061017)
In-Reply-To: <eh01ru$sal$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I've noticed that when I update a working xinetd system (I mean telnetd 
and ftpd and others - all work) all the available daemon are not working 
after that

when i try to telnet localhost iget the below result

netstat -an | grep 23
   TCP    0.0.0.0:23             0.0.0.0:0              LISTENING


Trying 127.0.0.1...
Connected to eranc.ad.checkpoint.com.
Escape character is '^]'.
Connection closed by foreign host.


now i must mention that before cygwin update i've checked telnet and it
worked for me


is there any fix for it ?



Eran Cohanim wrote:
> 
> well, I've allso changed permissions for user "eran" and it still doesnt 
> work - I must mention that in the past I didnt have to change 
> permissions or do anything special for making it work and it did work 
> for me.
> I suspect that something during istallation has changed that make this 
> problem occur
> 
> still waiting for suggestions
> Thanks
> Eran
> 
> Tim Beuman wrote:
>> You are trying to start xinetd from user erin, which has no write 
>> permission on /var/lock/subsys (only read & execute). chmod 777 
>> /var/lock/subsys would probably help.
>>
>> Tim
>>
>> Eran Cohanim wrote:
>>>
>>> Hi,
>>>
>>> I have been trying to setup xinetd in my windows xp pro computer 
>>> under cygwin with no luck
>>> (tried that in 3 different computers with the same result)
>>> (I must mention that I did it in the past with success - had to redo 
>>> it because of new installed OS
>>> and new installed cygwin)
>>>
>>> now from some reason I cant and the error I get is:
>>>
>>> $ /etc/rc.d/init.d/xinetd start
>>> Starting xinetd:                                           [  OK  ]
>>> touch: cannot touch `/var/lock/subsys/xinetd': Permission denied
>>>
>>> $ ls -la /var/lock/
>>> total 0
>>> drwxr-xr-x+ 3 SYSTEM root  0 Oct 12 20:05 .
>>> drwxrwx---+ 9 eran   Users 0 Oct 12 20:05 ..
>>> drwxr-xr-x+ 2 SYSTEM root  0 Oct 13 12:06 subsys
>>>
>>> I installed all the neccesary packages for making it work
>>>
>>> $ cygcheck -c | egrep "sysvinit|initscript|chkconfig|xinetd"
>>> chkconfig               1.2.24h-1          OK
>>> initscripts             0.9-1              OK
>>> sysvinit                2.84-4             OK
>>> xinetd                  2.3.9-1            OK
>>>
>>> and after that run:
>>>
>>> init-config (answered no at both questions - tried even with yes 
>>> answer on both questions)
>>> xinetd-config (answered yes on both questions)
>>>
>>> now I see all the relevant port listening but if I try them is say 
>>> the below
>>>
>>> $ netstat -aon | grep 23
>>>  TCP    0.0.0.0:23             0.0.0.0:0              LISTENING       
>>> 3252
>>>
>>> $ telnet localhost
>>> Trying 127.0.0.1...
>>> Connected to 172.0.0.1.
>>> Escape character is '^]'.
>>> Connection closed by foreign host.
>>>
>>> I've searched for that problem in your newsgroups and found the below 
>>> link (that was long time ago - see the date)
>>>
>>> http://www.cygwin.com/ml/cygwin/2004-08/msg01109.html
>>>
>>>
>>> please let me know how can i fix this
>>> thanks ahead
>>>
>>> Eran Cohanim
>>>
>>> -- 
>>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>> Problem reports:       http://cygwin.com/problems.html
>>> Documentation:         http://cygwin.com/docs.html
>>> FAQ:                   http://cygwin.com/faq/
>>>
>>>
>>>
>>
>>
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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