Any ideas any body on why I am unable to have cygwin xinetd start up as a
windows service?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Menon, Girish (MED, WIPRO-GE MED)
Sent: Wednesday, June 09, 2004 5:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Cygwin and xinetd


Here's the log file

                insite> cat /var/log/xinetd.log
                xinetd: msg_init failed: can't open log file

                insite> cat /etc/xinetd.conf
                #
                # Simple configuration file for xinetd
                #
                # Some defaults, and include /etc/xinetd.d/

                defaults
                {
                        instances               = 60
                        log_type                = FILE
/var/log/servicelog
                        log_on_success          = HOST PID
                        log_on_failure          = HOST
                        cps                     = 25 30
                }

                includedir /etc/xinetd.d


                insite> ls -l /var/log/
                total 184
                -rwxrwxrwx    1 SYSTEM   root            0 Jun  8 23:16
servicelog*
                -rwxrwxrwx+   1 Administ None        41072 Jun  8 16:23
setup.log*
                -rwxrwxrwx+   1 Administ None       145121 Jun  8 16:23
setup.log.full*         
                -rwxrwxrwx+   1 Administ None            0 Jun  8 16:23
wtmp*
                -rw-r--r--    1 SYSTEM   root           45 Jun  9 05:46
xinetd.log


Any idea which log file this is?


-----Original Message-----
From: Vince Hoffman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:28 AM
To: Menon, Girish (MED, WIPRO-GE MED)
Cc: [EMAIL PROTECTED]
Subject: RE: Cygwin and xinetd




On Tue, 8 Jun 2004, Menon, Girish (MED, WIPRO-GE MED) wrote:

> I found that I needed the chkconfig package too. Thanks
>
> Anyways, now I am unable to enable xinetd. Here's what I did.
>
>               cygrunsrv -I xinetd -d 'Cygwin xinetd' -p
> /usr/sbin/xinetd -a -d -e CYGWIN=ntsec
>               cygrunsrv -E xinetd
>               cygrunsrv -S xinetd
>
> When I execute "cygrunsrv -S xinetd", I get the following error:
>       cygrunsrv: Error starting a service: QueryServiceStatus:  Win32
> error 1062:
>       The service has not been started.
>
> I checked the Event Viewer and here is the event log
>
> 6/8/2004      10:52:44 PM     xinetd  Error   None    0       NT
> AUTHORITY\SYSTEM      GEMSWINXPV101   The description for Event ID ( 0
> ) in Source ( xinetd ) cannot be found. The local computer may not
have
> the necessary registry information or message DLL files to display
> messages from a remote computer. You may be able to use the
/AUXSOURCE=
> flag to retrieve this description; see Help and Support for details.
The
> following information is part of the event: xinetd : PID 3544 :
starting
> service `xinetd' failed: execv: 1, Operation not permitted.
>
>
>       Any ideas?

There should (if i remember rightly) be a log in /var/log/xinetd.log
does that contain anything ?

>
> Girish
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf
> Of Dave Korn
> Sent: Tuesday, June 08, 2004 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Cygwin and xinetd
>
>
> > -----Original Message-----
> > From: cygwin-owner On Behalf Of Menon, Girish (MED, WIPRO-GE MED)
> > Sent: 08 June 2004 18:18
> > To: cygwin
> > Subject: Cygwin and xinetd
> >
> > Hi,
> >
> >     I am currently using cygwin's inetd and wanted to use xinetd
> > instead. What packages other than the xinetd package, I
> > should download? I have recently downloaded the new xinetd package.
>
>   I dunno, but since you've just downloaded xinetd, why don't you look
> in
> its documentation to find out?  Take a look in /usr/doc/Cygwin, which
is
> where the documentation for cygwin packages gets put when you download
> and
> install them.
>
> > Please see the cygcheck output below:
>
>   It's tempting to point out that you appear to be missing
clue-1.0.0-0
> ...
>
>     cheers,
>       DaveK
> --
> Can't think of a witty .sigline today....
>
>
> --
> 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/
>

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

Reply via email to