Re: [JSch-users] FW: Oracle exp command with jsch
Status: Alpha
Brought to you by:
ymnk
From: <kar...@wi...> - 2010-11-19 06:54:05
|
Hi, Oh..its fine then..Thanks all for your support. I shall come back to you for further queries if any... Regards, P.V.R.Kartik -----Original Message----- From: Atsuhiko Yamanaka [mailto:ym...@jc...] Sent: Friday, November 19, 2010 10:35 AM To: Kartik Pullabhotla v r (WT01 - GMT-Telecom Equipment) Cc: jsc...@li... Subject: Re: [JSch-users] FW: Oracle exp command with jsch Hi, +-From: <kar...@wi...> --- |_Date: Fri, 19 Nov 2010 10:09:31 +0530 __ | | One more small |observation. I am logging as an oracle user via the exec channel. I |could observe that the value for the system variable PATH is different |from the value that I get when I login via putty. For eg: |ORACLE_HOME/bin is present for the login via putty whereas it is not |present when I login through exec channel. Because of this I cannot run |oracle commands such as 'exp' directly. I had write a script in which I |had to modify the PATH variable. Why is this difference? Is it related |to bash profile loading? That is not a problem from jsch. For example, refer to http://stackoverflow.com/questions/216202/why-does-an-ssh-remote-command -get-fewer-environment-variables-then-when-run-manu Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk |