Author |
Message
|
amogh_more |
Posted: Mon Jun 25, 2012 10:46 pm Post subject: MQFTE startup script problem |
|
|
Newbie
Joined: 25 Jun 2012 Posts: 3
|
Hi,
I am into HPUX System Administration so not aware of MQ FTE . But I need help on this.
Recently our client has installed MQfte agent on our Server and I have configured a startup script ( for HPUX Operating System) . But during server startup the fte agent doesnt starts.
When I check the FTE logs I see that it successfully initializes the agent but doesnt starts it.
[25/06/2012 01:38:00:275 IST] 00000001 Agent I BFGAG0115I: Relative path transfer root directory: /home/fteuser
[25/06/2012 01:38:00:320 IST] 00000001 Agent W BFGAG0125W: The maximum size to which the java heap can grow is '911'MB, which is the default value. This value
may be too low dependent on the agent's work load.
[25/06/2012 01:38:00:322 IST] 00000001 AgentRuntime I BFGAG0058I: The agent has successfully initialized.
If I use the same script to manually start the agent after Server startup, the Fte agent starts without any Issues.
See below content from log .
[25/06/2012 03:10:28:025 IST] 00000001 Agent I BFGAG0115I: Relative path transfer root directory: /home/fteuser
[25/06/2012 03:10:28:063 IST] 00000001 Agent W BFGAG0125W: The maximum size to which the java heap can grow is '911'MB, which is the default value. This value
may be too low dependent on the agent's work load.
[25/06/2012 03:10:28:065 IST] 00000001 AgentRuntime I BFGAG0058I: The agent has successfully initialized.
[25/06/2012 03:11:01:017 IST] 00000001 AgentRuntime I BFGAG0059I: The agent has been successfully started.
Can someone please guide me in knowing what is happening in startup which is preventing fte agent to start. Does it have any dependencies. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 26, 2012 4:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
which userid is starting / running the MQFTE agent?
Does that user have access to needed MQ resources?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
amogh_more |
Posted: Tue Jun 26, 2012 4:50 am Post subject: |
|
|
Newbie
Joined: 25 Jun 2012 Posts: 3
|
We have created a user ID fteuser.
and in the script we are switching the user to fteuser using su before running the fteStartAgent command of fte.
This the start command is executed through fteuser. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 26, 2012 4:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
amogh_more wrote: |
We have created a user ID fteuser.
and in the script we are switching the user to fteuser using su before running the fteStartAgent command of fte.
This the start command is executed through fteuser. |
Sure but are the MQ resources the agent is trying to access available at the time of agent startup?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
amogh_more |
Posted: Tue Jun 26, 2012 9:44 pm Post subject: |
|
|
Newbie
Joined: 25 Jun 2012 Posts: 3
|
Thanks for your reply but Please can you elaborate what resources needed by MQ during startup. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 27, 2012 2:10 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
amogh_more wrote: |
Thanks for your reply but Please can you elaborate what resources needed by MQ during startup. |
Well the MQFTE agent connects to a qmgr. Either local or remote.
What do you expect will happen if the qmgr the MQFTE agent is trying to connect to is not available?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rsimons99 |
Posted: Mon Aug 27, 2012 10:32 am Post subject: |
|
|
Newbie
Joined: 11 Feb 2009 Posts: 5
|
Let's go down a different track...Since the agent starts successfully from the command line when you "switch" but fails when you run as a script tells me that the problem is with the method of "switching" the the fteuser ID.
Are you sure that when the script is run that the fteuser ID is being sourced correctly? My guess is that it is not. The method you switch to the ID from the command line should be the method that invokes the script. |
|
Back to top |
|
 |
|