Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001501c367c1$622fba70$3701a8c0@williethepimp> From: "Jonathan Simms" To: Subject: init and xinetd woes Date: Thu, 21 Aug 2003 04:51:16 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 hello all, I've been messing around with xinetd and init and I can't seem to get them to play nicely together. I've checked the archives and have reinstalled xinetd, sysvinit, initscripts, etc., run the appropriate config files (overwriting existing /etc/*config files) and I still can't get init to start xinetd. /var/log/init.log is empty net start init produces the following output: INIT: version 2.84 booting INIT: Entering runlevel: 3 INIT: no more processes left in this runlevel $ ps -e |grep init 2916 3432 2916 816 ? 18 04:41:05 /sbin/init $ ps -e |grep xinetd i tried doing "chkconfig --level 12345 xinetd on" but it seemed to have no effect $ chkconfig --list sshd 0:off 1:off 2:off 3:off 4:off 5:off 6:off xinetd 0:off 1:on 2:on 3:on 4:on 5:on 6:off xinetd based services: chargen: on chargen-udp: on daytime: on daytime-udp: on echo: on echo-udp: on ftpd: on imap: on rexec: on rlogin: on rsh: off rsync: off servers: on services: on talk: on telnet: on time: off time-udp: off there are no init errors in the Event Viewer > Application logs. if i start xinetd "/etc/rc.d/init.d/xinetd start" it starts up alright, but as soon as i try to connect (for example, to imap) I get: setuid failed. Permission denied (errno=13) I understand this is because I'm starting the xinetd process under the local user account and it needs to be started under the SYSTEM account in order to setuid. if it makes any difference, my /var/lock/subsys dir is empty I've really done the best I can searching google and the archives for answers as to how to resolve this problem. I've spent about 3 hours trying to get it to work to no avail. I know this list's attitude towards the asking of RTFM questions, or repeating questions easily answered by searching the archives, but I'm really stuck with this one. Please help. -Jonathan Simms -- 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/