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: init and xinetd woes


> 
> 
> 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.
^^^^^^^^^^^^^^^^^
Er this could have been a problem, do you mean you ran init-config and said
yes overwrite the /etc/rc and /etc/inittab ?
if so try reinstalling init-scripts, as the defaults created by init-config
are very basic defaults.


> 
> /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
> <blank>
> 
> 
> 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/
> 

--
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/


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