Thanks, I think this is good for the FAQ.  I'll add right now.

Ilya

-----Original Message-----
From: Karyn Ulriksen
To: Sterin, Ilya; 'Karyn Ulriksen '; ''Jeff Urlwin' '; 'Ian Kallen '
Cc: '[EMAIL PROTECTED] '
Sent: 4/9/02 12:20 PM
Subject: RESOLVED: Running DBI Proxy as a service (or equivalent) on Windo
ws 200 0

The following steps were taken to successfully install DBIproxy Server
as a Service under Windows 2000 Professional Server.  Directions assume
intermediate level Windows 2000 administrative knowledge.

Using instsrv.exe and srvany from NT4 Reskit 3 or Download instsrv.exe
and srvany.exe available at
http://www.pyeung.com/userdefinedservice.html
<http://www.pyeung.com/userdefinedservice.html> .  

Installing DBIproxy as a service on a Windows 2000 Professional Server. 
========================================================================


COPY "instsrv.exe" and "srvany.exe" into C:\Perl\bin directory. 

OPEN Cmd Command Line service and run: 

        C:\Perl\bin\instsrv.exe DBIproxy C:\Perl\bin\srvany.exe 


EDIT REGISTRY: 

  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DBIproxy 

  Add a new string value (REG_SZ) to this key with a Name of
"Description" 
  and value of "Perl DBI Proxy Server". 

  Add a new subkey to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DBIproxy 
  called "Parameters". 
        

EDIT REGISTRY: 

 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DBIproxy\Parameters


  Add a new string value (REG_SZ) called Application with value of 
        C:\Perl\bin\dbiproxy.bat. 

  Add a new string value (REG_SZ) called AppParameters with value of
"--localport 3333" (you can replace "3333" with whichever port you
decide to use).  Any other parameters that you normally would pass on to
starting dbiproxy can go here as well.


OPEN SERVICES PANEL (Programs->Administrative Tools->Services): 

Open the Services panel, then open the Properties for DBIproxy.  Select
the "Log On" tab and set the service with an appropriate user and
password logon. Select the "Recovery" tab and set recovery actions as
appropriate. Select "Apply" and "OK" when done.  Right click on DBIproxy
to bring up the action menu and select "start".  If the service was
already started, stop it and restart it again for the changes to take
place.


Reply via email to