SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
remote agent test connection failure
Goto page 1, 2  Next
 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
remote agent test connection failure
Author Message
seanc217



Joined: 23 May 2007
Posts: 272

Post remote agent test connection failure Reply with quote
This is for the multi-platform, java edition:

I am running the remote agent on one server. The port is set to 1096 on this server.
On the master server, I have the "distributed server mode option checked and its port set to 1096.

I try to connect to the agent using the "test connection" button, but it returns with a logon box.

I'm not sure if I need to logon with a username and password, I tried both ways and I get the following error:

"connection to remote host <host> failed".

Is there anywhere I can get a more specific error to troubleshoot this?

Thanks,

Sean
Wed May 30, 2007 11:58 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
Are you running agent on a Windows system? If yes, are you entering user name in domain\user format? Are there any related messages in the schedule.log on the agent side?
Wed May 30, 2007 12:43 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
Hi,

The master and agent are on Linux boxes.
One other thing we use ssh.

Is this supported by the product?

Thanks
Wed May 30, 2007 12:46 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
What ssh has to do with it?
Wed May 30, 2007 12:50 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
Is port 1096 open on the agent?
Wed May 30, 2007 12:55 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
OK I did a netstat -a | grep 1096 and get the following entry:

tcp 0 0 *:1096 *:* LISTEN
Wed May 30, 2007 1:49 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
Yes, it appears to be listening on port 1096. Do you have a firewall blocking this port for external connections?

You didn't answer the question related to log files, so I assume there are nothing in the logs indicating any problems.


By the way, which JDK/JRE version are you using on the agent and on the master?
Wed May 30, 2007 2:14 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
I did not see anything in the scheduler.log file.

I issued the following on the agent side:

[root@mtl01tqs01 sbin]# ./service iptables status
Firewall is stopped.

It's the same on the master side.

I am using jdk1.6.0_01

Thanks!!
Wed May 30, 2007 2:27 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
It appears ftp must be enabled to authenticate, is this the case?

I will try to enable it and see what happens.
Wed May 30, 2007 2:38 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
I still get a connection denied, but in my trace file I get:

2007-05-30 14:45:02,144 [RMI TCP Connection(25)-10.235.68.72] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - authNativeUser: root login ok

So I'm not sure where to go from here.
Wed May 30, 2007 2:47 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
Yes, you need ftpd running if using FTP authentication method. Please check Tools/Options menu; Security tab.
Wed May 30, 2007 3:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
We have several reports in recent days related to issues with JDK 1.5 and JDK 1.6 not running correctly the code compiled using JDK 1.4.

Please do the following test.

1. Download and install JDK 1.4 on both sides (agent and master). Install it into a new directory, don't replace existing JDK versions. You can get the download link here http://java.sun.com/j2se/1.4.2/download.html

2. Edit agent.sh and master.sh and insert in the beginning
SET $JAVA_HOME=[jdk 1.4 path here]

3. Restart master and agent and try the connectivity.

Please let us know what you get
Wed May 30, 2007 3:10 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
I installed the JDK on both sides and restarted the agent and the master utilizing the JDK you recommended above, I am still getting a connection failed error.

Thanks,

Sean
Wed May 30, 2007 5:11 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
I think I see why it's failing, but I'm not sure what to do, here's a log of my ftp from master to agent server:

[root@mtl01dtl01 24x7_Scheduler]# ftp
ftp> open
(to) mtl01tqs01
Connected to mtl01tqs01.yesbank.com.
220 (vsFTPd 2.0.1)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (mtl01tqs01:root):
530 Permission denied.
Login failed.
ftp>
Wed May 30, 2007 5:32 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Reply with quote
Using FTP as an authentication method is not required. You can switch to PAM. This can be changed in the Tools/Options menu Security tab. You only need to change the agent side.
Wed May 30, 2007 5:35 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.