'java_wrapper: command not found'  when running license script

Hello, am trying to run a third party application licensing script which needs JRE to run. This script is failing with the following error. 'java_wrapper: command not found' ...
Can anyone assist with ideas of resolution?! Does a path need to be set? Does JRE (1.4.1_x) need to live in a specific part of the unix filesystem (solaris 8)?!
Thanks!!

This is not a TNS names issue if you can connect to database. It could be a network problem, but more likely it's a problem with the installation of the app server. When you install the app server, it should use the name assigned to the server. I don't believe you can just make up a name for an app server unless it is known to the network.

Similar Messages

  • [SOLVED] command not found when chrooted into Debian

    I have used Debian previously. I have a debian chroot on a separate partition which sole purpose is apache2 server. I use apache2 in chroot, so everytime I reinstall my main system, all my projects are left there in this system untouched. The chroot was created with Debian's debootstrap. Now when I moved from Debian to Arch, I can't use this chroot. When I chroot into it I can't execute any command there, all I get is command not found, even on things such as ls, rm, mv.
    Does it mean that I have to create a chroot for server again, using Arch linux or is there a way to get this Debian working?
    Last edited by kox (2015-05-02 20:13:22)

    I don't think the `arch-chroot` script will work for a Debian system but I could be wrong.
    Have you tried mounting /proc, /sys & /dev first and sourcing the shell profiles afterwards?
    https://wiki.archlinux.org/index.php/Ch … ing_chroot
    This shouldn't make any difference as the chroot fstab should already have entries for these but you never know...
    Maybe you should copy /etc/hosts & /proc/mounts from your new Arch system into your Debian chroot.
    https://wiki.debian.org/Debootstrap
    @WorMzy -- the shell built-ins are not working so I don't think it's a $PATH issue.
    Last edited by Head_on_a_Stick (2015-05-02 19:41:44)

  • Command not found on running binary files.

    I have a very strange problem with my new arch installation, which I never faced on other linux installations/distros.
    I'm trying to execute binary files from android-sdk, which I have them from other distros and always worked, and I get always "command not found" message. For e.g I tried to run adb(5 different files from different places), from terminal and from the folder in which is each and all times I get "command not found" message.
    Some other work though, as eclipse binary. All files I've tried worked fine, and also work fine if I run them from Ubuntu installation.
    I had this problem and for some newly isntalled packages too, as packagkit, and rutorrent. Packagekit worked after a reboot, but rutorrent gives same message.
    Any help?

    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ QtADB
    bash: QtADB: command not found
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ ./QtADBbash: ./QtADB: No such file or directory
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh ./QtADB
    ./QtADB: ./QtADB: cannot execute binary file
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh QtADB
    QtADB: QtADB: cannot execute binary file
    user-arch@archusrxpc /home/@solushome/user-solus/QtADB-cwm_edition $ ls -l
    σύνολο 2940
    -rw-rw-r-- 1 user-arch 1000    5259 Απρ  13  2012 Changes.txt
    -rw-rw-r-- 1 user-arch 1000   25330 Ιούν 26  2012 debug.log
    -rwxrwxr-x 1 user-arch 1000 2970612 Απρ  13  2012 QtADB
    drwxr-xr-x 1 user-arch 1000       0 Ιούν 26  2012 tmp
    drwxrwxr-x 1 user-arch 1000     366 Μάρ  13  2012 tools
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $
    Last edited by dancer69 (2013-01-17 18:30:23)

  • "command not found" when using bash as root [SOLVED]

    Some examples:
    bash: gparted: command not found
    bash: cryptsetup: command not found
    bash: lsusb: command not found
    All of these are defintely installed, and work without any problems if I type in their full path. Any idea why this is happening?
    Last edited by SkyValley (2008-12-15 02:57:30)

    That means you're not starting it as a login shell, so you may want to look in to that.
    /etc/profile is what you need,
    echo "source /etc/profile" > /root/.bashrc
    That's safe to do regardless and you can look in to the login shell problem later.

  • [solved] 'ERROR: file not found:' when running 'mkinitcpio -p linux'

    $ sudo mkinitcpio -p linux
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.13.5-1-ARCH
    -> Running build hook: [systemd]
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating cat initcpio image: /boot/initramfs-linux.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.13.5-1-ARCH
    -> Running build hook: [systemd]
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: smsmdtv
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating cat initcpio image: /boot/initramfs-linux-fallback.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    Things seems to work, but I'm a bit worried.
    It has just started. PS/2 atkbd stuff went fine.
    journalctl shows
    Feb 26 22:36:09 localhost systemd-udevd[62]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[63]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
    Feb 26 22:36:09 localhost systemd-udevd[64]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[65]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
    Feb 26 22:36:09 localhost kernel: sda: sda1 sda2 sda3 sda4
    Feb 26 22:36:09 localhost kernel: sd 0:0:0:0: [sda] Attached SCSI disk
    Feb 26 22:36:09 localhost systemd-udevd[66]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[67]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export
    I'm using [testing] but I don't know if it matters.
    What should I post?
    Last edited by karol (2014-03-15 15:03:56)

    The systemd build hook looks like this:
    build() {
    local rules unit
    # from base
    add_binary /bin/mount
    add_binary /usr/bin/kmod /usr/bin/modprobe
    # systemd
    add_binary /usr/lib/systemd/systemd /init
    add_binary /usr/bin/systemd-tmpfiles
    # generate sysroot.mount and sysroot-usr.mount
    add_file "/usr/lib/systemd/system-generators/systemd-fstab-generator"
    # udev rules and systemd units
    map add_udev_rule "$rules" \
    50-udev-default.rules \
    60-persistent-storage.rules \
    64-btrfs.rules \
    80-drivers.rules \
    99-systemd.rules \
    map add_systemd_unit \
    ctrl-alt-del.target \
    initrd-cleanup.service \
    initrd-fs.target \
    initrd-parse-etc.service \
    initrd-root-fs.target \
    initrd-switch-root.service \
    initrd-switch-root.target \
    initrd-udevadm-cleanup-db.service \
    initrd.target \
    kmod-static-nodes.service \
    sockets.target \
    [email protected] \
    systemd-journald.service \
    systemd-tmpfiles-setup-dev.service \
    systemd-udev-trigger.service \
    systemd-udevd-control.socket \
    systemd-udevd-kernel.socket \
    systemd-udevd.service
    add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
    # libdbus needs the passwd info of the root user
    # TODO: make sure this is no longer necessary when systemctl moves to sd-bus
    add_file "/etc/nsswitch.conf"
    add_file "/etc/passwd"
    add_binary "$(readlink -f /usr/lib/libnss_files.so)"
    # udev wants /etc/group since it doesn't launch with --resolve-names=never
    add_file "/etc/group"
    Do all of those files exist on your sytemd? I'm not running testing nor systemd in my initrd, so I can't do much checking.
    Edit: You're not the only one. Bug report: https://bugs.archlinux.org/task/39059
    Last edited by Scimmia (2014-02-27 06:59:55)

  • Sqlora11.dll not found when running Pro*C application on 11g server

    Hello,
    Here is my environment:
    Workstation: Windows XP (32bit) with Oracle Client 11g 32bit
    Server: Windows 2003 server 64bit with Oracle 11g 64bit
    I have a Pro*C program that I have been able to pre-compiled, compiled and linked on my workstation using Mingw/gcc compiler and standard include files (sdtio.h...) from MS Visual C++ 2005 Express Edition.
    Precompilation: E:\app\oracle\product\11.1.0\client_1\BIN\proc.exe iname=Fill_Translated.pc oname=Fill_Translated.c userid=xxx/yyy@my11gDB code=ansi_c parse=full mode=oracle dynamic=oracle lines=yes sqlcheck=semantics errors=yes sys_include="C:\Program Files\Microsoft Visual Studio 8\VC\include" include=("E:\app\oracle\product\11.1.0\client_1\precomp\public","E:\app\oracle\product\11.1.0\client_1\oci\include")
    Compilation: c:\mingw\bin\gcc.exe -c Fill_Translated.c -o Fill_Translated.o -Wall -I E:\app\oracle\product\11.1.0\client_1\precomp\public -I E:\app\oracle\product\11.1.0\client_1\oci\include
    Link: c:\mingw\bin\gcc.exe -o Fill_Translated.exe Fill_Translated.o -L E:\app\oracle\product\11.1.0\client_1\precomp\LIB\ -lorasql11
    The result is an executable file that gets connected to an 11g database hosted on a w2003 64-bit server, opens a table with blob fields and expands the blob content into a target table (one blob source record generates thousands of target records). Everything works fine when running from my workstation.
    For some reasons, this executable file must run on the O11g server itself. So I copied and pasted the executable file on the server and tried to run it. I thought it would work...
    But I get the following error message in a popup window: This application has failed to start because orasql11.dll was not found. Re-installing the application may fix this problem.
    At this point, I do not know anymore what to do to solve this problem !
    Does it come from the fact that the complete build have been done on a Windows 32bit platform and the server is a 64-bit platform ?
    Do I have to install a O11g 64bit client on my server to make it work ?
    Do I have to rebuild everything from the server, meaning that I must install a kind of development environment on my server (Mingw/gcc and so on) ?
    Is there something to change in the registry of the server or in the path environment variable so that this dll is found ?
    Any others ideas ??
    Thank you for your answers.

    Actually, I do not have any O11g client installed on my Oracle server. But the DLL exists in my $ORACLE_HOME/lib on my server, more precisely in E:\app\dev_ora\product\11.1.0\db_1\BIN.
    As I built my executable file on a win32 platform with O11g client 32bit installed, I was wondering if the same executable file copied onto the server was not trying to find the relevant 32 bit library on my win64 platform, which of course does not exists as I have only a 64bit version of this library !! Would-it be the cause of the problem ?
    Does an O11g 32bit client installation on my Oracle 11g 64bit server would solve the problem ? Any inconvenient to have on the same server both an O11g 64bit server and an O11g 32bit client if it appears to be the solution ?

  • Error 404 -- NOT FOUND when running a form in form 11g

    Hi All,
    I got this problem when I run the forms using internet explorer.
    I work on Forms 11g which uses weblogic 10.3 for web deployment of the forms.
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Can any one tell me where it went wrong.
    Thanks

    Let's start by clearing up some confusion.
    PORTS
    In version 11.1.1.x here are how the common ports are defined by default:
    1. HTTP Server - 8888
    2. WLS_FORMS - 9001
    3. WLS_REPORTS - 9002
    4. WLS Admin Server - 7001
    So, if you understand how ports work in general, you should see that there are two ways to run a form. You can either go through HTTP Server or call WLS_FORMS directly. This means that both of the following would work, although one would be a direct path and the other would route the request through the HTTP Server:
    <li>http://ie1fdtfc5zl1s:9001/forms/frmservlet?config=frmdemo
    <li>http://ie1fdtfc5zl1s:8888/forms/frmservlet?config=frmdemo
    Port 7001, will always be the Admin Server port by default for the Classic domain. By default, the only thing you can do from here is access EM or WLS Console.
    As for the tns issue, by default, both the Builder and runtime will expect to find tnsnames.ora in the Instance Home \config so be sure you are adding the correct entries to the correct file.
    You can hard code a path to the file which you prefer be used by setting TNS_ADMIN in default.env (e.g. TNS_ADMIN=C:\Oracle\mytnsdirectory). This will apply only to running forms and not the Builder.
    Also, here is something which often is confusing to many people.... just because you launched your form from the Builder does not mean that the running form has anything to do with the Builder at that point. In other words, when you click on the RunForm button in the builder all you are doing is passing a url to a browser. The browser and the form are not using any of the Builder's settings except those which may have been passed in the URL (e.g. username/password). ALL running forms are considered "runtime". This means all of the environment configuration information for a running form will need to be set in default.env. The Builder, on the other hand will rely on the System variable, Windows Registry (or shell if on Unix).

  • LabVIEW: Resource not found. when running executable

    Hi,
    I've made a fully functional vi with LabVIEW 2009 (developer suite) and need to be able to run it on another PC without it.  I have downloaded LV Run-Time 2009, but when I try to run the executable I built, I recieve an error which reads:
    LabVIEW: Reasorce not found.
    An error occurred loading VI 'NI_AALPro.lvliberivative x(t).vi'.
    Labview load error code 3:  Could not load front panal.
    I can run the executable on another PC with LabVIEW no problem.  I've read somewhere about the need to stop the front panal from beng removed on sub VIs with Application Builder, although I don't think I have it.  I apologise in case this is a dumb question and I appreciate any help.
    Cheers
    Luke
    Solved!
    Go to Solution.

    Removing or not removing the front panel probably has nothing to do with your problem. My guess is that you did not create an installer. If you had, it would have included lvanyls.dll in a data folder under the folder where your exe was installed.

  • System Writer is not found when running SystemState

    I ran DPM backups and got errors when i was tring to run system state, realised i get the error "System Writer is not found"in windows backup. I checked VSS admin list writers and system writer was not stated in output.
    I there after ran to google and tried to follow https://support.microsoft.com/en-us/kb/2009272?wa=wsignin1.0   however that didnot work because my event ID registered error ID 8193 which i as well googled and ended up on https://social.technet.microsoft.com/Forums/windowsserver/en-US/7b52f7c1-a783-409e-9af3-da64567676df/vss-error-8193?forum=winserverfiles
    But i didnot have any profilesthat had BAK extension or id in them. So now i am still stuck with tihis problem. Any help highly appreciated. 
    JHL Net Solutions

    Hello,
    The HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\VssAccessControl. NT
    AUTHORITY\NETWORK SERVICE already has the value of (REG_DWORD)  1.
    Here is the the event id 8193
    Volume Shadow Copy Service error: Unexpected error calling routine CreateVssExamineWriterMetadata.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
    Check the Application event log for more information.
    Operation:
       Writer Exposing its Metadata
    Context:
       Execution Context: Requestor
       Writer Instance ID: {F9E9B938-768C-43E4-9107-6B36ACAB40D2}
       Writer Class Id: {E8132975-6F93-4464-A53E-1050253AE220}
       Writer Name: System Writer
    System 
      - Provider 
       [ Name]  VSS 
      - EventID 8193 
       [ Qualifiers]  0 
       Level 2 
       Task 0 
       Keywords 0x80000000000000 
      - TimeCreated 
       [ SystemTime]  2015-04-27T15:19:37.000000000Z 
       EventRecordID 16060 
       Channel Application 
       Computer mycomputername 
       Security 
    - EventData 
       CreateVssExamineWriterMetadata 
       0x80042302, A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information.  
       Operation: Writer Exposing its Metadata Context: Execution Context: Requestor Writer Instance ID: {F9E9B938-768C-43E4-9107-6B36ACAB40D2} Writer Class Id: {E8132975-6F93-4464-A53E-1050253AE220} Writer Name: System Writer 
       2D20436F64653A2042554543584D4C4330303030393037302D2043616C6C3A2042554543584D4C4330303030393033312D205049443A202030303030333838382D205449443A202030303030333635322D20434D443A202022433A5C57696E646F77735C73797374656D33325C7762656E67696E652E657865222020202020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820 
    Binary data:
    In Words
    0000: 6F43202D 203A6564 43455542 434C4D58 
    0010: 30303030 30373039 6143202D 203A6C6C 
    0020: 43455542 434C4D58 30303030 31333039 
    0030: 4950202D 20203A44 30303030 38383833 
    0040: 4954202D 20203A44 30303030 32353633 
    0050: 4D43202D 20203A44 5C3A4322 646E6957 
    0060: 5C73776F 74737973 32336D65 6562775C 
    0070: 6E69676E 78652E65 20202265 20202020 
    0080: 7355202D 203A7265 656D614E 544E203A 
    0090: 54554120 49524F48 535C5954 45545359 
    00a0: 53202C4D 533A4449 352D312D 2038312D 
    In Bytes
    0000: 2D 20 43 6F 64 65 3A 20   - Code: 
    0008: 42 55 45 43 58 4D 4C 43   BUECXMLC
    0010: 30 30 30 30 39 30 37 30   00009070
    0018: 2D 20 43 61 6C 6C 3A 20   - Call: 
    0020: 42 55 45 43 58 4D 4C 43   BUECXMLC
    0028: 30 30 30 30 39 30 33 31   00009031
    0030: 2D 20 50 49 44 3A 20 20   - PID:  
    0038: 30 30 30 30 33 38 38 38   00003888
    0040: 2D 20 54 49 44 3A 20 20   - TID:  
    0048: 30 30 30 30 33 36 35 32   00003652
    0050: 2D 20 43 4D 44 3A 20 20   - CMD:  
    0058: 22 43 3A 5C 57 69 6E 64   "C:\Wind
    0060: 6F 77 73 5C 73 79 73 74   ows\syst
    0068: 65 6D 33 32 5C 77 62 65   em32\wbe
    0070: 6E 67 69 6E 65 2E 65 78   ngine.ex
    0078: 65 22 20 20 20 20 20 20   e"      
    0080: 2D 20 55 73 65 72 3A 20   - User: 
    0088: 4E 61 6D 65 3A 20 4E 54   Name: NT
    0090: 20 41 55 54 48 4F 52 49    AUTHORI
    0098: 54 59 5C 53 59 53 54 45   TY\SYSTE
    00a0: 4D 2C 20 53 49 44 3A 53   M, SID:S
    00a8: 2D 31 2D 35 2D 31 38 20   -1-5-18 
    JHL Net Solutions

  • Getting " Applicaiton not found " when running any webdynpro applicaiton.

    HI All,
        I'm using SAP Netweaver Developer Studio 7.0.09.  Previously it's working fine. But today i developed one application and select " Deploy New Archive and Run ".  It showed the message deployed Successfully in server also. After that it's showing the error Message.
             First Line of error message shows URL of the particular Application and
             Second Line of error message shows the text  " Application not found. "
    I'm getting the same problem if i run any web dynpro Application. What is the Problem. Can any body Explain.
    Thanks in advance,
    Roop Kumar.

    Hi Roop,
    Please check the Default Trace log file from NWA or server location for more details.
    If you are not able to run from NWDS...then as you said wd application has properly deployed on the server, then you can create WD for Java application ivew to check weather issue is still there or not.
    If there is no issue with access WD applciation in portal, then it might problem with your NWDS(check the log for NWDS >> windows >> show view >> PDE runtime >> error log)
    Hope it helps
    Regards
    Arun

  • OAS in Unix: URL not found when run report from Form???? please help

    Hi,
    We have succesfully install OAS with Form Server and Report Server in
    Unix. We able to run Form and Report direct from browser. But we having
    problem to run Report from direct Form within the browser. The message from
    the browser was 'The requested URL was not found'. We use run_product to run
    report from form. Below is the statement:-
    Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    NULL);
    Does anyone have an idea??
    Thanks in advance.
    null

    please check env. variables
    1. FORMS60_MAPPING
    2. FORMS60_OUTOUT
    FORMS60_MAPPING should point to vartual directory on your forms webserver
    FORMS60_OUTPUT should point to physical
    directory path of vartual directory
    FORMS60_MAPPING
    regards
    Darshan
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by leong([email protected]):
    Hi,
    We have succesfully install OAS with Form Server and Report Server in
    Unix. We able to run Form and Report direct from browser. But we having
    problem to run Report from direct Form within the browser. The message from
    the browser was 'The requested URL was not found'. We use run_product to run
    report from form. Below is the statement:-
    Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    NULL);
    Does anyone have an idea??
    Thanks in advance.
    <HR></BLOCKQUOTE>
    null

  • Class not Found when Run

    Hi..everybody!!
    I have successfully compiled the program and I am 100% sure that the class file is in the current directory. However, when I run the program, it prompts the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
    Can anyone help me?? Thx!!

    Is your source file named HelloWorldApp.java (highly recommended)
    Is your class file named HelloWorldApp.class (required)
    Does your CLASSPATH env. var. include "." (current directory).

  • Executing CR HOST script, encountering command not found

    Hi All,
    I new to writing Host scripts, especially for use within the Applications.
    I need to go out to an FTP site and grab a file.
    The FTP portion of the script works fine.
    The problem I'm encountering is with the execution of regular commands like 'cd' or 'mv'.
    The error comes back, ...line xx: cd: command not found
    When I have an actual directory path with the cd command - I always get, No such file or directory...
    (I have verified the directory paths I'm attempting to change to exist and available.)
    The FTP portion executes, but the received file goes into some obscure server directory. Can't even perform a move of the file.
    The echo command works fine.
    I have created just a dummy script to do a cd /u32/... command and still the same Error.
    Any suggestions will be very helpful.
    Thanks,
    Bradley

    Here is a main code script....
    #$HEADER: XX_BANK_STMTS_IMPORT
    # PROGRAM NAME: XX_BANK_STMTS_IMPORT
    # PURPOSE:
    # Load XXXX Bank Statements
    # XX Bank Statements Import Concurrent Program
    # This script requires to run as Concurrent Request
    P_LOGIN="$1"
    P_USER_ID="$3"
    P_REQUEST_ID="$4"
    REMOTE_USER=ftpuser
    REMOTE_PASSWD=ftpuser
    FTP_DIR=u32/oracle/DBCTEST/apps/apps_st/xxcust/12.0.0/ftp/inbound
    REMOTE_PATH=public/dbco_cng/reporting
    REMOTE_FILE=*.PGP
    echo "USER = "${USER}
    echo "HOST = "${HOSTNAME}
    echo "Directory = "${PWD}
    cd /u32/oracle/XXXTEST/apps/apps_st/appl/xxcust/12.0.0/ftp/inbound
    echo "Directory = "${PWD}
    echo " Transferring File"
    ftp -n -i -v <<-EOF
    open XX.XX.XXX.XXX
    user $REMOTE_USER $REMOTE_PASSWD
    ##lcd $FTP_DIR
    cd $REMOTE_PATH
    mget $REMOTE_FILE
    EOF
    I get errors like
    /u32/oracle/XXXTEST/apps/apps_st/appl/xxcust/12.0.0/bin/XX_BANKFILE_LOAD.prog: line 108: cd: /u32/oracle/XXXTEST/apps/apps_st/appl/xxcust/12.0.0/ftp/inbound
    : No such file or directory
    or if I just put the cd command:
    cd: commad not found
    The commented out lcd was from previous tries at doing it that way... No luck.
    Thanks.

  • Command not found error while executing a shell script

    Hello,
    I am a newbie to linux.I am attaching the code which gives me following errors..
    error list:
    1. no such file or directory enviornemnt
    2. command not found
    3. ambiguous redirectline
    Script
    cd $HOME/wkdir
    rm /tmp/*.log
    # source environment
    . ./env
    # Run the install script to setup the database
    # Configure SH account
    sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
    grant connect, resource, dba to SH;
    alter user sh account unlock;
    # create the fetch_n_rows procedure
    sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
    drop index sales_time_bix;
    drop index sales_time_idx;
    create index sales_time_idx on sales(time_id) compute statistics;
    -- fetch_n_rows: fetches 'n' rows from the specified statement --
    CREATE OR REPLACE PROCEDURE fetch_n_rows(
    stmt VARCHAR,
    name VARCHAR,
    nexec NUMBER := 1,
    nrows NUMBER := 0,
    debug BOOLEAN := FALSE)
    IS
    -- Local variables
    curs INTEGER := null;
    rc INTEGER;
    nexec_it INTEGER := 0;
    nrows_it INTEGER;
    BEGIN
    dbms_application_info.set_module('DEMO', name);
    WHILE (nexec_it < nexec)
    LOOP
    curs := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
    rc := DBMS_SQL.EXECUTE(curs);
    nrows_it := 0;
    LOOP
    IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
    THEN
    EXIT;
    ELSE IF (debug = TRUE)
    THEN
    DBMS_OUTPUT.PUT_LINE(nrows_it);
    END IF;
    END IF;
    nrows_it := nrows_it + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR(curs);
    nexec_it := nexec_it + 1;
    END LOOP;
    dbms_application_info.set_module(null, null);
    END fetch_n_rows;
    show errors
    # Start the workload
    . ./start_workload.sh > /tmp/setup_perflab.log 2>&1
    # Wait two minutes for workload to get going
    sleep 120
    # Modify snapshot interval
    sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
    connect / as sysdba
    set head on
    set feedback on;
    set pagesize 40
    rem -- event to allow setting very short Flushing interval
    alter session set events '13508 trace name context forever, level 1';
    rem -- change INTERVAL setting to 2 minutes
    rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
    execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
    retention => 360);
    EOF
    Note : start_workload.sh is also in the same directory..
    Any help would be greatly appreciated.

    Please put your script between "code" format delimiters.
    http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
    You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line.

  • TtDaemonAdmin :Command not found    ??

    Hi Guys,
    i am very new to times_ten.Just installed it on unix.
    when i do ttDaemonAdmin, it says command not found
    when i went inside the start_up folder and ran the "tt_times_7" startup script.
    it telsl me that Daemon is running
    Just want to know, if timesten is running then why i am unbale to run ttDaemonAdmin?
    Is there any configuration reqd after installation?

    Thanks Chris,
    Actually i compiled my code on machine1 under user abc.
    the TimesTen was installed on machine1 under user xyz.
    During compilation i gave the path of Timesten LIB and include.
    Now i want to run this code on machine2, under user abc (This is the machine we use for testing and has env similar to our client), whereas machine1 is teh development machine.
    what i did , is i installed the timesten server/client on machine 2.
    Compiled code on machine1.
    now FTP'ed the exe from machine1 to machine2.
    Now when i try to run the process on machine2, it gives the follwoing error
    0509-150 Dependent module libttenD.a could not be loaded.
    0509-022 Cannot load module libttenD.a.
    0509-026 System error: A file or directory in the path name does not exist.
    on echoing the LD_LIBRARY_PATH it gives
    /disk1/users/oracle/product/10.2/lib:/usr/lib:
    whereas the Times Ten LIB is at the following path:
    /disk1/users/timest7/TimesTen/times_7/lib
    Do i need to add this path to the PATH env?

Maybe you are looking for