Problem with start order of services - RxAPI

Problem with start order of services - RxAPI

Post by Michael Lu » Sun, 23 May 2004 22:38:42


Since I have added the mod_rexx module to Apache, RxAPI no longer starts yet I end up with an instance of RxAPI.EXE running, and Administrator can kill it which I believe means Apache did not start it
as that would be a System process which System would have to kill.

So, anyway to configure the start order of services so RxAPI will come up before Apache2 does?

Also, for what ever reason my DB2 service does not auto start, even though it is set to... I don't think DB2 has any rexx dependencies... I remember the DB2 v5x shipped with ORexx embedded within it,
but I am on v6.1 with the latest fixpack. All of the other DB2 related services start, just not the main one.

Server OS is Win2K SV with SP3

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.
 
 
 

Problem with start order of services - RxAPI

Post by Mark Yudki » Mon, 24 May 2004 16:52:47

Install rxapi as a service:
rxapi /i

If rxapi is not made into a service you can expect major problems such as
crashes, hangs and storage corruptions. Also, ensure you have at least
2.1.2, as 2.1.2 fixed the local / global name space problem. Do not use the
DB2embedded REXX, that is too old and doesn't support rxapi as a service.

As for DB2, DB2 V6 does not work in W2K - it does as you say. DB2 V7 is the
minimally required version. You will have to upgrade your DB2 (or stick to
NT4).



yet I end up with an instance of RxAPI.EXE running, and Administrator can
kill it which I believe means Apache did not start it
before Apache2 does?
it is set to... I don't think DB2 has any rexx dependencies... I remember
the DB2 v5x shipped with ORexx embedded within it,
services start, just not the main one.

 
 
 

Problem with start order of services - RxAPI

Post by Mark Yudki » Mon, 24 May 2004 17:04:03

To answer your concrete question:

Add a REG_MULTI_SZ key with the name DependsOnService to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache (where Apache is
the name of the Apache2 service you want to make dependent on other
services), and add the service name RXAPI. If the key already exists, just
append the service name RXAPI.

See also my other post on rxapi as a service and REXX version issues. It is
my contention that you do not have rxapi installed as a service, as it
should be started by your booting the machine, and Apache has absolutely
nothing to do with starting rxapi.



yet I end up with an instance of RxAPI.EXE running, and Administrator can
kill it which I believe means Apache did not start it
before Apache2 does?
it is set to... I don't think DB2 has any rexx dependencies... I remember
the DB2 v5x shipped with ORexx embedded within it,
services start, just not the main one.
 
 
 

Problem with start order of services - RxAPI

Post by Michael Lu » Mon, 24 May 2004 20:54:56


I'll try adding this.


You need not be concerned. I've run it as a service since IBM supported that method.

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.
 
 
 

Problem with start order of services - RxAPI

Post by Michael Lu » Mon, 24 May 2004 20:58:44


Or just start it manually for now... ($$$)

There is no going back to NT4, I've been off it since '99.

The fact that it does not auto start its service is a minor annoyance.

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.
 
 
 

Problem with start order of services - RxAPI

Post by Mark Yudki » Mon, 24 May 2004 22:10:42

It isn't W2K. It's DB2 that has the problem. I'm amazed you haven't had
larger problem with DB2 V6 on W2K - we had serious problems during testing,
and moved to V7.1.



the
to
 
 
 

Problem with start order of services - RxAPI

Post by Michael Lu » Mon, 24 May 2004 23:01:11


I follow that. You said to either stay on NT4 or upgrade DB2... for now ($$$) we will do neither and start DB2 manually.

Maybe our running FP11 is the solution. It has been every bit as stable as I have known DB2 to be since "Common Server" v2 code.

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.
 
 
 

Problem with start order of services - RxAPI

Post by Mark Yudki » Sat, 29 May 2004 15:18:55

Hope you have better luck than we did with that combination.



testing,
($$$) we will do neither and start DB2 manually.
I have known DB2 to be since "Common Server" v2 code.