ssh issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ssh issue
# 1  
Old 09-14-2012
ssh issue

Hi I have a annoying situation here .
Our non prod server connect to informatica to run the work flow.

But since yest some jobs are getting failed due ssh to informatica server been unsuccessfull.
please look into this.


successful log for job fiusdcacct_ios_price_venld:
Code:
 

SSH command to be executed is - rsh -l blabla FI-LCL-UAT 'setenv PasswordVar somepass; 
cd /home/foo/bar/baz/server/bin; ./pmcmd startworkflow -s dummy:1084 -u noone -pv PasswordVar -folder 
extended_back_office -wait wrk_m_extbo_fixedincome_bo_lamr; echo SSHEXECSTATUS $status'
No match
2012-09-13 23:14:26 </some/other/dir/common/scr/com_info_wkf_exec.perl:(201)> INFO: SSH Success
2012-09-13 23:14:26 </some/other/dir/common/scr/com_info_wkf_exec.perl:(235)> INFO:Message from SSH - User: other
host is iminfu01uat
setting up for Sun OS
Informatica(r) PMCMD, version [8.1.1 SP5], build [135.0129], SOLARIS 32-bit
Copyright (c) Informatica Corporation 1994 - 2008
All Rights Reserved.
Invoked at Thu Sep 13 23:13:31 2012
Connected to Integration Service at [iminfu01uat:1084]
Starting workflow [wrk_m_extbo_fixedincome_bo_lamr]
Waiting for workflow [wrk_m_extbo_fixedincome_bo_lamr] to complete
INFO: Workflow [wrk_m_extbo_fixedincome_bo_lamr]: Execution succeeded.

unsuccessfull log for job fiusdcacct_guide_asset_trgld
Code:
 
2012-09-14 01:09:16 </some/other/dir/common/accounting/common/scr/com_info_wkf_exec.perl:(131)> INFO:Folder is - Accounting
2012-09-14 01:09:16 </some/other/dir/common/accounting/common/scr/com_info_wkf_exec.perl:(132)> INFO:Server is  - dummy:1084
2012-09-14 01:09:16 </some/other/dir/common/accounting/common/scr/com_info_wkf_exec.perl:(133)> INFO:User name is - noone
2012-09-14 01:09:16 </some/other/dir/common/accounting/common/scr/com_info_wkf_exec.perl:(166)> INFO:Password not passed, using password environment variable to run workflow
2012-09-14 01:09:16 </some/other/dir/common/common/scr/com_info_wkf_exec.perl:(172)> INFO:
SSH command to be executed is - rsh -l blabla FI-LCL-UAT 'setenv PasswordVar somepass;
cd /home/foo/bar/baz/server/bin; ./pmcmd startworkflow -s dummy:1084 -u noone -pv PasswordVar -folder 
Accounting -wait wkf_acct_ios_price_ld; echo SSHEXECSTATUS $status'
Permission denied.
2012-09-14 01:09:16 </some/other/dir/common/accounting/common/scr/com_info_wkf_exec.perl:(186)> ERROR:Error returned
***************************************************************************************************
2012-09-14 01:09:16 </some/other/dir/accounting/common/scr/com_info_wkf_exec.perl:(187)> ERROR:SSH command failed.Return status from SSH is - 256
2012-09-14 01:09:16 </some/other/dir/accounting/common/scr/com_info_wkf_exec.perl:(188)> ERROR:
******************************************************************************************************************
2012-09-14 01:09:16 </some/other/dir/accounting/common/scr/com_info_wkf_exec.perl:&fide_log_fi_error:(68)> INFO:BEGIN
                 PKG_LOG_FI_ERRORS.SP_LOG_FI_ERROR('30001','E','fiusdcacct_ios_price_venld','fiusdcacct_ios_price_venld','SSH command for blabla FI-LCL-UAT failed ','SSH login error');
         END;

please anyone help...

Last edited by Scrutinizer; 11-05-2015 at 02:01 AM..
# 2  
Old 09-15-2012
Test to see if the job can run while logged into the remote server.

while logged on interactively via ssh/rsh as the fideitf user. This will narrow down the issue to see if rsh is causing it or the job itself.

Code:
cd /home/foo/bar/baz/server/server/bin
./pmcmd startworkflow -s dummy:1084 -u noone -pv PasswordVar -folder 
Accounting -wait wkf_acct_ios_price_ld
echo $?


Last edited by Scrutinizer; 11-05-2015 at 02:02 AM..
# 3  
Old 09-17-2012
ssh issue

Hi frank ,

i executed the commands manually .it worked fine .So obviously the SSH is causing the problem here.

I belive the issue could be known hosts issue or keys issue .but i am not sure.
could you please advise how to trouble shoot the issue .

Also when ran in command line the ,it is asking for the password to enter.But this is not the case earlier .So i suspect some thing might have changed on informatca server which is cauisng this issue.our unix team has give it up saying they don't know what to do.
any suggestion what can be done?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ssh issue

Hi All, I am trying to connect between two system , I am facing the issue with -SSH-t-l userid systemname exit ( this is the syntax) It suppose to ask for password , but it throws the error as mentioned below Error is received disconnect from system and remote login for the... (1 Reply)
Discussion started by: sudhainit
1 Replies

2. UNIX for Beginners Questions & Answers

Issue with SSH key

Hello All , I am trying to set up the keys to login seamless on to two diff environment server(s). i used to have it couple of years back , but somehow never worked and didn`t concentte much , but when i want to setup again . facing a challange while copying the id_rsa.pubfile to... (4 Replies)
Discussion started by: radha254
4 Replies

3. Solaris

SSH issue

Hi guys. I just installed Solaris 10 and want to enable ssh on it So that i can remotely use it from another location. I read a post on this forum an it was written that SSH is enabled by default. I did a ps -ef | grep ssh and nothing showed up meaning that it isnt running. I even tried... (11 Replies)
Discussion started by: Junaid Subhani
11 Replies

4. Fedora

ssh issue

Hello, I have two computers at my desk, let's call them A and B. I have some tasks that can only be performed on one of them and some on the other, so I need to be able to ssh from one to the other and vice versa to transfer files, etc. A can ssh to B without problem: I even copied the public key... (6 Replies)
Discussion started by: Leo_Boon
6 Replies

5. Solaris

SSH issue

Facing a SSH issue while creating passwordless login. unix> ./create_ssh In the program, you will be asked and providing 1. SSH private key filename (twice) 2. key passcode (twice) Enter private key filename: id_ss81dev ld.so.1: ssh-keygen: fatal: relocation... (5 Replies)
Discussion started by: flinders1323
5 Replies

6. Shell Programming and Scripting

SSH issue

I want to run a program on remote server by using unauthenticated ssh. It works when I ssh from command line however, it does not work when I try to invoke ssh script with other application. Any clue? (6 Replies)
Discussion started by: sam101
6 Replies

7. Solaris

SSH/Firewall issue

I am a complete UNIX neophyte with the unenviable task of trying to pseudo manage two SUN boxes with an unknown past. I was not responsible for setting them up, anything that was done on them previously, and have no means of figuring out anything that was done to them. So far I have changed the... (4 Replies)
Discussion started by: tawnos42
4 Replies

8. Solaris

ssh issue

I'm having a problem with an ssh server "SSH-2.0-Sun_SSH_1.1.2" on solaris 10. when i do try to connect from windows using puTTY the server refuse's the connection . when i try to connect using telnet from the same windows machine it accepts the connection and i got the following bannar... (32 Replies)
Discussion started by: h@foorsa.biz
32 Replies

9. UNIX for Advanced & Expert Users

An issue with SSH

Hey Guys! I got two PCs at my place. In the beginning, one of my PCs had RHEL3( say PC1 ) and one had RHEL4 ( say PC2 ). I was able to ssh from PC1 to PC2 and vice-versa. But recently I've upgraded PC1 from RHEL3 to RHEL4. Now when i am trying to ssh from PC2 to PC1, it is not allowing... (1 Reply)
Discussion started by: chakri.penguin
1 Replies

10. UNIX for Advanced & Expert Users

ssh issue

Im using the default ssh program on a solaris 9 system to connect to another server. When connecting to the other host it make me type my password in 3 to 4 times before letting me in. Is anyone familar with this? (4 Replies)
Discussion started by: meyersp
4 Replies
Login or Register to Ask a Question