Host command is not working on linux

Hi
I m using linux for application server n windows for client. I need to create folder from client machine by cliking a button of forms10g runtime.HOST command is not working which was working fine in windows.
Any help is appriciateable.
kazi mokarem

Hi
I had the same issue on linux a few weeks back. What tuned out was, when you install the Oracle app svr it does not include the system paths by default.
The path where mkdir is located may not be visible to the app.
Try to hardcode the path for mkdir as /bin/mkdir .... and seee if that works.
If the above statement works then add that path in the paths variable in default.env file located in $ORACLE_HOME/forms/server directory
HTH
Arvind

Similar Messages

  • Sqlpuls command is not working at Linux

    Hi,
    Oracle 11g has been installed successfully at Linux. Please find below output that I got after executing ‘uname –a ‘ command:
    Linux <server_name> 2.6.9-89.0.25.ELsmp #1 SMP Mon Apr 19 06:05:15 EDT 2010 i686 athlon i386 GNU/Linux
    $ORACLE_HOME is also set properly.
    But when I am executing sqlpuls command, it is getting hung, not asking for user id & password prompt
    $ sqlplus
    $ sqlplus / as sysdba
    Could you please throw some lights on this?
    Regards,
    Amitava

    Check if the PATH is set properly. In the documentation, you can see how to set it.
    If it still doesn't work, try running it directly from its directory:
    1 cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
    2 ./sqlplus

  • HOST command does not seem to work in deployment system

    I am developing forms software for a SUSE Linux system, but the HOST command does not seem to operate correctly when used in conjunction with Application Server.
    All I am trying to do is launch Adobe Acrobat reader as a background job using the command :-
    HOST('/opt/Adobe/Reader8/bin/acroread &');
    but nothing seems to happen.
    If I enter the command :-
    */opt/Adobe/Reader8/bin/acroread &*
    directly from a shell window (using the same login account) the command works correctly.
    I have tried other commands e.g. directory listings etc and all seem to have the same problem.
    Furthermore when the same form is run from the development environment using "Internet Developer Suite" it operates correctly with no problems.
    I am running on a deployment system where all three tiers of oracle are on the same machine (i.e. Database, AS and web front end).
    Can anybody suggest any possible causes or anything I can try to help resolve this problem ?

    brian_a_j wrote:
    Although I still dont understand why HOST would not work given my configuration (the Application Server and Web Browser operate on the same machine).One little test, put the execution command in a shell script and try to execute the script with the HOST command instead of the command itself.
    Using HOST the script will be executed on the AS machine no matter from where it is executed.
    Tony

  • Why my RMI is not Working in Linux???

    Hiii how ru?
    I am Rahul here
    Well I have a problem that my RMI in not working on Linux.. so can u tell me the solution to my problem???
    When i am typing following command i am getting exception as RmiNotBoundException
    java -Djava.security.policy=my.policy ChaClient&
    however my Server is Starting normally but client is not connection to server.
    so please tell me the solution to this problem
    U can contact me at
    [email protected]
    [email protected]
    Thank u Very much...

    i ran into the same issue dealing with RMI and Linux. My issue was the the stub that linux was giving you gave in the host field the ip number of "127.0.0.1" which tried to make the client connect to itself. this is how i got around it:
    java -Djava.rmi.server.hostname=<ip that other clients will connect to>
    so, for instance, if on a client you connect to the server with an IP of 10.5.0.1, then when starting up the java vm, you start it
    java -Djava.rmi.server.hostname=10.5.0.1
    hopefully that helps

  • Forms HOST command no longer works after database upgrade from 10g to 11g

    Hi,
    After upgrading the database 10g to 11g the forms HOST command no longer works on Unix server. The form used to work fine prior the upgrade. I read all the threads I could find and did not see any solutions. Adding PATH and LD_LIBRARY_PATH does not work because it does not even run a basic shell script. (I saw this solution, adding PATH and LD_LIBRARY_PATH, in many questions / threads).
    1. I wouldn't expect the database upgrade to be an issue, but it is the only change we had.
    2. Note, 11g is Oracle Fusion Middleware which is quite a bit different than 10g.
    I even tried the most basic commands like "echo" which is a build-in Unix command and there is no directory for it (ie. no /usr/bin - so variable PATH is irrelvent). i.e HOST('echo hi'); and HOST('echo "hi" '); and even HOST ('echo hi > /my_file.txt'); all returns FORMS_FAILURE (actually the if is IF FORM_SUCCESS THEN ... else ... and the else part always runs now - whereas it didn't before.).
    Or basic commands like /usr/bin/ls as in HOST(/usr/bin/ls). At that point I was just testing the Unix command would return FORM_SUCCESS even though I could not see the results (because they weren't writing to a log file). Notice that I'm using the direct path /usr/bin so no Unix environment variables were needed.
    The form does use webutil but that part works. For example, we have webutil_file_transfer( ....) The file shows up on the application server and in the expected directory.
    Here's the main goal. Upload a file from clients local PC to the datebase server. The form uploads the file to the Application server, then we have a Unix script to scp (secure copy) the file from the application server to the database server. IF webutil, or any other Oracle functions could put the file on the database server that would be better. But, I don't know of any procedures that do that - or would have done it cleanly (i.e. storing to database and write back to server and then using a blob etc. )
    Anyway, I was hoping someone would help with either of these.
    1) Get the HOST command to work. - If we can get that to work then I wouldn't need any more help. We can just call the already existing Unix script to copy the file from the application server to the database.
    2) OR be able to upload directly to the database server - wanted to do that originally
    Any help would be appreciated

    Solution for those interested and for anyone else searching this forum for a solution
    I found this on My Oracle Support:
    <h3>Host Command from Forms Not Working in 11g in Sun Solaris Sparc OS [ID 1157346.1]</h3>
    Applies To: Oracle Forms - Version 11.1.1.1.0 and later
    Sun SPARC Sun OS
    Symptoms:
    When trying to execute a Shell script or any OS command using the host() Built-in from Forms 11g, the host()command is not getting executed. The same functionality works on other operating systems and in previous versions like 10gR2.
    Steps to be followed:
    1) Take a backup and edit the $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config/default.env or any custom environment file.
    2) Locate the following environment variable:
    LD_PRELOAD=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    3) Comment out this variable. After the changes, it will look like the following:
    #LD_PRELOAD=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    3) a) Instead of LD_PRELOAD, kindly use LD_PRELOAD_64 as given below :
    LD_PRELOAD_64=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    (This makes HOST AND RUN_REPORT_OBJECT work fine).
    4) Save the file and execute your forms. The Host() built-in will work as expected
    The LD_PRELOAD setting in default.env is only required for the working of signal chaining facility in JVM version 1.5 and later. If you are not using theSignal chaining facility, this variable is not required. For more information, refer to the following documentation
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14772/forms.htm#CJAJGAFF

  • Groupadd command is not working

    I am trying to add a group called dba to install oracle 9iR2 on Redhat linux 9.
    but, it keep giving me a error says:
    bash:command groupadd is not found
    It seems other unix commands are working fine except gropudadd and useradd command.
    Can anyone tell me why the groupadd command is not working? and what should i do to fix this problem?
    Thanks
    Jung

    here you have all steps that you have to carry out to install Oracle on Linux ( In this case this document is based on Oracle9i on RH9 )
    http://linux.oreillynet.com/lpt/a/4141
    Installing Oracle 9iR2 on Red Hat 9
    by Roko Roic
    09/04/2003
    There are an ever-growing number of reasons to run the Oracle database server on a Linux-based OS. The price factor is obvious, as OS licenses can really boost the total price of your multiple workstation or clustered (RAC) server installation. Then there's the stability factor, the possibility of total remote administration, the availability of platform source code, speed, flexible filesystem, the strong Unix legacy .... Heck, even Oracle itself runs its business on what they like to call Unbreakable Linux.
    Red Hat's latest and greatest Linux distribution release comes with quite a few improvements, many of which are targeted at the needs of the workstation user. As new hardware owners become early adopters, this OS will surely dominate Linux developers' workstations in the months to come. Support for cutting-edge hardware and software technologies, easier maintenance via graphical configuration tools, polished office and productivity applications, a unified interface, development tools, and, of course, Red Hat's reputation will also make it the OS of choice for many Oracle developers. Unfortunately, unless the current version was certified, Oracle installation hardly ever ran smoothly on Red Hat Linux. Still, where there's a will, there's always a way. With a little help from this article, you will have your Oracle 9iR2 server running in no time on your new Red Hat 9 box. Let us begin.
    Adding Users and Groups
    First, you will need to create the Oracle installation and users and groups. Oracle installation needs two Unix user groups and one runtime Oracle user.
    Log in as root and issue the following commands in a terminal:
    [root@miniroko]# groupadd dba
    [root@miniroko]# groupadd oinstall
    [root@miniroko]# useradd -g oinstall -G dba oracle
    [root@miniroko]# passwd oracle
    The last command will prompt you to enter the password for your oracle user. Make sure you remember it, because you will probably need it as we go along.
    Joel P�rez

  • Wireless not working in linux, but works fine in windows vista

    Hello!
    I have installed Unbreakable Enterprise Linux 4 in a dual boot config. with Window Vista on a Compaq Presario laptop. After install completed I found that my on board Broadcom Wireless Adapter (Dell 1390 Mini PC card) was not recognized. I have tried installing NDISwrapper versions 1.48 and later 1.47 (after uninstalling 1.48) because everytime I got to the "modprobe ndiswrapper" received a fatal error about an unknown symbol or parameter, and on install I also encountered a "CONFIG_4KSTACKS" error as well. The good part is the light on my laptop for the wireless adapter finally came on and the driver (bcmwl5.inf) appears to be installed and the wireless adapter identified as being present, but it still doesn't show up in the network manager gui interface. So I am out of ideas if any one can give me a suggestion for a solution I would appreciate it.

    Hi there,,,,,
    I have Oracle Enterprise Linux 5 installed and Intel wifi 5100 card installed on my laptop. Wireless card does not work in Linux it works fine with Vista, I have dual boot. I have downloaded and installed the microcode for the wireless card for Linux,,,it is now active but it does not take ip address from dhcp and nor does it connect when i supply manual ip. it does not even scan for any wireless network. I have WEP enabled on my wireless network. It just says disconnected.....
    Please help me.....i have been trying to get this thing work for 3 weeks.
    thanks.

  • External command is not working in File Receiver Adapter

    Hi,
       I have tried to copy the file which is mentioned in my File Adapter (Receiver) to 3 different folders thru OS command. The purpose is to save time. I have created one CC for Source(File) and one CC for target(File). After the target file is created, I want to copy this file in 3 folders. For this I have written one batch file in my system.
    File Name: copy1.bat
    @ECHO OFF
    COPY %1 C:\TEST1\arch_t1
    COPY %1 C:\TEST2\arch_t2 
    COPY %1 C:\TEST3\arch_t3
    DEL %1
    The command which I entered in the Receiver CC (File Adatper is)
    Run Operating System Command After Message Processing
    Command Line: C:\FILES\copy1.bat %F %f
    Timeout(secs): 60
    Terminate Program After Timeout - Check box is selected.
    But, this external command is not working. (because the target files are not created in those directories C:\TEST1, C:\TEST2, C:\TEST3)
       I did this scenario by refering the Michael'w weblog:
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
       In this blog, he has also given how to troubleshoot external command. I tried this also. It is not working.
        I use Windows XP OS. XI 3.0 SP 18.
       Friends, Could you kindly tell why this external command is not working? What could be the problem?
    Thanks in advance.
    Kind Regards,
    Jeg P.

    Hi, Jeg.
    As the note says, please check the java Runtime.exec behavior
    with the proper user.
    If in doubt, check if the command can be successfully run through
    the Java Runtime.exec(...) API. Also note that the command is run
    as user "<sid>adm" (Unix) / "SAPService<SID>" (Windows).
    So, Could you check the following(very dirty one!) Java in your
    XI server and check if it works? For simulating %F, create a test
    file C:\FILES\test.txt whatever the content is.
    import java.util.*;
    import java.io.*;
    public class ExecJava {
      public static void main(String args[]) {
        try {           
          Runtime rt = Runtime.getRuntime();
          Process proc = rt.exec("C:/FILES/copy1.bat C:
    FILES
    test.txt");
        } catch (Exception e) {
          e.printStackTrace();
    Good Luck.
    Sejoon

  • Why export audio to movie command not visible and detect cuts command is not working in 64bit mode?

    Does anyone know why export to audio disappear from menu in 64bit mode?
    Why detect cuts command is not working well in 64 bit mode?
    I tested on several machines (brand-new iMac, brand-new MacPro with 10.8 OS, MacPro with 10.6.8),and everythig wotks in 32 bit mode. As I switch to 64 bit mode detect cuts only put one marker at the begening of film.
    I also noticed that Firewire output option in 64bit mode is not avaible.
    Is there a certain film format that I have to use to make it work? I tried DV PAL, but I had ther same result.
    Thanks a lot.

    Hi
    Those functions are not available when Logic is running in 64bit mode
    http://support.apple.com/kb/TS3171
    CCT

  • 6120 classic:My voice commands do not work

    Please help.
    Don’t know if I'm just being stupid or there is something not right with my 6120c.
    My voice commands do not work.
    If I press the button for a voice command, it says that there are no voice tags saved.
    If I go into the voice command application (Which should create the voice tags on opening), I cant playback the voice tags, its give a 'voice system error' error message.
    Is there something that is not set up properly? In the voice command settings, the synthesizer is 'on'?
    Also, I don’t have voice tags on my contacts??
    I read somewhere that this is a firmware problem and the phone should be taken back to nokia. Is this the case?
    Somebody please help.

    I formated my nokia n6120 using the code *#7370#. It deletes !everything! (settings, aplications...), but I have no voice sytem error now.

  • Java command still not working - please help

    i have installed jdk1.6.0_05. The javac command works fine but the java command does not work at all. even when i try java HelloWorld i receive this exception message
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Caused by: java.lang.ClassNotFoundException: HelloWorld
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    please help (you to SUN)!!

    bart@kerberos:~$ javac -help
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemSee the bold part.
    More information: [http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html]

  • Command S not working in Dreamweaver CS6

    Command S not working in Dreamweaver CS6

    Every time I've run into an issue like this, clearing the cache file has repaired it...
    http://forums.adobe.com/thread/494811
    As long as it's not a system wide issue that is.

  • Webutil not working in linux

    Hi all,
    i have insert image using webutil(oracle forms 10g) to database in windows o.s. it was successful.
    but when i have tried it in solaries o.s. .
    It is not working in linux how to do it in solaries o.s.
    when i am clicking on the browse button it is showing pl/sql error how to solve it.
    please guide me ..

    HI Anderas,
    i am using using a demo form of webutil which is available on internet i.e WEBUTIL_DOCS.fmb
    which is working fine on windows sp2(when i am clicking on the browse button)
    but it is not working on linux when i am clicking on the browse button it is showing pl/sql error.
    code in browse butrton
    Declare
         LC$Fichier Varchar2(128 ) ;
    Begin
    LC$Fichier := PKG_FICHIERS.Selection ;
    If LC$Fichier is not null Then
    :TRANSFERTS.FIC_SOURCE := LC$Fichier ;
    End if ;
    End ;
    and the package is
    package specification
    ==================
    PACKAGE PKG_FICHIERS IS
    -- Sélection d'un fichier --
    FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' ) RETURN VARCHAR2 ;
    END;
    package body
    =============
    PACKAGE BODY PKG_FICHIERS IS
    -- Sélection d'un fichier --
    FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' )RETURN VARCHAR2
    IS
    LC$Path Varchar2(128) ;
    LC$Fichier Varchar2(256) ;
    LC$Filtre          Varchar2(100) := PC$Filtre ;
    Begin
         -- Répertoire temporaire --
         LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
    LC$Fichier := WEBUTIL_FILE.FILE_OPEN_DIALOG
         LC$Path,
         LC$Filtre,
         'Select a file to upload'
    Return LC$Fichier ;
    END Selection ;
    END;
    please reply..

  • Shift+command+b not working for bold

    I just updated to cs6 and my "bold" key command is not working. (shift+command+b on mac) I am using a font that has BOLD. I can select bold from the character palette and it works fine but the key command will not work. I checked my key command list and is there by default. It should work. It worked fine on cs5 for me. I even tried holding the fn key but no dice. Any ideas? I have to bold many many items so I can not possibly use the character palette....thanks.

    "Nope" the first word of my response, was to your question. It means No. Meaning "No I did not copy a custom set". I am using default set.
    I wonder if some other app has taken that kb shortcut. Nothing happens when I press it though....and I wouldnt know how to find out.
    edit - problem solved. Even though the font says that it has a bold face I guess that it does not. Bold still works fine for other fonts. Sorry for your time.
    Message was edited by: Emperor1212 - Problem solved.

  • Some commands are not working nor in illustrator nor photoshop, any advice better than Adobe?

    Illustrator is not fuctioning at 100%, some commands do not work ( eg - command open, nor place etc ) and same with photoshop....
    Any advice

    pcmyhre,
    You may try the list, possibly starting with item 7) in 5), which is a list of the usual suspects, which may disturb and confuse Illy so she fails to do even simple things.
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media, see below. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html
    External media: It is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky (for a while), but the chances of file corruption and other unpleasantnesses are immensely greater when you use anything but the harddisk, and it is better to be safe than sorry.
    In addition to the (far greater) risk of file corruption, some issues are mentioned here:
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

Maybe you are looking for

  • Recent graduated Control-Systems (embedded) enginneer, with experience in France/lebanon/Switzerland Looking for a Job With Labview

    I am currently recently graduated from the University of Technology in Belfort-Montbeliard (France).  Master’s grade of “Electrical and control systems engineering”. I am currently looking for a job in automation, control systems and electronic domai

  • Sender JDBC Problem

    Hi can any one hlp me.. My scenrio is JDBC is sender and file is Receiver. problem is JDBC adapter is hitting the SQL server and retrived the data and  Inbound message and Receivng Grouping Payload ..like this.. <?xml version="1.0" encoding="utf-8" ?

  • Copying Variants

    We have 2 SAP boxes one for development the other for production. There is a program say <b>PROGRAM1 on the production server</b> whose variants we want to copy to become the variants of another program say <b>PROGRAM2 on the development server</b>.

  • How to Change Database parameters as suggested by EWA report

    Dear Experts, As per EWA report , i have been asked to change several DB parameters as per note 0124361 . Should i go aghead and change the parameters ? What is the procedure of chaging those parameters? what is the real process that should be follow

  • SAP Business Objects and IBM i White Paper available

    The "SAP Business Objects and IBM i" White Paper is available on IBM Techdocs under the follwing URL: [http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101947] The SAP Business Objects and IBM i white paper describes how the SAP Business O