Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message Subject: apache2 as service MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 17 Sep 2004 09:18:44 -0700 Message-ID: <24BDFF97F1939B44BCBA2E6AADEB0A28233917@mailsc.engineering.netscaler.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Prakash Khemani" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i8HGKC3A005058 Hi, I compiled & installed apache2 on cygwin+WinXP. I am able to use it fine - but I am not able to install it as a service. The run as User in the httpd.conf file is SYSTEM. I installed apache2 asa service using the following command cygrunsrv -I cygapache -p /usr/local/apache2/bin/httpd.exe -a "-k start" -t auto When I try to start it cygrunsrv -S cygapache I get the following error cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. Nothing is written to /var/log/cygaapche.log or to /usr/local/apache2/log/error_log The pid stored in httpd.pid changes but the httpd processes don't show up on doing ps -ae What am I doing wrong? I compiled and installed apache2 as the network user ENG/khemani. I had to change the permissions on apache2/logs directory to be able to run apache2 as the user SYSTEM. What more should I do? Thanks, Prakash -- 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/