delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/02/17:13:45

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040602170426.03246528@pop.theworld.com>
X-Sender:
Date: Wed, 02 Jun 2004 17:06:12 -0400
To: "Henry Lo" <Henry DOT Lo AT teligencecom DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Run Jabber As WindowXP/2000 Service
In-Reply-To: <F571A97F57A2D946B229C8231805867D020A3D92@svanexcsvr01.alld ir.net>
References: <F571A97F57A2D946B229C8231805867D020A3D92 AT svanexcsvr01 DOT alldir DOT net>
Mime-Version: 1.0

At 03:25 PM 6/2/2004, you wrote:
>Hi all,
>
>I have a problem to run my JabberD as a window service.
>
>Currently, I download JabberD-1.4.2.exe from
>http://jabberd.jabberstudio.org/1.4/. I develop a flash IM client to
>communicate with my JabberD server. It run as DOS Prompt and just works
>fine in my development environment. 
>
>The startup script will look like following:
>C:\JabberD\jabberd.exe -H "C:\JabberD" -s "C:\JabberD\spool"
>
>Before I move JabberD to production, I have been told I CANNOT run
>JabberD in DOS Prompt. So I try to setup JabberD to run as Window
>Service (XP/2000) (sorry, our company is a M$ house, I must force to use
>window in production).
>
>However, I don't have luck to setup JabberD into window server. What I
>did:
>
>PLAN A: Make use of cygrunsrv.exe from cygwin.com to convert
>JabberD-1.4.2.exe to win(XP) service
>1) download Cygrunsrv version 0.99-1 and 1.0-1 from
>http://cygwin.matrix.com.br/release/cygrunsrv/
>2) install JabberD service using following command:
>cygrunsrv --install jabberd --path C:\JabberD\jabberd.exe --disp "JABBER
>Server" --args "-H C:\JabberD -s C:\JabberD\spool" --shutdown
>3) When I ran above command I got error "The Procedure entry point
>__getreent could not be located in dynamic link library cygwin1.dll"
>4) so I download the latest cygwin1.dll(cygwin1-20040530.dll) from
>http://cygwin.com/snapshots/, and replace the existing one in
>window\system32.
>5) Redo step 2) JabberD service installed, BUT I cannot start up the
>jabberD. NOTE: I cannot start JabberD in Dos Prompt also.
>6) If I switch back to OLD cygwin1.dll, I can start JabberD in Dos
>Prompt.
>So the problem here is JabberD-1.4.2.exe need the OLD cygwin1.dll, but
>the
>cygrunsrv.exe(0.99-1 or 1.0-1) need the latest cygwin1-20040530.dll. 
>7) So I try to use cygwin1-20040530.dll to install JabberD as win
>service, then I downgrade to OLD cygwin1.dll, when I startup the JabberD
>service in Window Service, I got general error from service control
>"Error 1053: The Service did not respond to the start or control request
>in a timely fashion"
>
>PLAN B: make use INSTSRV.exe from M$ to install JabberD-1.4.2.exe as win
>services
>1) run INSTSRV JABBERD c:\jabberd\jabberd.exe
>2) modified regedit path to executable to contains the parameters as
>following: "c:\jabberd\jabberd.exe" -H "C:\JabberD" -s
>"C:\JabberD\spool"
>3) Startup the JABBERD service, I got general error from service control
>"Error 1053: The Service did not respond to the start or control request
>in a timely fashion"
>
>I have no luck to run JabberD-1.4.2.exe as window service. 
>
>Does anyone know how to do it?


Why are you asking here when you got jabberd from another site which has 
it's own support list?  Also, if the exe you downloaded is not current,
you can always rebuild it so it is compatible with the current cygwin1.dll.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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