HOST not working on UNIX 9iAS

I am attempting to HOST a command out to the middle tier. When I try this in 9iDS, it works like expected (copy c:\temp\a.txt c:\temp\b.txt). However, when I push the form up to the unix box and attempt to run the same command on the server through the webforms (cp /home/foo/temp/a.txt /home/foo/temp/b.txt), it does not work.
Everything that I have read says that the HOST command runs the command on the middle tier (which is what I want), but something is not right. I have checked the UNIX permissions, tried running the command through a shell file [host('/home/foo/test_copy.sh')], calling it from a shell [host('sh /home/foo/test_copy.sh')] and anything else I can think off. A just will not copy to B. Any ideas on what might be wrong?
Steve "Stump and confused."

HOST are executed with permissions who had start Forms listener.
Check UNIX permissions. Named user can read sourse file and write into target directory. If target file exist then user can write it too.

Similar Messages

  • NVL in where clause not working with UNIX parameters

    Apparently this in a where clause does not work in UNIX scripts...
    .... and trans_date between to_date('&1','YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('&2','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    ERROR at line 14:
    ORA-01858: a non-numeric character was found where a numeric was expected
    How do I get around a null in UNIX? This works fine if both parameters are populated. Thanks.

    Jason ORCL wrote:
    Apparently this in a where clause does not work in UNIX scripts...
    .... and trans_date between to_date('&1','YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('&2','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    ERROR at line 14:
    ORA-01858: a non-numeric character was found where a numeric was expected
    How do I get around a null in UNIX? This works fine if both parameters are populated. Thanks.it's nothing to do with unix at all - your date value doesn't match the format mask that you've entered:
    '31-DEC-4712' doesn't map to 'YYYY/MM/DD HH24:MI:SS' in any universe unfortunately.

  • Af|navigationpane-tabs::tab:hover af|navigationpane-tabs::tab-link  not working in Unix or Linux operating system

    Hai,
    I have the requirement that my Adf Application should have same skins(prototype) when there are running on Windows or Unix or Linux OS. First lines in two cases are working fine in Windows or Unix orLinux operating system,but the Second lines in two cases are working only in Windows but not in Unix or Linux. I mean to say that the text-decoration,color,background-color etc set for hover attribute of line-2 in both cases are not working.
    Can anybody help me in solving this issue.
    Cases are as follows:
    Case:1
    Line-1: af|navigationPane-tabs::tab-link{text-decoration: none; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Line-2: af|navigationPane-tabs::tab-link:hover{text-decoration: underline; background-color: #6b5994; color: #6b5994; font-weight: 700; font-size: 12px;}.
    Case:2
    Line-1: af|navigationPane-tabs::tab:selected af|navigationPane-tabs::tab-link {text-decoration: none; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Line-2: af|navigationPane-tabs::tab:selected:hover af|navigationPane-tabs::tab-link {text-decoration: underline; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Regards
    G Naveen Kumar

    Hai Frank,
      First up all Thank you for giving response to my query.As you asked it is not a Client OS,it's a Server OS.As you told I have changed the code to font-weight: bold but still it's not working.Anyhow my major requirement  is to change the text-decoration,color.
    Would you please help me in solving that?
    Regards
    G Naveen Kumar

  • Maverick Local Host Not Working Correctly

    Hello,
    I recently upgraded to Maverick 10.9.2. Now my local host is working incorrectly? Now when I try to access one of my sites on my local machine, it just shows the php code and not loading the pages? I also restored httpd.conf~previous to httpd.conf, and still the same issue?
    Also
    * Web sharing is on
    *PHP is enabled
    *Mysql is running
    Did I mis something?
    Thanks JR

    Hello,
    I recently upgraded to Maverick 10.9.2. Now my local host is working incorrectly? Now when I try to access one of my sites on my local machine, it just shows the php code and not loading the pages? I also restored httpd.conf~previous to httpd.conf, and still the same issue?
    Also
    * Web sharing is on
    *PHP is enabled
    *Mysql is running
    Did I mis something?
    Thanks JR

  • JQuery.js not working in UNIX environment

    Hi All,
    My development environment is Linux with Apache and we are using Coldfusion 9.
    We have developed some part of our code using jQuery.
    This is perfectly working in our DEV environment.
    We shipped the same code to the Production Environment. Which is Coldfusion 5 and Unix Environment with Apache Server.
    The problem is the parameter passing to jQuery is always null.
    Is jQuery will not work in Coldfusion 5?
    Your help is needed.
    Thanks in advance!

    1. CF versions 9 and 5 and radically different.  I wouldn't expect code written for CF9 to run on CF5.
    2. CF runs on the server, jQuery runs in the brower, the version of CF on your server shouldn't be relavent.  You should look for the problem in the HTML, Javascript, CSS, etc. in the browser.
    3. We cannot help diagnose your problem without seeing the code that is causing the problem and any error messages you receive.
    4. If this is a issue with jQuery on the browser you might consider posting a question to a jQuery specific forum.

  • SetMnemonic not working in UNIX

    Hello,
    I'm tried to set a key mnemonic as follows:
    JButton close = new JButton("Close");
    close.setMnemonic(KeyEvent.VK_C);
    This piece of code works fine in NT but not in UNIX. I tried searching all queries in this forum. I haven't got any inputs ?? Any suggestions ??
    Sunil.

    Hi,
    This was the outcome of my research.
    I thought of running the app. directly on the Sun server instead of using Exceed emulator (client). I didn't see those warning messages and the mnemonics worked fine.
    To answer my question earlier, warning messages are directly related to the issue of mnemonics not working on the client machine.
    Still looking into why its not working from any client which uses Exceed.
    Thanks,
    Sunil.

  • Triggers not working in Oracle 9iAS

    The form triggers are not working in oracle 9i AS.
    My Application server has Linux operating system with oracle form/report server installed. I am able to upload the form
    in the client machine (using Internet Explorer Win98 OS). Also i can feed in the data but none of my triggers are working (WHEN BUTTON PRESSED and other validation triggers).
    Can anyone suggest what to do pls.
    Tnks in advance
    Rgds
    Manoj Philip
    [email protected]

    Well we've tested on Linux and the trigger do work - I remember two other postings on this forumn from prople with the same problem:
    Re: SQL Developer Necessities
    Re: About  EXPLAIN PLAN table
    In one case the problem was not re-compiling using f90genm.sh, in the other it was something to do with the Machine setup but I don't know what the final resolution was.
    The only other thing is to make sure that you are on a certified linux release for using with iAS e.g. Redhat Server 2.1 and Suse Enterprise server 7 and Untited Linux
    You can check the current certifications on Metalink.oracle.com

  • DPM 2012 Backing up a VM on Server 2012 Hyper-V CSV Host - Not Working with Hardware VSS

    Hi All,
    I'm trying to backup a VM on a 2012 Cluster. I can do it by using the system VSS provider, but when I try to use the hardware provider, (Dell equalogic) it doesn't work. DPM will sit for a while trying and then report a retryable VSS error. 
    The only error I'm seeing on the Host is the following:
    Event ID 12297Volume Shadow Copy Service error: The I/O writes cannot be flushed during the shadow copy creation period on volume \\?\Volume{3312155e-569a-42f3-ab3a-baff892a2681}\. The volume index in the shadow copy set is 0. Error details: Open[0x00000000, The operation completed successfully.
    ], Flush[0x80042313, The shadow copy provider timed out while flushing data to the volume being shadow copied. This is probably due to excessive activity on the volume. Try again later when the volume is not being used so heavily.
    ], Release[0x00000000, The operation completed successfully.
    ], OnRun[0x00000000, The operation completed successfully.
    Operation:
    Executing Asynchronous Operation
    Context:
    Current State: DoSnapshotSet
    I don't know where to go from here - There is no activity on the CSV (this is the only VM on it, and both the CSV and VM were created specifically for testing this issue
    Does anyone have any ideas? I'm desperate. 
    Update:
    Ok, so I can Take DPM out of the picture. Trying to do a snapshot from the Dell Auto-Snapshot manager, I get the same errors. But I also get a bit more information:
    Started at 3:02:47 PM
    Gathering Information...
    Phase 1: Checking pre-requisites... (3:02:47 PM)
    Phase 2: Initializing Smart Copy Operation (3:02:47 PM)
    Adding components from cluster node SB-BLADE01
    Adding components from cluster node SB-BLADE04
    Adding components from cluster node SB-BLADE02
    Retrieving writer information
    Phase 3: Adding Components and Volumes (3:02:52 PM)
    Adding components to the Smart Copy Set
    Adding volumes to the Smart Copy Set
    Phase 4: Creating Smart Copy (3:02:52 PM)
    Creating Smart Copy Set
    An error occurred:
    An error occurred during phase: Creating Smart Copy
    Exception from HRESULT: 0x80042313.
    Creating Smart Copy Set
    An error occurred:
    An error occurred during phase: Creating Smart Copy
    Exception from HRESULT: 0x80042313.
    An error occurred:
    Writer 'Microsoft Hyper-V VSS Writer' reported an error: 'VSS_WS_FAILED_AT_FREEZE'. Check the application component to verify it is in a valid state for the operation.
    An error occurred:
    One or more errors occurred during the operation. Check the detailed progress updates for details.
    An error occurred:
    Smart Copy creation failed.
    Source: Creating Smart Copy Set
    An error occurred:
    An error occurred during phase: Creating Smart Copy
    Exception from HRESULT: 0x80042313.
    An error occurred:
    Writer 'Microsoft Hyper-V VSS Writer' reported an error: 'VSS_WS_FAILED_AT_FREEZE'. Check the application component to verify it is in a valid state for the operation.
    An error occurred:
    One or more errors occurred during the operation. Check the detailed progress updates for details.
    Error: VSS can no longer flush I/O writes.
    Thanks,
    John

    I had a similar issue with an environment that had previously been working with the Dell HIT configured correctly. As we added a third node to the cluster I began seeing this problem.
    In my case I had the HIT volume max sessions per volume at 6 and maximum sessions per volume slice set to 2 and the CSV was using a LUN/Volume on the SAN that was split across 2 members.
    When the backup takes place and Dell HIT is configured to use SAN snapshots the vss-control iSCSI target is used which in my case exceeded my limits for maximum connections per volume as I'm using 2 paths per Hyper-V node with MPIO (this is my
    current theory).
    Once I'd modified these settings I could then back up the VHD's on that CSV again.
    Hope this helps.

  • AD Authentication Not Working From Unix

    I am implemeting sp3 for my custom built Java application where I am using AD authentication. I tested everything in Windows environment and is working fine but same code when running from UNIX server, it is throwing below error.
    KrbException: Identifier doesn't match expected value (906)
         at sun.security.krb5.internal.af.a(DashoA6275:134)
         at sun.security.krb5.internal.ae.a(DashoA6275:63)
         at sun.security.krb5.internal.ae.<init>(DashoA6275:58)
         at sun.security.krb5.KrbTgsRep.<init>(DashoA6275:49)
         at sun.security.krb5.KrbTgsReq.getReply(DashoA6275:222)
         at sun.security.krb5.internal.az.a(DashoA6275:299)
         at sun.security.krb5.internal.az.a(DashoA6275:111)
         at sun.security.krb5.Credentials.acquireServiceCreds(DashoA6275:495)
         at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:580)
         at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:213)
         at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)
         at com.crystaldecisions.sdk.plugin.authentication.secwinad.internal.e.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:320)
         at com.crystaldecisions.sdk.plugin.authentication.secwinad.internal.d.a(Unknown Source)
         at com.crystaldecisions.sdk.plugin.authentication.secwinad.internal.d.startLogin(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.l.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.framework.internal.d.logon(Unknown Source)
         at com.perceptive.ssi.bo.reportrequest.ReportRequestManagerImpl.getEnterpriseSession(ReportRequestManagerImpl.java:668)
    I did lots of google but no luck.
    My application is hosted on Tomcat 5.0 in Unix and SP3 BO environment is setup in Windows.
    Any help will be appreciated.

    Well, you can open a support case with SAP.
    But the recommendation I or another person in the SDK team would give you will be to deploy and configure Java InfoView on the same app server, and engage the authentication support team to get it working.
    Then copy the authentication config to your custom app.
    There's a reason why SAP BusinessObjects support has a specialized support group for authentication issues - it's better than banging my - or your - head against Kerberos config issues.
    Java InfoView will use the same framework as your custom app.
    Sincerely,
    Ted Ueda

  • Strikeout / Strikethrough not working in Unix (Reports 9i)

    I have a report which conditionally sets
    SRW.ATTR.STYLE := SRW.OVERSTRIKE_STYLE on some rows. This works fine in Windows, both in Preview and when outputting to a file as PDF.
    In the live environment, the report runs on a Sun box under Unix (it is regenerated from .rdf to .rep on the Unix box), outputting to a .pdf file. It works as it should except that there is no strikeout. I have found references to this being a known problem: does anyone have any workarounds (other than in Note 191307.1) or knowledge of when this might be fixed?

    Put a line across the field and conditionally suppress it.

  • Horizontal/Vertical Elasticity not working in UNIX using pdf as desformat

    Hi,
    I have developed a report in windows using Oracle 9iDS. For one of the fields, I have Horizontal Elasticity as 'Fixed' and Vertical Elasticity as 'Variable'. When I run the report in Reports Builder, the text wraps to next line properly. I don't have any problem if I run the report using application server in windows operating system. The pdf format of the output has correct formatting.
    But if the same report is run in unix operating system, the text is not wrapped to next line in pdf format. This problem exists only with pdf as destination format, the same report in unix using html as destination format works fine.
    Does anyone have any idea about this problem.
    Thanks in advance.

    It looks like the exact font set for this field is not available in the unix platform. A closest matching font will be used in this case, which may result in a different formatting for this field. Ensure that you have the correct font available in the unix platform.
    Incase, if you are using a postscript driver(PPD) as a default printer, ensure that the font entry is included in the PPD file and the AFM file for this font is available in $ORACLE_HOME/guicommon9/tk90/AFM directory. There are free third party utilities available to convert TTF files to AFM files.
    If you are using a PCL driver(HPD), then please ensure that the TFM file for this font is made available.
    You may use DEBUG_SLFIND to see what font is being picked up.
    Please refer to the Publishing Reports Manual:
    http://download-west.oracle.com/docs/cd/B10464_01/bi.904/b10314.pdf
    Chapter 4 - Managing Fonts and Chapter 6 - Using PDF.
    In particular, please refer to section 6.2: Resolving PDF Font Issues During Cross-Platform Deployment.
    Regards,
    Siva

  • Virtual host not working

    I have a web application running and accessible through url:
    http://internal.server.com:7777/admin/faces/pages/pwd.jspx
    Now, i'd like to access it through a gateway (OHS) through URL:
    http://mycompany.com/admin/faces/pages/pwd.jspx
    so, i setup virtual host:
    <VirtualHost *:443>
      #Public URLs only
      ServerName mycompany.com
      ProxyRequests Off
      ProxyPreserveHost On
      <Location /admin/faces/pages/pwd.jspx>
        ProxyPass http://internal.server.com:7777/admin/faces/pages/pwd.jspx
        ProxyPassReverse http://internal.server.com:7777/admin/faces/pages/pwd.jspx
      </Location>
    </VirtualHost>However, i'm not able to get it work since i got 404 page not found when I access http://mycompany.com/admin/faces/pages/pwd.jspx. the log shows it seems trying to access a local file instead of we application:
    File does not exist: /instance/CommonDomain_webtier/config/OHS/ohs1/htdocs/admin
    Is there anything I'm missing.
    Thanks

    hi Aacc,
    Open your hosts file windows location: C:\WINDOWS\system32\drivers\etc\hosts and linux location:/etc/hosts
    You need admin/root rights to make changes in this file
    172.30.0.12 mycompany.com mycompany
    before making any changes take a back up of the file httpd.conf
    Since i can see you tryin to hit the url,
    http://mycompany.com/admin/faces/pages/pwd.jspx
    you need default port 80
    Open httpd.conf file
    Change Port to 80
    Listen <your ip-address>:80
    NameVirtualHost *
    <VirtualHost *:80>
    ServerName mycompany.com
    </VirtualHost>
    After this Bounce the OHS,Also check whether port 80 is open in your machine and even no other application is listening to port 80
    Lookin at your default port number,I guess ur using OAS10g,if yes then below link will help you more
    http://avdeo.com/2008/04/22/configuring-virtual-host-oracle-as10g/
    Regards
    Fabian

  • Mnemonics not working in UNIX

    Hi,
    Mnemonics set to menus and buttons are working fine in Windows NT, but not in Solaris.
    Implementation goes like this:
    JButton new = new JButton("New");
    new.setMnemonic(KeyEvent.VK_N);
    Can anybody help me out in this ??
    sku.

    hi there, replied to your question, iam sorry i must have not seen it as i was away for a long time from the forum and when i came back i did not have much time to look back at some old posts, hope the solution curbs ur problem, enjoy :)
    asrar

  • MACSEC switch to host not working

    Hello,
    I am trying to implement macsec only for switch to host segment. I am following below document but still the user is not able to connect.
    http://www.cisco.com/c/en/us/support/docs/lan-switching/8021x/117277-config-anyconnect-00.html
    The only difference in the topology is below, i have two switches.
    Host<-------macsec------->Switch---->Switch---->ISE
    The host is repeatedly getting username/password prompts.
    Regards,
    Akhtar

    Do share the configuration policy and log detials

  • Upload to FTP host not working using SFTP

    I've tested and retested the FTP Server using SFTP on Transmit, works perfectly every time and won't work using Muse's Upload to FTP. Any ideas?

    Thanks Zak,
    I still have these questions:
    1. Why does Transmit, CyberDuck, and Filezilla all work just fine using SFTP with your Apple server ?
    2. Why does Muse have “no experience doing this on an Apple Server”, yet confident it should work ?
    3. Is the following what you are referring to?
    If so, it seems less secure, and I'm loath to reduce our security after having been hacked before. Why can't Muse work just like Dreamweaver and every other FTP client that I know of?
    Key-Based SSH Login 
    Key-based authentication is helpful for such tasks as automating file transfers and backups and for creating failover scripts because it allows computers to communicate without a user needing to enter a password.
    Important: Key-based authentication has risks. If the private key you generate becomes compromised, unauthorized users can access your computers. You must determine whether the advantages of key-based authentication are worth the risks.
    Generating a Key Pair for SSH
    The following outlines the process of setting up key-based SSH login on Mac OS X
    and Mac OS X Server. To set up key-based SSH, you must generate the keys the two
    computers will use to establish and validate the identity of each other.
    This doesn’t authorize all users of the computer to have SSH access.
    Keys must be generated for each user account.
    To do this, run the following commands in Terminal:
    1. Verify that an .ssh folder exists in your home folder: ls -ld ~/.ssh
    If .ssh is listed in the output, move to step 2.
    If .ssh is not listed in the output,run: mkdir ~/.ssh and continue to step 2.
    2. Change directories in the shell to the hidden .ssh directory with the following command:
    cd ~/.ssh
    3. Generate the public and private keys by entering the following command:
    ssh-keygen -b 1024 -t rsa -f id_rsa -P ''
    -b flag sets the length of the keys to 1,024-bits
    -t indicates to use the RSA hashing algorithm
    -f sets the file name as id_rsa
    -P followed by two single-quote marks sets the private key password to be null.
    The null private key password allows for automated SSH connections.
    Keys are equivalent to passwords so you should keep them private and protected.
    4. Copy the public key into the authorized key file by entering the following command:
    cat id_rsa.pub >> authorized_keys2
    5. Change the permissions of the private key by entering the following command:
    chmod go-rwx ~/.ssh/.id_rsa
    Set the permissions on the private key so the file can only be changed by the owner.
    6. Copy the public key and the authorized key lists to the specified user’s home folder on
    the remote computer by entering the following command:
    scp authorized_keys2 username@remotemachine:~/.ssh/
    - To establish two-way communication between servers, repeat this process on the second computer.
    - The process must be repeated for each user that needs to open key-based SSH sessions.
    - The root user is not excluded from this requirement.
    - The home folder for the root user on Mac OS X Server is located at /var/root/.
    Key-Based SSH with Scripting Sample
    The following Perl script is a trivial scripting example that should not be implemented, but it demonstrates connecting over an SSH tunnel to all servers defined in the variable serverList, running softwareupdate, installing available updates, and restarting the computer if necessary.
    The script assumes that key-based SSH was set up for the root user on all servers to be updated.
    #!/usr/bin/perl
    # \@ is the escape sequence for the "@" symbol.
    my @serverList = ('root\@exampleserver1.example.com',
    'root\@exampleserver2.example.com');
    foreach $server (@serverList) {
    open SBUFF, "ssh $server -x -o batchmode=yes 'softwareupdate -i -a' |";
    while(<SBUFF>) {
    my $flag = 0;
    chop($_);
    #check for restart text in $_
    my $match = "Please restart immediately";
    $count = @{[$_ =~ /$match/g]};
    if($count > 0) {
    $flag = 1;
    close SBUFF;
    if($flag == 1) {
    "ssh $server -x -o batchmode=yes shutdown -r now"

Maybe you are looking for

  • Help in pnp ce

    hallow i use pnpce (new logic database) and i wont to do in period that the <b>default</b> was <b>all</b> not today how can i change that? regards

  • Adding several standard segments in Outbound IDoc

    Hi All, I have a requirement in Orders05 Idoc type (Extension created). I want to pass Segment E1EDP19 three times based on the value of qualifier (3 qualifiers) in  the customer exit. As per my understanding, Loop at idoc_data is used when updating

  • Need help on upconverting interlaced to progressive

    Well I've searched and read as many related threads as I could find, I've also search the web and read a bunch of articles, but I still don't quite feel I understand nor have an simple answer and hope someone here can enlighten me. And yes, I'm a new

  • Can Audible Library contents be downloaded directly to iPads?

    Can Audible Library contents be downloaded directly to the iPad without going through iTunes?  My PC cannot to open the iTunes Store.  Webkit.dll is missing and iTunes shutsdown when I click to open the iTunes Store. 

  • HT5312 In answering security questions part

    There's no such thing as "Forget your answers?" What should I click then?