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 From: "Sergey Okhapkin" To: "'Bruce Dobrin'" , Subject: RE: xinetd/ init not working for me Date: Mon, 6 Jan 2003 14:47:05 -0500 Message-ID: <59A835EDCDDBEB46BC75402F4604D5528F75BE@elmer> X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <005801c2b5ba$e98e3230$4d1f1cac@THEODOLITE> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 06 Jan 2003 19:47:05.0844 (UTC) FILETIME=[64254B40:01C2B5BC] Stop init service, remove /var/log/servicelog and make sure /var/log directory is writeable for all. Start init service. > -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Bruce Dobrin > Sent: Monday, January 06, 2003 2:37 PM > To: Sergey Okhapkin; cygwin AT cygwin DOT com > Subject: Re: xinetd/ init not working for me > > > Thanks Sergey, that is exactly what I did (said "yes" to > overwrite). I've re-installed and now init runs xinetd. now > I get an error (in the error > log) after xinetd loads the appropriate services "xinetd: > creation of default log failed." followed by: "xinetd:Started > working: 0 available services." > > I'm not sure where to look here, I did notice a "touch > /var/lock/subsys/xinetd" which is successful in the xinetd > startup, so I'm not sure where the log is or how to make it > work. Or is there something else I should be doing? > > Thanks, > > Bruce > > ----- Original Message ----- > > From: "Sergey Okhapkin" > To: "Bruce Dobrin" ; > Sent: Saturday, January 04, 2003 5:41 AM > Subject: Re: xinetd/ init not working for me > > > > OK, let's troubleshut the problem step by step. I need to find out > > first where the problem is, in init, initscripts or xinetd. > I suspect > > when you > run > > init-config you answered "yes" to overwrite an existing > /etc/inittab > > installed by initscripts package. What are the last three lines of > > /etc/inittab? They should be like: > > > > # Run xdm in runlevel 5 > > # xdm is now a separate service > > #x:5:respawn:/etc/X11/prefdm -nodaemon > > > > If (you inittab is different) > > please reinstall initscripts package. > > else > > post the printout of "ls -l /etc/inittab /etc/rc.d > > /etc/rc.d/init.d" > > > > Sergey Okhapkin > > Somerset, NJ > > ----- Original Message ----- > > From: "Bruce Dobrin" > > To: "Sergey Okhapkin" ; > > > Sent: Friday, January 03, 2003 9:35 PM > > Subject: Re: xinetd/ init not working for me > > > > > > > no, > > > the only 3 messages are: > > > > > > entering runlevel 3 > > > no more processes left at this runlevel > > > `init` service started > > > > > > > > > ----- Original Message ----- > > > From: "Sergey Okhapkin" > > > To: "Bruce Dobrin" ; > > > Sent: Friday, January 03, 2003 6:23 PM > > > Subject: Re: xinetd/ init not working for me > > > > > > > > > > Are there any errors in NT application error log on > init startup? > > > > > > > > Sergey Okhapkin > > > > Somerset, NJ > > > > ----- Original Message ----- > > > > From: "Bruce Dobrin" > > > > To: > > > > Sent: Friday, January 03, 2003 9:10 PM > > > > Subject: xinetd/ init not working for me > > > > > > > > > > > > > I just upgraded to 1.3.18 and noticed a version of init and > > > > > xinetd. > > I > > > > > turned off inetd and installed xinetd, chkconfig, > sysvinit, and > > > > > the initscripts, Ran init-config and xinetd-config. > chkconfig > > > > > says > that > > > > xinetd > > > > > is on at runlevel3, net start init starts init at > runlevel3 , > > > > > but > > > doesn't > > > > > start xinetd. If I manualy start xinetd (either with > > > > > /etc/rc.d/init.d/xinetd start or /usr/sbin/xinetd > -d) it appears > to > > > set > > > > > up the various services, but when I try to access > the machine > > > > > using > > an > > > > > xinetd service (telnet or rlogin) I get : > > > > > > > > > > 03/1/3 AT 18:04:10: DEBUG: {server_start} Starting service login > > > > > 03/1/3 AT 18:04:10: DEBUG: {main_loop} active_services = 14 > > > > > 03/1/3 AT 18:04:10: ERROR: {set_credentials} setuid failed: > > > > > Permission > > > denied > > > > > (errno = 13) > > > > > 03/1/3 AT 18:04:10: DEBUG: {main_loop} active_services = 14 > > > > > 03/1/3 AT 18:04:10: DEBUG: {main_loop} select returned 1 > > > > > 03/1/3 AT 18:04:10: DEBUG: {check_pipe} Got signal 20 > (Child status > > > changed) > > > > > 03/1/3 AT 18:04:10: DEBUG: {child_exit} waitpid returned = 3056 > > > > > 03/1/3 AT 18:04:10: DEBUG: {server_end} login server 3056 exited > > > > > 03/1/3 AT 18:04:10: DEBUG: {svc_postmortem} Checking log size of > > > > > login > > > > service > > > > > 03/1/3 AT 18:04:10: INFO: {conn_free} freeing connection > > > > > 03/1/3 AT 18:04:10: DEBUG: {child_exit} waitpid returned = -1 > > > > > 03/1/3 AT 18:04:10: DEBUG: {main_loop} active_services = 14 > > > > > > > > > > > > > > > I've tried adding the services to the hosts.allow > file and a few > > > > > oth > er > > > > > things, but no luck so far, I've also been through > the cygwin > > > > > and > > > xinetd > > > > > lists and haven't turned anything up. > > > > > Oh, inetd works just fine, but I'd like to use xinetd if I > > > > > could. > > > > > > > > > > thanks for any help. > > > > > Bruce Dobrin > > > > > dobrin AT imageworks DOT com > > > > > > > > > > > > > > > -- > > > > > 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/ > > > > > > > > > > > > > > > -- > > 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/ > -- 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/