delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/17/18:56:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: <428A76AF.9F0CD1C2@dessent.net>
Date: Tue, 17 May 2005 15:56:47 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Windows Server 2003 inetd service keeps exiting
References: <BAY9-F28873E95780A4475EE42BF3160 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Krigare Warrior wrote:

> I did as you suggested, and I did get an error message (in the event viewer)
> stating:
> starting service 'M' failed: redirect_fd: open(1, /var/log/inetd.log): 13,
> Permission denied.
> 
> After digging, I found that /var/log did not have write permissions.  After
> setting write permissions, inetd was able to start, and after 20-30 seconds
> it exited.  No further messages in the event viewer or /var/log/inetd.log.

That will happen if you change the user that the service is running as
without also chown'ing the log files, since typically they get created
with write permission only for the owner.

> So, I am not sure if it is still a permission setting problem.. Where are
> the setup scripts located? I would be glad to look at those (if I could only
> find them). I did find the iu_config, but nothing really there except
> setting up ftpusers etc.

/usr/bin/ssh-host-config
/usr/bin/cygserver-config
/usr/bin/cron-config

> Also, neither cron or sshd will run either (actually they never got setup
> during installation, did I have to do anything special?).  I have tried
> re-installing cygwin but no difference.

You are using the *-config scripts to install those services, right? 
They will take care of all the boring details for you.  However, if you
have remnants (such as an existing sshd service) they will not try to
overwrite what you've got already.

Brian

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

- Raw text -


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