This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@imageworks.com>
To: "Sergey Okhapkin" <sos@sokhapkin.dyndns.org>; <cygwin@cygwin.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@sokhapkin.dyndns.org>
> To: "Bruce Dobrin" <dobrin@imageworks.com>; <cygwin@cygwin.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@imageworks.com>
> > To: <cygwin@cygwin.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@18:04:10: DEBUG: {server_start} Starting service login
> > > 03/1/3@18:04:10: DEBUG: {main_loop} active_services = 14
> > > 03/1/3@18:04:10: ERROR: {set_credentials} setuid failed: Permission
> denied
> > > (errno = 13)
> > > 03/1/3@18:04:10: DEBUG: {main_loop} active_services = 14
> > > 03/1/3@18:04:10: DEBUG: {main_loop} select returned 1
> > > 03/1/3@18:04:10: DEBUG: {check_pipe} Got signal 20 (Child status
> changed)
> > > 03/1/3@18:04:10: DEBUG: {child_exit} waitpid returned = 3056
> > > 03/1/3@18:04:10: DEBUG: {server_end} login server 3056 exited
> > > 03/1/3@18:04:10: DEBUG: {svc_postmortem} Checking log size of login
> > service
> > > 03/1/3@18:04:10: INFO: {conn_free} freeing connection
> > > 03/1/3@18:04:10: DEBUG: {child_exit} waitpid returned = -1
> > > 03/1/3@18:04:10: DEBUG: {main_loop} active_services = 14
> > >
> > >
> > > I've tried adding the services to the hosts.allow file and a few other
> > > 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@imageworks.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]