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 Message-ID: <01e801c2bcf1$e1641cd0$305886d9@webdev> From: "Elfyn McBratney" To: "cygwin" References: <3E25F283 DOT 3D80401A AT wapme-systems DOT de> Subject: Re: cygrunsrv and apache Date: Wed, 15 Jan 2003 23:57:32 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Stipe, I have the correct permissions (log files owned by system (the SYSTEM user) and even tried with the config files and modules too) and I was still getting error 1062. I ended up giving in to the windows version. Is there any way this can be degugged? If so I'd be happy too help ;-) Elfyn elfyn AT exposure DOT org DOT uk ----- Original Message ----- From: "Stipe Tolj" To: "Jonathan Albrecht" Cc: Sent: Wednesday, January 15, 2003 11:45 PM Subject: Re: cygrunsrv and apache > Jonathan Albrecht schrieb: > > > > I've been trying to run apache as a service using cygrunsrv. I haven't > > changed the httpd.conf and running /usr/sbin/httpd from the command line > > works fine. Here is what I have done: > > > > > cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e > > "CYGWIN=ntsec nosmbntsec binmode tty" > > > > > cygrunsrv -S apache > > > > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > > The service has not been started. > > > > I've tried variations on the spaces and quotes in the command line but > > nothing has worked. Any ideas? > > check file permissions. > > cygrunsrv will start the httpd processes as SYSTEM, hence all logging > directory have to have write permissions for that user or group. > > Stipe > > tolj AT wapme-systems DOT de > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 Düsseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: info AT wapme-systems DOT de > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are > > -- > 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/ > -- 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/