Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
[ solved ] XSR-RA 2.1 goes down on Linux
Stefano Tosetti
post Mar 5 2009, 07:33 AM
Post #1


Visitor
*

Group: Members
Posts: 3
Joined: 5-March 09
Member No.: 373


Hello,

I just updated My 6.9.1 Gateway to SP7 and installed XSR 2.1.0 in DMZ.

After install and configure all, all start well but when XSR-MA contact the XSR-RA, the XSR-RA java process goes down with an error.

XFB Gateway ver 6.9.1 sp7 on Win 2003 Server.
XSR Secure Relay 2.1 Patch 3 on Linux Red Hat ver. 5.2

Does this ring someone's bell?

Router log and config files :

13:25:53,586 INFO RouterEntryPoint : ********************************************
13:25:53,587 INFO RouterEntryPoint : Axway SecureRelay Router Agent (xsr-1_7_0-m-9-18/2601)
13:25:53,588 INFO RouterEntryPoint : Linux (i386)
13:25:53,588 INFO RouterEntryPoint : JVM 1.5.0_09 (Sun Microsystems Inc.)
13:25:53,588 INFO RouterEntryPoint : ********************************************
13:25:53,648 ERROR ClientControlContext : Connection to agent refused, agent might not be running
13:25:54,011 INFO RouterAgent : hot channel waiting for connection on SAP: 0.0.0.0/0.0.0.0:6830
13:26:41,100 INFO MasterAgentContext : [MA 10.5.40.77:1403] Creating hot channel, protocol version: 2
13:26:41,106 ERROR MasterAgentContext : [MA 10.5.40.77:1403] Couldn't create multiplexer pool: the Control port on the router agent is in the Communication channel port range
com.axway.multiplex.MultiplexerException: mpx port range contains control port
at com.axway.xsr.agent.router.context.master.MasterAgentContext.onConfigureAgent(Ma
sterAgentContext.java:200)
at com.axway.xsr.agent.protocol.AgentProtocol.onPacket(AgentProtocol.java:82)
at com.axway.niocore.communicator.protocol.packet.PacketCommunicatorProtocol.onData
Available(PacketCommunicatorProtocol.java:124)
at com.axway.niocore.communicator.SSLCommunicator.onSelectorUpdate(SSLCommunicator.
java:457)
at com.axway.niocore.NIOCore.run(NIOCore.java:147)
at com.axway.xsr.agent.router.RouterAgent.start(RouterAgent.java:99)
at com.axway.xsr.agent.router.RouterEntryPoint.<init>(RouterEntryPoint.java:102)
at com.axway.xsr.agent.router.RouterEntryPoint.main(RouterEntryPoint.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.axway.loader.Loader.load(Unknown Source)
at com.axway.xsr.loader.RouterAgentLoader.main(Unknown Source)

configuration.xml :

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>

<aXwaySecureRelay>

<!-- Static configuration for Secure Relay Router Agent -->
<RouterAgent>

<General>
<AdminInterface>*</AdminInterface>
<AdminPort>6830</AdminPort>
<ControlPort>6811</ControlPort>
<DefaultExternalInterface></DefaultExternalInterface>
<CACertificate>$p_secure_relay_home/certs/XsrCACert.pem</CACertificate>
<UserCertificate>$p_secure_relay_home/certs/XsrRouterCert.p12</UserCertificate>
<PasswordFile>$p_secure_relay_home/certs/XsrRouterPwd.dat</PasswordFile>
</General>

<Log>
<LogInDmz>true</LogInDmz>
</Log>

<Termination>
<SSL>
<PKIServerType>None</PKIServerType>
<PKIServerAddress></PKIServerAddress>
<PKIServerPort></PKIServerPort>
</SSL>
</Termination>

</RouterAgent>

</aXwaySecureRelay>


xsrconf.xml :

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>

<aXwaySecureRelay>

<!-- definitions for XSR master agent -->
<MasterAgent>
<General>
<ListenAddress> 127.0.0.1 </ListenAddress>
<CommPort> 6801 </CommPort>
<CACertificate> c:\xfb_gateway_691\run_time\xsr\XsrCACert.pem </CACertificate>
<UserCertificate> c:\xfb_gateway_691\run_time\xsr\XsrMasterCert.p12 </UserCertificate>
</General>

<Log>
<Level> FULL </Level>
<File> c:\xfb_gateway_691\run_time\xsr\Master.log </File>
<SizeMax> 10000000 </SizeMax>
<NbFiles> 5 </NbFiles>
</Log>

<Advanced>
<NbDataConnections> 1 </NbDataConnections>
</Advanced>
</MasterAgent>

<!-- definitions for XSR router agent -->
<RouterAgent>
<General>
<Id> RA001 </Id>
<ListenAddress> 192.168.137.160 </ListenAddress>
<AdminPort> 6830 </AdminPort>
<CommPort> 6811 </CommPort>
</General>
<Advanced>
</Advanced>
</RouterAgent>

</aXwaySecureRelay>

Go to the top of the page
 
+Quote Post
Mario128
post Mar 5 2009, 02:26 PM
Post #2


Regular Contributor
Group Icon

Group: Axway Moderator
Posts: 31
Joined: 6-November 08
From: Paris
Member No.: 100


Hi
the Control port on the router agent is in the Communication channel port range
How did you configure the RouterAgent on Gateway ?
Could you paste here the router agent definition [xsr] part from the dconfsave.ini file ( run_time/etc )

Raphael
Go to the top of the page
 
+Quote Post
Stefano Tosetti
post Mar 5 2009, 04:03 PM
Post #3


Visitor
*

Group: Members
Posts: 3
Joined: 5-March 09
Member No.: 373


Hi Raphel

thanks for support. These is the outer agent definition [xsr] part from the dconfsave.ini file :

thanks
Stefano

[xsr]
use_xsr = yes
log_level = 2
trace_level = 2
master_address = 127.0.0.1
master_comm_port = 6801
master_admin_outport = 0
master_comm_outport_set =
master_cert_file = %p_xsr_master_home_dir%\XsrMasterCert.p12
master_cert_password = test
router_address = 192.168.137.160
router_admin_port = 6830
router_comm_port = 6811
router_comm_outport_set =
router_auth_mandatory = yes
auto_start = yes
startup_delay_max = 30
ca_cert_file = %p_xsr_master_home_dir%\XsrCACert.pem
called_addr_bypass_mask =
nb_master_router_cnx = 1



QUOTE (Raphael Serres @ Mar 5 2009, 03:26 PM) *
Hi
the Control port on the router agent is in the Communication channel port range
How did you configure the RouterAgent on Gateway ?
Could you paste here the router agent definition [xsr] part from the dconfsave.ini file ( run_time/etc )

Raphael

Go to the top of the page
 
+Quote Post
Mario128
post Mar 5 2009, 04:12 PM
Post #4


Regular Contributor
Group Icon

Group: Axway Moderator
Posts: 31
Joined: 6-November 08
From: Paris
Member No.: 100


Hi Stefano
On your Router Agent side change the control port presently set to 6811 to an another value like 6821
Actualy you have already configure the port 6811 on the Gateway side for the com port.


stop the router
stop the gateway
edit the configuration.xml file and change the line
<ControlPort>6811</ControlPort>
to
<ControlPort>6821</ControlPort> (or an another value )
save the configuration.xml file
start the router
start the gateway

let me know

Raphael
Go to the top of the page
 
+Quote Post
Stefano Tosetti
post Mar 6 2009, 07:58 AM
Post #5


Visitor
*

Group: Members
Posts: 3
Joined: 5-March 09
Member No.: 373


Hi Raphael

problem solved, many thanks.
I wrong thought that the 2 parameters
router_comm_port = 6811
and
<ControlPort>6811</ControlPort>
must be the same.
Thanks for your explanation.

Stefano Tosetti


QUOTE (Raphael Serres @ Mar 5 2009, 05:12 PM) *
Hi Stefano
On your Router Agent side change the control port presently set to 6811 to an another value like 6821
Actualy you have already configure the port 6811 on the Gateway side for the com port.


stop the router
stop the gateway
edit the configuration.xml file and change the line
<ControlPort>6811</ControlPort>
to
<ControlPort>6821</ControlPort> (or an another value )
save the configuration.xml file
start the router
start the gateway

let me know

Raphael

Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins