Command On Source -Not Executing

Hi
In a CKM, I am creating a bind variable by ruuning the SQL on 'Command on Source' tab and using it as a bind variable in 'Command on Target' tab, but when I execute the interface I see only 'Command on Target' is getting executed and 'Command on Source' is not.
I am getting a value in Command on Source tab and using it as a Table Name in the 'from' clause on the 'Command on Target'
regards

Any clue why Command on Source is not executing?

Similar Messages

  • Purge command in cronjob not executed?

    Hello dear friends,
    I need to purge my RAM on my OS X Mavericks Late 2012 iMac every 5 minutes.
    I used to run this command in cronjob on Mountain Lion and it was working great:
    */5 * * * * purge
    It would seem that the cron job is indeed executed every 5 minutes, but the memory DOES NOT get purged at all, yet if I run the purge command manually it works.
    In fact, to ensure that the command is actually performed, I have tempèorarily modified it as follows:
    */5 * * * * purge >/Users/lab/Desktop/cronpurge.txt
    The .txt file is modified every 5 minutes but, as I said, no memory purge occurs.
    How can I ensure that the command is run successfully by cronjob as it used to be the case with Mountain Lion?
    Thanks!

    Hi,
    Thanks to both.
    I forgot to mention that the cronjob is indeed edited as root, with su command first to get an elevated prompt.
    I run 6 Parallels Desktop Windows 7 sessions while I am working with Mavericks, that's why I need frequent purging, for them to run smoothly as Parallels Desktop is pretty much memory hungry.
    Although I have 32 GB RAM, I prefer to be able to multitask as best as possible by running a frequent memory purge.
    @TonyT1: I am indeed aware that memory management in Mavericks is different, however I can't help wondering why the same command "purge" works perfectly when run manually in an elevated prompt.... hence my curiosity about why the cron job, which is supposed to run the same instruction, is not working. Thanks!

  • [SOLVED] Some commands failed or not executed in rc.local

    Hi Archers
    I've installed initscripts to use rc.local in Arch,
    but at least below commands not successfully executed.
    export VISUAL="/usr/bin/vim -p -X"
    alias ll='ls -l'
    complete -cf sudo
    chmod 777 /dev/vmnet*
    Want to know why and how to fix it ?
    ======================================
    package check:
    pacman -Q | grep initscripts
    initscripts 2012.10.1-1
    ======================================
    rc.local
    #!/bin/bash
    # /etc/rc.local: Local multi-user start-up script.
    # set visudo to use vim as editor
    export VISUAL="/usr/bin/vim -p -X"
    # enable tab-completion with sudo
    complete -cf sudo
    # set alias
    alias ll='ls -l'
    # enable promiscuous mode for vmware interfaces
    chmod 777 /dev/vmnet*
    # show login screen on external monitor
    xrandr -q | grep "VGA1 connected" > /dev/null
    if [ $? -eq 0 ]; then
    #  xrandr --output VGA1 --mode 1440x900 --rate 60 --right-of LVDS1
      xrandr --output VGA1 --mode 1440x900 --rate 60 --output LVDS1 --off
    fi
    # up wlan0
    ip link show wlan0 | grep -i up > /dev/null
    if [ $? -ne 0 ]; then
      ip link set wlan0 up
    fi
    # connect to n13u wireless router
    iw dev wlan0 scan | grep -i n13u > /dev/null
    if [ $? -eq 0 ]; then
      kill $(pgrep wpa_supplicant)
      wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
      #dhclient wlan0 # for Fedora
      kill $(pgrep dhcpcd)
      dhcpcd wlan0
    fi
    ======================================
    Snippet from dmesg
    [    8.061119] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [    8.171764] ppdev: user-space parallel port driver
    [    8.828551] /dev/vmnet: open called by PID 422 (vmnet-netifup)
    [    8.828558] /dev/vmnet: hub 0 does not exist, allocating memory.
    [    8.828568] /dev/vmnet: port on hub 0 successfully opened
    [    8.830003] /dev/vmnet: open called by PID 424 (vmnet-netifup)
    [    8.830008] /dev/vmnet: hub 1 does not exist, allocating memory.
    [    8.830020] /dev/vmnet: port on hub 1 successfully opened
    [    8.831297] /dev/vmnet: open called by PID 426 (vmnet-netifup)
    [    8.831301] /dev/vmnet: hub 2 does not exist, allocating memory.
    [    8.831311] /dev/vmnet: port on hub 2 successfully opened
    [    8.892082] /dev/vmnet: open called by PID 433 (vmnet-natd)
    [    8.892090] /dev/vmnet: hub 8 does not exist, allocating memory.
    [    8.892101] /dev/vmnet: port on hub 8 successfully opened
    [    8.902981] netlink: 12 bytes leftover after parsing attributes.
    [    8.902984] netlink: 12 bytes leftover after parsing attributes.
    [    8.903006] netlink: 12 bytes leftover after parsing attributes.
    [    8.903091] netlink: 12 bytes leftover after parsing attributes.
    [    8.904797] /dev/vmnet: open called by PID 434 (vmnet-netifup)
    [    8.904804] /dev/vmnet: port on hub 8 successfully opened
    [    9.087903] /dev/vmnet: open called by PID 437 (vmnet-dhcpd)
    [    9.087912] /dev/vmnet: port on hub 8 successfully opened
    [   10.607320] wlan0: authenticate with bc:ae:c5:7e:ba:fc
    [   10.627420] wlan0: send auth to bc:ae:c5:7e:ba:fc (try 1/3)
    [   10.628841] wlan0: authenticated
    [   10.640245] wlan0: associate with bc:ae:c5:7e:ba:fc (try 1/3)
    [   10.643649] wlan0: RX AssocResp from bc:ae:c5:7e:ba:fc (capab=0x431 status=0 aid=2)
    [   10.643794] wlan0: associated
    [   10.643806] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   11.135609] userif-3: sent link down event.
    [   11.135611] userif-3: sent link up event.
    Any points would be highly appreciated.
    Liao
    Last edited by liao (2013-01-05 09:17:59)

    export VISUAL="/usr/bin/vim -p -X"
    alias ll='ls -l'
    complete -cf sudo
    chmod 777 /dev/vmnet*
    Ignoring that still using initscripts is discouraged, those commands should be executed by each session; that is, put them on your .bashrc (or .zshrc, if you use zsh)
    You are doing it there because you want those commands for every single user? Fine, put them on /etc/profile instead.
    oh! and learn to create unit files... really, is simple, and is the correct way
    Last edited by chris_l (2012-12-14 16:02:49)

  • OS Command in NFS not executing

    Dear All
    I am trying to execute a script before message processing in sender file communication channel  with transport protocol NFS.
    Although in my cc message display logs says:
    Information Execute OS command "sh displayDate.sh"
    but none of the commands inside the script is running.
    I am using PI NFS directory as the location to place the script and executing it.
    As the script is running fine when executed in command prompt there is no problem with the content script
    Please help
    Regards
    Sourabh

    > #!/bin/displayDate.sh
    Wrong! Use
    #!/bin/sh
    or
    #!/bin/ksh
    depending on what shell you use.
    Then execute
    chmod 755 displayDate.sh
    Then logon as <sid>adm and execute
    $ /interface/displayDate.sh
    without a prepending "sh".
    Markus

  • Runtime.exec not executing the command !

    Hi all,
    I'm connecting to Progress Db thru JDBC trying to execute a stored procedure
    which has a statement
    Runtime.exec("ksh -c aa") where aa is aunix script which i'm trying to run from java snippet .
    when i run this code as a seperate java program it executes the script
    "aa" but thru JDBC connection it does not execute the command
    what could be the reason ???
    thanx in advance,
    Nagu.

    Hi Rick,
    "aa" is the shell script which is lying in the user DIR .
    It is returning a non-zero value. what kind of permissions be there for to execute the Shell command?
    Regards,
    Nagarathna.

  • Could not execute auto check for display colors using command /usr/

    I am trying to Install Oracle 10g R2 on Solaris X86 32 bit
    I am connecting to system from my windows vista laptop through putty... I get the following error...
    $ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.10. Actual 5.10
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 1214 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 1799 MB Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/openw
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n] n
    User Selected: No
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/Or
    I have done the following:-
    # DISPLAY=192.168.1.133:0.0; export DISPLAY
    # echo $DISPLAY
    192.168.1.133:0.0
    # xhost+
    xhost+: not found
    # xclock
    xclock: not found
    I know that I have to do the following:-
    1. Install SUNWxwplt package ========> Is already Installed
    2. Set DISPLAY variable
    3. Execute xhost + on target (set in DISPLAY) computer
    # pkginfo -i SUNWxwplt
    system SUNWxwplt X Window System platform software
    Some sites claim xming and some xwindows etc.... Plz give me a step by step instruction as how to overcome this..
    bash-3.00# /usr/openwin/bin/xclock
    Error: Can't open display:
    bash-3.00# DISPLAY=192.168.1.133:0.0; export DISPLAY; echo DISPLAY
    DISPLAY
    bash-3.00# echo $DISPLAY
    192.168.1.133:0.0
    bash-3.00# /usr/openwin/bin/xclock
    Error: Can't open display: 192.168.1.133:0.0
    bash-3.00# pwd
    bash-3.00# find . -name xhost
    ./usr/openwin/bin/xhost
    ^C
    bash-3.00# /usr/openwin/bin/xhost +
    /usr/openwin/bin/xhost: unable to open display "192.168.1.133:0.0"
    bash-3.00#
    # echo $PATH
    /usr/sbin:/usr/bin
    I have also gone through the below ... but was not of much help
    Unable to execute runInstaller: Check if the DISPLAY variable is set
    Plz help
    Edited by: [email protected] on Feb 11, 2009 5:16 AM

    bash-3.00# echo $SHELL
    /sbin/sh
    bash-3.00# echo $DISPLAY
    bash-3.00# DISPLAY=192.168.1.133:0.0;export DISPLAY
    bash-3.00# echo $DISPLAY
    192.168.1.133:0.0
    bash-3.00# /usr/openwin/bin/xclock
    Error: Can't open display: 192.168.1.133:0.0
    bash-3.00# man xclock
    No manual entry for xclock.
    bash-3.00# /usr/openwin/bin/xhost +
    /usr/openwin/bin/xhost: unable to open display "192.168.1.133:0.0"
    bash-3.00#

  • [sysvinit, NOT systemd] Commands in rc.local not executed

    Hello Community,
    I'm using the common sysvinit initscripts, so the following problem should not be related to systemd.
    I just made some powersaving settings as advised in https://wiki.archlinux.org/index.php/Powertop in /etc/rc.local, so for example
    echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
    After rebooting I checked the settings and found...
    $ cat /sys/class/scsi_host/host0/link_power_management_policy
    max_performance
    This is my complete rc.local file:
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    # Keep dirty writes in memory
    echo 90 > /proc/sys/vm/dirty_ratio
    # Keep dirty writes out of cache
    echo 5 > /proc/sys/vm/dirty_background_ratio
    # VM writeback timeout
    echo 6000 > /proc/sys/vm/dirty_writeback_centisecs
    # SATA Active Link Powermanagement
    echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
    # set Advanced Power Management feature
    hdparm -B 128 /dev/sda
    The upper "echo" commands aren't executed, as well as the SATA Active Link Powermanagement.
    Strange enough, but the hdparm command seems to be executed. I see the output in the boot messages and in /var/log/boot:
    Wed Sep 5 13:11:22 2012: /dev/sda:
    Wed Sep 5 13:11:22 2012: setting Advanced Power Management level to 0x80 (128)
    Wed Sep 5 13:11:23 2012: APM_level = 128
    Does anybody have a clue, why the "echo" commands aren't executed while the hdparm is?
    Any hint would really be appreciated!

    indianahorst wrote:
    Hello Community,
    I'm using the common sysvinit initscripts, so the following problem should not be related to systemd.
    I just made some powersaving settings as advised in https://wiki.archlinux.org/index.php/Powertop in /etc/rc.local, so for example
    echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
    After rebooting I checked the settings and found...
    $ cat /sys/class/scsi_host/host0/link_power_management_policy
    max_performance
    This is my complete rc.local file:
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    # Keep dirty writes in memory
    echo 90 > /proc/sys/vm/dirty_ratio
    # Keep dirty writes out of cache
    echo 5 > /proc/sys/vm/dirty_background_ratio
    # VM writeback timeout
    echo 6000 > /proc/sys/vm/dirty_writeback_centisecs
    # SATA Active Link Powermanagement
    echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
    # set Advanced Power Management feature
    hdparm -B 128 /dev/sda
    The upper "echo" commands aren't executed, as well as the SATA Active Link Powermanagement.
    Strange enough, but the hdparm command seems to be executed. I see the output in the boot messages and in /var/log/boot:
    Wed Sep 5 13:11:22 2012: /dev/sda:
    Wed Sep 5 13:11:22 2012: setting Advanced Power Management level to 0x80 (128)
    Wed Sep 5 13:11:23 2012: APM_level = 128
    Does anybody have a clue, why the "echo" commands aren't executed while the hdparm is?
    Any hint would really be appreciated!
    What desktop do you use? Specifically, do you run upower? This seems to be related to upower's call to pm-powersave which would turn on high-performance settings when running on AC...
    FWIW, here is my rc.local
    . /etc/rc.conf
    . /etc/rc.d/functions
    echo "Entering rc.local"
    stat_busy "Setting WiFi powersave"
    iw dev wlan0 set power_save on
    if [ $? -gt 0 ]; then
    stat_fail
    else
    stat_done
    fi
    stat_busy "Setting CPU and SCSI powersavings"
    echo 99 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
    for h in /sys/class/scsi_host/host?; do
    if [ -f $h/link_power_management_policy ]; then
    echo "min_power" > $h/link_power_management_policy
    fi
    done
    stat_done
    stat_busy "Remount /dev/shm noexec"
    mount -o remount,noexec /dev/shm
    if [ $? -gt 0 ]; then
    stat_fail
    else
    stat_done
    fi
    and
    $ for h in /sys/class/scsi_host/host?; do cat $h/link_power_management_policy; done
    min_power
    min_power
    min_power
    min_power

  • Could not execute command "getState" for server server01 using nodemanager

    Hi,
    I have built a weblogic 9.1 env with 2 managed servers running on different boxes from the admin server.
    I am having problems in starting the managed servers using the nodemanager. I get the following error message in the Admin server log:
    <Error> <NodeManager> <BEA-300034> <Could not execute command "getState" for server "******" using the node manager. Reason: I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory '/opt/bea/weblogic91/common/nodemanager' invalid (domain salt file not found).>
    I get the following message on the admin console:
    For server ******, the Node Manager associated with machine ******-machine is not reachable.
    All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager. No action will be performed.
    I can start the managed server using the "startMangedWeblogic.sh" without any issues.
    Any help on this would be greatly appreciated.
    Thanks

    one more thing to add:
    I get the following error in the Managed server log:
    <I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory '/opt/bea/weblogic91/common/nodemanager' invalid (domain salt file not found)>
    java.io.FileNotFoundException: Domain directory '/opt/bea/weblogic91/common/nodemanager' invalid (domain salt file not found)
    at weblogic.nodemanager.server.DomainManager.initialize(DomainManager.java:74)
    at weblogic.nodemanager.server.DomainManager.<init>(DomainManager.java:46)
    at weblogic.nodemanager.server.NMServer.getDomainManager(NMServer.java:239)
    at weblogic.nodemanager.server.Handler.handleDomain(Handler.java:170)
    at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:104)
    at weblogic.nodemanager.server.Handler.run(Handler.java:64)
    at java.lang.Thread.run(Thread.java:595)

  • Delete command are not executed in function of Java Bean

    Hello Sir,
    In Java bean have a function submitData.I want in this function run delete command through PreparedStatement..But Its not executed.
    Please review..
    public void submitData()
         try
    System.out.println("Printed*************************************************************");
    Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("Loading....");
    Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VijayKumar-PC:1521:XE","SYSTEM","SYSTEM");
    System.out.println("Connection created");
    PreparedStatement st=con.prepareStatement("delete  from simple where NAME='?' and BNAME='?' ");
    String User=getUserName();
    st.setString(1,User);
    String Bname=getBookName();
    st.setString(2,Bname);
    int y= st.executeUpdate();
    System.out.println(y);
    System.out.println("Query Executed");
    con.commit();
    con.close();
    System.out.println("Your Book are Submitted *****************");
    catch(Exception e)
    e.printStackTrace();
    }Thanks.

    Dear Sir,
    I removed the singleaquotes from preparedstatement.But Its not executed in this function.Like:
    public void submitData()
         try
    System.out.println("Printed*************************************************************");
    Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("Loading....");
    Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VijayKumar-PC:1521:XE","SYSTEM","SYSTEM");
    System.out.println("Connection created");
    PreparedStatement st=con.prepareStatement("delete  from simple where NAME=? and BNAME=? ");
    String User=getUserName();
    st.setString(1,User);
    String Bname=getBookName();
    st.setString(2,Bname);
    int y= st.executeUpdate();
    System.out.println(y);
    System.out.println("Query Executed");
    con.commit();
    con.close();
    System.out.println("Your Book are Submitted *****************");
    catch(Exception e)
    e.printStackTrace();
    }Allthough Insert command is properly executed in another function of Java Bean.
    Please review...
    Thanks.

  • Could not execute command "getVersion" on the node manager

    Hi all,
    I have 2 unix machine:
    A - Admin with BankServer1 and BankWeb1 - work fine
    B - remote machine
    I did pack and unpack , after that in Weblogic I go to Environment > Machines > my_remote_machine(B) > Monitoring Tab
    The error is:
    <Error> <NodeManager> <BEA-300033> <Could not execute command "getVersion" on the node manager. Reason: "Access to domain 'Bank_Unix' for user 'hP76NCZfcy' denied".>

    Hi,
    Did u execut nmEnroll () WLST command successfully from remote box. to Enroll the NodeManager? Or did u see any WARNING/ERROR while doing this?
    Can u please double check if the Step-8 is executed successfully ...mentioned in the below link: http://weblogic-wonders.com/weblogic/2010/04/28/weblogic-clustering-in-remote-boxes/
    Thanks
    Jay SenSharma

  • Could not execute auto check for display colors using command /usr/bin/X11/

    Hello,
    In a work trying to install ORACLE 11gR2 software in AIX 5.3,
    export DISPLAY=local_IPXXX:0.0
    xclock
    it works, can see the clock.
    then go to dowloaded oracle, run
    /xxx/11g203_AIX64_5L/database-> ./runInstaller
    Your platform requires the root user to perform certain pre-installation
    OS preparation. The root user should run the shell script 'rootpre.sh' before
    you proceed with Oracle installation. rootpre.sh can be found at the top level
    of the CD or the stage area.
    Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
    installation.
    Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.
    Has 'rootpre.sh' been run by root? [y/n] (n)
    y
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 190 MB. Actual 7470 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 6144 MB Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/X11/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,
    Continue? (y/n) [n] n
    User Selected: No
    any idea to fix?
    thanks a lot in advance

    thank you for response
    in log, it shows
    Using paramFile: /xxx/11g203_AIX64_5L/database/install/oraparam.ini
    Checking Temp space: must be greater than 190 MB. Actual 7194 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 6144 MB Passed
    Checking monitor: must be configured to display at least 256 colors Failed <<<<
    >>> Could not execute auto check for display colors using command /usr/bin/X11/xdpyinfo. Check if the DISPLAY variable is set.
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,Continue? (y/n) [n]
    User Selected: No
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2012-09-17_04-08-40PM/installActions2012-09-17_04-08-40PM.log
    ~
    --so nothing new as screen shows.
    --ok, anonther way, say yes, shows..
    continuing with the installation,
    Continue? (y/n) [n] y
    Ignoring required pre-requisite failures. Continuing...Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-09-17_04-00-30PM. Please wait ...xxxx:/xxx/11g203_AIX64_5L/database-> Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.motif.MToolkit (initialization failure)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:130)
    at java.awt.Toolkit$2.run(Toolkit.java:864)
    at java.security.AccessController.doPrivileged(AccessController.java:192)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:847)
    at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
    at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:163)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1812)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:510)
    at oracle.install.commons.util.Application.startup(Application.java:780)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:124)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:155)
    Edited by: 951932 on Sep 17, 2012 2:12 PM

  • Maxl shell command not executing

    I'm running Essbase from a Solaris environment. I have a MAXL script that exports an Essbase database, shuts down Essbase, and issues shell commands to copy the Analytic Services directories to backup directories. The script was running without problems until a Solaris patch, generic patch 127111-09, was installed. Since then the shell commands are no longer executing. Does anyone know why these shell commands are no longer executing.
    Thanks,
    Tom

    Already checked, no change in the permissions. There was a bug, see link, when doing a recursive remove that was corrected. Not sure if this is related.
    Link: [http://bugs.opensolaris.org/bugdatabase/view_bug.do;jsessionid=fa9dddbcb3ede12a9d5b4a397cef?bug_id=4677347]
    Thanks,
    Tom

  • Could not execute the job

    Hi,
    when i execute the job a a window appear with the massage" ERROR: could not execute the job .Error returned was 1
         MESSAGE is : Could not open command file...
    And i can't find from where it comes any suggestion?

    When today i execute the job i had this list of error
    13860    15384    REP-100109        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100109        27/05/2014 08:22:10       Cannot save <History info> into the repository. Additional database information: <SQL submitted to ODBC data source
    13860    15384    REP-100109        27/05/2014 08:22:10       <SIGSIRDDB01\SQLSIRDBD> resulted in error <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object
    13860    15384    REP-100109        27/05/2014 08:22:10       'dbo.AL_HISTORY_INFO' in database 'DS_REP' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded
    13860    15384    REP-100109        27/05/2014 08:22:10       files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files
    13860    15384    REP-100109        27/05/2014 08:22:10       in the filegroup.>. The SQL submitted is <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME",
    13860    15384    REP-100109        27/05/2014 08:22:10       "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100109        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100109        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100109        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100109        27/05/2014 08:22:10       TXT') >.>.
    13860    15384    REP-100112        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100112        27/05/2014 08:22:10       Cannot save <History info> for repository object <>. Additional database information: <Cannot save <History info> into the
    13860    15384    REP-100112        27/05/2014 08:22:10       repository. Additional database information: <SQL submitted to ODBC data source <SIGSIRDDB01\SQLSIRDBD> resulted in error
    13860    15384    REP-100112        27/05/2014 08:22:10       <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'dbo.AL_HISTORY_INFO' in database 'DS_REP'
    13860    15384    REP-100112        27/05/2014 08:22:10       because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    13860    15384    REP-100112        27/05/2014 08:22:10       adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.>. The SQL submitted is
    13860    15384    REP-100112        27/05/2014 08:22:10       <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME", "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100112        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100112        27/05/2014 08:22:10       TXT') >.>.>.
    13860    15384    REP-100112        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100112        27/05/2014 08:22:10       Cannot save <History info> for repository object <>. Additional database information: <Cannot save <History info> into the
    13860    15384    REP-100112        27/05/2014 08:22:10       repository. Additional database information: <SQL submitted to ODBC data source <SIGSIRDDB01\SQLSIRDBD> resulted in error
    13860    15384    REP-100112        27/05/2014 08:22:10       <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'dbo.AL_HISTORY_INFO' in database 'DS_REP'
    13860    15384    REP-100112        27/05/2014 08:22:10       because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    13860    15384    REP-100112        27/05/2014 08:22:10       adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.>. The SQL submitted is
    13860    15384    REP-100112        27/05/2014 08:22:10       <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME", "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100112        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100112        27/05/2014 08:22:10       TXT') >.>.>.
    and thank u.
    Sincerly

  • ODI Procedure (passing parameter from command on source to command on target) issue.

    Hi All,
    I am working on ODI 11.1.1.5.
    I am trying to run a select query on 'command on source' and tying to capture the output into command on target and execute the code captured.
    'command on source'
    select 'BEGIN ' || 'dbms_stats.gather_table_stats(ownname => ''' || pfg.table_owner || ''', tabname => ''' || pfg.table_name || '''' ||'END' ||';'  SQL_TEXT from TABLE_GROUP pfg , ALL_TABLES at
    where pfg.enabled = 'Y'     and   pfg.group_name = 'TABLE_NAME'     and   pfg.table_owner = at.owner     and   pfg.table_name  = at.table_name  (forgot abt the syntax, i have removed some part of the code to make it simple)
    the desired output will be:  (SQL_TEXT in the above code is to capture the output into it)
    BEGIN dbms_stats.gather_table_stats(ownname => 'OWNER_NAME', tabname =>  'TABLE_NAME', estimate_percent =>  DBMS_STATS.AUTO_SAMPLE_SIZE, degree =>  DBMS_STATS.DEFAULT_DEGREE); END;
    I am getting the desired result , the only problem is passing on this to 'command on target'. On "comm on target", I wanted to run this whole output (from BEGIN to END, as above) so I followed the below syntax/method of calling/executing this:
    :SQL_TEXT (did not work)
    #SQL_TEXT  (did not work)
    Any help on this is much appreciated. thanks in advance.
    Regard,Sp.

    It will not work like that. you have to either store the variable value in other variable and then use that.
    or
    write command on source like
    select pfg.table_owner SQL_TEXT1,pfg.table_name SQL_TEXT from TABLE_GROUP pfg , ALL_TABLES at
    where pfg.enabled = 'Y'     and   pfg.group_name = 'TABLE_NAME'     and   pfg.table_owner = at.owner     and   pfg.table_name  = at.table_name
    command on target/ technology --> oracle
    BEGIN
    dbms_stats.gather_table_stats(#SQL_TEXT1 || #SQL_TEXT)
    END
    I have not try out this before but i believe it will work.
    let me know
    Thanks

  • Not executing /etc/profile

    Hi,
    I installed 10.4.2 from the CD that came with my PowerBook. Later, realising that X11 was not installed automatically, I reinstalled the entire OS using the custom mode. The old OS was shifted to PreviousSystem, which I deleted subsequently.
    I notice that on booting, the command /etc/profile is not executed. As a result, the system wide PATH that should be available for all users does not get set up. Is there a bug or am I looking at the wrong profile file?
    For individual users, .bash_profile is not automatically executed. Every time I have to issue the command "source .bash_profile" to execute them. I have the same question as above: is there a bug, or am I looking at the wrong file?
    Thanks.
    Kannan

    /etc/profile is not supposed to be executed on booting. It and .bash_profile are only executed when a login bash shell is started. A new Terminal window starts a login shell; xterm does not. A non-login shell runs .bashrc. If you are using xterm, and want to run the profiles, you can source them in your .bashrc.

Maybe you are looking for