Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: freeweb AT nyckelpiga DOT de To: cygwin AT cygwin DOT com Date: Thu, 12 Jul 2001 23:38:34 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Starting Apache Message-ID: <3B4E34FA.9230.21338C@localhost> In-reply-to: <20010712.114218.91281470.Takaaki.Ota@am.sony.com> References: <414CD5955458D711B51A00A0C9FB161822EF86 AT PRI-SERVER> X-mailer: Pegasus Mail for Win32 (v3.12cDE) X-Sender: 320081107336-0001 AT t-dialin DOT net Am 12 Jul 2001, um 11:42 hat Tak Ota geschrieben: > Nope, I can only start inetd but not apache, nor cron. In case of > inetd I learned that after "cygrunsrv -I ineted -p > /usr/sbin/inetd.exe" I had to reboot the W2K, otherwise cygrunsrv -S > inetd started inetd but it died shortly after. Anyway cygrunsrv is a > mysterious existence for me now. I wanted to pursue the reason why I > am not successful using cygrunsrv but the snapshot I got > cygwin-src-20010707.tar.bz2 does not seem to contain its source code. inetd has a builtin install mechanism. Read /etc/doc/Cygwin/inetutils-1.3.2.README and /etc/doc/Cygwin/cron... after running $ inetd --install-as-service it should work. Don't miss the other points in the README... > For now I am forcing myself not forgetting to start httpd when I > reboot the server. Sigh... I had also difficulties running apache as a service, but cygrunsrv is much more advanced since then. AND apache runs, only problem i had was that it seems to die if you look in the service manager. In the taskmanager there was to be seen that still some instances of apache were running. > > > I just downloaded Apache 1.3.20. It compiled/installed/ran out of the > > > box without any tweaking at all. It was quite an impressive and > > > delightful experience. Thank you. > > > > > > BTW, I am now trying to automate the following work, in case I reboot > > > the machine. > > > > > > /usr/local/apache/bin/apachectl start > > > > > > What is the equivalent mechanism as /etc/rc.d/init.d/ under Cygwin? > > > > Install it as a service with cygrunsrv: > > http://apache.dev.wapme.net/manual/cygwin.html#serv gph -- =^..^= -- 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/