delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/06/14:37:26

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
Message-ID: <005801c2b5ba$e98e3230$4d1f1cac@THEODOLITE>
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: "Sergey Okhapkin" <sos AT sokhapkin DOT dyndns DOT org>, <cygwin AT cygwin DOT com>
References: <000301c2b390$84d3a2c0$1403a8c0 AT sc DOT tlinx DOT org> <1041644045 DOT 7198 DOT 208 DOT camel AT lifelesswks> <002d01c2b396$6d0b2b30$4d1f1cac AT THEODOLITE> <02ed01c2b398$3d159260$0201a8c0 AT sos> <000d01c2b399$e97592c0$4d1f1cac AT THEODOLITE> <031e01c2b3f6$f221bfe0$0201a8c0 AT sos>
Subject: Re: xinetd/ init not working for me
Date: Mon, 6 Jan 2003 11:36:30 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

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" <sos AT sokhapkin DOT dyndns DOT org>
To: "Bruce Dobrin" <dobrin AT imageworks DOT com>; <cygwin AT cygwin DOT com>
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" <dobrin AT imageworks DOT com>
> To: "Sergey Okhapkin" <sos AT sokhapkin DOT dyndns DOT org>; <cygwin AT cygwin DOT com>
> 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" <sos AT sokhapkin DOT dyndns DOT org>
> > To: "Bruce Dobrin" <dobrin AT imageworks DOT com>; <cygwin AT cygwin DOT com>
> > 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" <dobrin AT imageworks DOT com>
> > > To: <cygwin AT cygwin DOT com>
> > > 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/

- Raw text -


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