 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
John Natale
Joined: 13 Sep 2000 Posts: 107
|
|
RA_Server AIX |
|
Hello, I am attempting to run the java ra server on an AIX 5.2 server and I am having a problem connecting. The problem I am currently having is that after I start the ./server.sh script and see the following in my terminal window Universal Java Remote Automation Server. Version N/A. Build 14 (08.01.2004) Copyright (c) 2003 SoftTree Technologies, Inc. All rights reserved. I run a Job with RAConnect( "192.168.10.101", "1096", "24x7". "mypassword") and I get the following error: Line1: Remote Access Error: Authentication failure The user and password are valid. Thanks, John
|
|
Tue Mar 29, 2005 7:05 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7974
|
|
Re: RA_Server AIX |
|
Do you have PAM option installed on the server? Do you get any messages in the UNIX syslog or ra_server.log indicating failed connections and possibly some details explaining where or why it failed? : Hello, : I am attempting to run the java ra server on an AIX 5.2 server : and I am having a problem connecting. The problem I am currently : having is that after I start the ./server.sh script and see the : following in my terminal window : Universal Java Remote Automation Server. Version N/A. Build 14 (08.01.2004) : Copyright (c) 2003 SoftTree Technologies, Inc. All rights reserved. : I run a Job with RAConnect( "192.168.10.101", "1096", : "24x7". "mypassword") : and I get the following error: Line1: Remote Access Error: Authentication : failure : The user and password are valid. : Thanks, : John
|
|
Tue Mar 29, 2005 7:57 pm |
|
 |
John Natale
Joined: 30 Mar 2005 Posts: 1
|
|
|
Wed Mar 30, 2005 12:16 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7974
|
|
Re: RA_Server AIX |
|
We now have a PAM-enabled version, but I don't think you are running it because it was released just a week ago and it not yet setup for the public download. : Since I am using the java RA server I didn't think I needed PAM. : I may have been misunderstanding it but I thought that was what : I saw on the version comparison page under user auth that follows: : http://www.24x7automation.com/download/ra_server_eval/ver_compare.htm : I'll need to check the syslog tomorrow. : Thanks, : John
|
|
Wed Mar 30, 2005 1:44 am |
|
 |
John Natale
Joined: 13 Sep 2000 Posts: 107
|
|
Re: RA_Server AIX |
|
Here is the RA_Server Log file Mar 30, 2005 8:21:17 AM com.softtree.raserver.Server execute INFO: start Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session run INFO: start Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session authenticate INFO: start. user = 24x7 Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session authenticate INFO: end. result = false Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session run INFO: end Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session run INFO: start Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session authenticate INFO: start. user = root Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session authenticate INFO: end. result = false Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session run INFO: end
|
|
Wed Mar 30, 2005 9:53 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7974
|
|
Re: RA_Server AIX |
|
Three seems to be no errors on the agent side, it even reports that the job run took about 31 second. Can you check if the job actually ran? The next troubleshooting step is to turn on the tracing feature on the scheduler side and check what is there. The tracing can be enabled in the Tools/Options menu; Log page : Here is the RA_Server Log file : Mar 30, 2005 8:21:17 AM com.softtree.raserver.Server execute : INFO: start : Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session run : INFO: start : Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session authenticate : INFO: start. user = 24x7 : Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session authenticate : INFO: end. result = false : Mar 30, 2005 8:21:41 AM com.softtree.raserver.Session run : INFO: end : Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session run : INFO: start : Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session authenticate : INFO: start. user = root : Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session authenticate : INFO: end. result = false : Mar 30, 2005 8:22:20 AM com.softtree.raserver.Session run : INFO: end
|
|
Wed Mar 30, 2005 11:02 am |
|
 |
John Natale
Joined: 13 Sep 2000 Posts: 107
|
|
Re: RA_Server AIX |
|
All that traceing shows is the following: JAL **** 3/31/2005 11:23:00 **** JAL 1:RACONNECT JAL 1:Executing RACONNECT("172.16.4.51","1096","24x7","mypassword") Then you look at the schedule log: 3/31/2005 11:23:00:718 0 227 RAConnectTest Job started 3/31/2005 11:23:01:015 2 227 An error occured while executing automationscript: Line 1: Remote Access Error: Authentication failure 3/31/2005 11:23:01:234 1 227 Job has been disabled!
|
|
Thu Mar 31, 2005 12:28 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7974
|
|
Re: RA_Server AIX |
|
Ok, I see now that the "Authentication failure" error is coming from the Unix server. Our developers advised me this is caused by the fact that AIX cannot write passwords (or writes it in a different way) to the process stream, which is done probably for security reasons. As a result it doesn't allow using pswd utility for automated user authentications. The solution to this problem is to use a more recent version of Java RA agent that relies on a different user authentication method. That's why asked initially if you got Perl and PAM on the system. Here is the download link http://www.24x7automation.com/download/ra_server_eval/JRA/18/jra_server.tgz Installation instructions are here http://www.24x7automation.com/download/ra_server_eval/JRA/18/install.txt : All that traceing shows is the following: JAL : **** 3/31/2005 11:23:00 **** : JAL 1:RACONNECT : JAL 1:Executing : RACONNECT("172.16.4.51","1096","24x7","mypassword") : Then you look at the schedule log: 3/31/2005 11:23:00:718 0 227 RAConnectTest : Job started : 3/31/2005 11:23:01:015 2 227 An error occured while executing : automationscript: Line 1: Remote Access Error: Authentication failure : 3/31/2005 11:23:01:234 1 227 Job has been disabled!
|
|
Thu Mar 31, 2005 1:59 pm |
|
 |
John Natale
Joined: 13 Sep 2000 Posts: 107
|
|
Re: RA_Server AIX |
|
Yeah, AIX can be a pain sometimes because its just a little bit different. I have perl but PAM is not installed by default. I'll need to download and install it to use the newer version Thanks
|
|
Thu Mar 31, 2005 2:25 pm |
|
 |
|
|
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
|
|
|