Mail Archives: cygwin/2003/01/06/14:37:26
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 -