2 Replies Latest reply: Feb 4, 2013 12:48 PM by cferbrache RSS

Plugin request for new feature

ondemandinf Novice
Currently Being Moderated

Hello,

 

We are using version 3.6. The SC executes bash commands on the target machine, so it cannot set environment variables successfully because our user uses csh as default shell.

 

We have to set variables in the user environment first, so that the backup would end successfully although SC fails to set variables.

 

We want to request the new feature of supporting more shells, like executing different commands according to the shells.

 

 

example: oracle plugin

****************SC Server Log****************

 

[Fri Dec 21 02:51:32 2012] DEBUG: Command [/bin/su - oracle -c "ORACLE_HOME=/sctest_oracle/SCTEST/112_64;export ORACLE_HOME;

ORACLE_SID=SCTEST;export ORACLE_SID;

/sctest_oracle/SCTEST/112_64/bin/sqlplus /nolog @/tmp/s7vNWiYikh.sc"]

finished with exit code: [0]

...

...

...

stderr: [ORACLE_HOME=/sctest_oracle/SCTEST/112_64: Command not found.

         export: Command not found.

         ORACLE_SID=SCTEST: Command not found.

       export: Command not found.]

 

 

 

****************scAgent****************


testserver /sctest_oracle/> echo $shell   $ORACLE_HOME   $ORACLE_SID

/bin/csh   /sctest_oracle/SCTEST/112_64   SCTEST

 

 

 

 

Regards,

Carmen

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points