Home » Open Source » Programming Interfaces » Unable to change Oracle SID with Net::SSH::Perl (All)
Unable to change Oracle SID with Net::SSH::Perl [message #429421] Tue, 03 November 2009 11:53 Go to previous message
fairgame
Messages: 29
Registered: October 2008
Junior Member
Hi,

I am running a Perl code from Linux machine and doing SSH to Windows machine.

When I am trying to change SID with this command, it's not working. The SID does not change and it keeps the default SID.

#-- set up a new connection
	my $ssh = Net::SSH::Perl->new($host);
#-- authenticate
	$ssh->login($user, $password);
#-- execute the command
        $ssh->cmd('SET ORACLE_SID=testsid');
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ODBC log shows ORA error even though the procedure runs fine on the backend.
Next Topic: DBD::Oracle install problem on 64-bit RHEL51
Goto Forum:
  


Current Time: Thu Apr 25 18:09:38 CDT 2024