Command line call of sqlplus with system-privileges

Hello,
I have the following problem: I like to run a sqlplus-command on sun-solaris with a 8.1.7 database which needs system-privileges. It works with every other user. When I use system I'll get an ORA-01017 (Invalid username/password).
When I start this from DOS-Client it works, but I must run it from sun-solaris.
Has anyone an idea?
Thanks!!!
Andreas Orth

how are you connecting to the sun box from dos
like this?
connect system/manager@remote_db
are you sure you have connected to the correct database?
try select name from v$database after you have connected.
do you have more than one instance on the sun box? have you st SID and HOME
correctly to point you to the correct instance? If you can connect with another user
from the sun box again verify that you are connected to the correct instance
with select name from v$database
steve

Similar Messages

  • Hide oracle password on Unix command line call?

    Does anyone know whether you can hide the password for a command line call to rwrun60 under Unix? For other Oracle products like sqlplus you can hide the password by supplying it using the redirection operator. i.e. sqlplus userid @script <<EOD and then put the password or password@sid on the next line and then EOD on the 3rd line to end the redirection. This virtually hides the password from anyone able to look at processes on the system. Can this also be done for rwrun60? If you just put the userid after userid= will reports prompt you for a password?

    Take a look at http://java.sun.com/features/2002/09/pword_mask.html.
    Hope this helps,

  • Command line calling

    Hello everyone,
    I am a PhD student in Stockholm, studying VoIP technology. I am in the middle of writing my dissertation, about command line calling.
    As I'm doing my researches, I've already found some very interesting research material, such as this page:
    XxXwww.voip-sip-sdk.com/p_251-how-to-use-the-command-line-caller-example-with-ozeki-voip-sip-sdk-voipXxX (cancel the X-s)
    It would be great to find someone to discuss this program, or maybe a whole group, because it would really help me with moving on.
    Any advice is welcome!
    Thx
    gemma

    >> The problem is the how to call this loader command remotely from our file adapter OS command line.
    The below link might be helpful ...
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • File adapter OS command line - Calling a command remotely ??

    Hi,
    We have a scenario where in which receiver file adapter after putting a file on the FTP  , a subsequent XML loader needs to be called which would load data into the client legacy ERP system.
    There seems to be some idea about doing it through file adapter OS command line.
    The problem is the how to call this loader command remotely from our file adapter OS command line.
    Any help would be appreciated ???

    >> The problem is the how to call this loader command remotely from our file adapter OS command line.
    The below link might be helpful ...
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • Command line won't work with ProcessBuilder

    Hi,
    I am trying to run the following command line from the ProcessBuilder:
    java -cp .\dist\ReflexionTest.jar ReflexionTest.Main2but I always get a
    CreateProcess error=2, the specified file cannot be foundYet, when I run the code from a DOS window, it works fine. I have made sure that both commands are started from the same directory.
    Anybody knows what is happening? How can I solve this?
    Thanks,
    J.

    I am using the second constructor.
    Here is the code for class Main1:
    package ReflexionTest;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStreamReader;
    public class Main1 {
        public static void main(String[] args) {
            System.out.println("Starting Main1");
            System.out.println("Main1 USER DIR = " + System.getProperty("user.dir"));
            ProcessBuilder MyPB = new ProcessBuilder("java -cp " + "ReflexionTest.jar" + " " + Main2.class.getName());
             File TempDir = new File(System.getProperty("user.dir") + File.separator);
             MyPB.directory(TempDir);
            Process TheProcess = null;
            try {
                System.out.println("Starting Main2 process\n");
                TheProcess = MyPB.start();
                System.out.println("\nExit value = " + TheProcess.exitValue() + "\n");
            } catch (IOException ex) {
                System.err.println(ex.toString());
    }And here it is for class Main2:
    package ReflexionTest;
    public class Main2 {
        public static void main(String[] args) {
            System.out.println("Main2 started !!!");
    }Both classes are in the same Netbeans project. Main1 tries to call Main2 from the ReflexionTest.jar itself. I have manually copied the ReflexionTest.jar file in the user dir file.
    Thanks,
    J.

  • Compiling command line utilities for Linux with static libc

    Hi,
    The following command used to compile and link BerkeleyDB with both static libdb and static libc:
    make clean
    env LDFLAGS=-static ../dist/configure --disable-shared
    make
    Now the command only statically links libdb and not libc.
    [root@fedora8 ~]# ldd /usr/local/BerkeleyDB.5.3/bin/db_dump
    linux-gate.so.1 => (0x00110000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00c15000)
    libc.so.6 => /lib/libc.so.6 (0x00a88000)
    /lib/ld-linux.so.2 (0x00a69000)
    [root@fedora8 ~]#
    It appears that the link of the command line utilities has now been moved into "make install".
    Can anyone suggest how to also force a static link of libc?

    The command line utils are in /opt/novell/ncl/bin. There are man pages for
    them to describe how they work. If you run "ncl_man" it will list all the
    NCL man pages.
    >>> On 9/1/2006 at 8:42 AM, in message
    <[email protected]> , Joseph
    Marton<[email protected]> wrote:
    > Are there any command-line utilities for the 1.2 client? I'm thinking
    > what if my X gets hosed and I want to access my server. It'd be nice to
    > be able to still login and map drives. Granted there's always
    > samba/CIFS,
    > but if I have a working Novell Client installation and my X just fails
    > for
    > some reason it'd be nice to still utilize the Novell Client.
    >
    > Joe

  • MS SSIS command line call "Argument for option 'set' is not valid"

    Hi all,
    I'm tring to execute a SSIS package from command line. Here's the code:
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value];20150314
    and it return a error saying  "Argument for option 'set' is not valid". I've configure the package and generated a XML file. And do exactly as the official doc says. However, this line of code just doesn't work. If I delete the set option
    and run the package alone, it can be ran. So anyone can help me out? Thank you in advance.

    Hi NoahdeArk,
    In SQL Server Integration Services, string literals must be enclosed in quotation marks. The expression language provides a set of escape sequences for commonly escaped characters such as nonprinting characters and quotation marks. A string literal consists
    of zero or more characters surrounded by quotation marks. If a string contains quotation marks, these must be escaped in order for the expression to parse. For more details, please see:
    https://msdn.microsoft.com/en-us/library/ms141001.aspx
    So to troubleshoot this issue, please refer to the following command:
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value]; \"20150314\"
    Or
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value]; \""20150314"\"
    The following similar threads are for your references:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/af4f62e1-b600-49d7-98c2-4a35c9fef404/escape-character-for-set-option-of-dtexec
    http://stackoverflow.com/questions/9612471/dtexec-error-setting-multiple-variables
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • App fails to compile with mxmlc command-line but builds fine with flash builder IDE.

    Hi,
    i have this flex app (its a flex project created from flash builder ), it compiles fine when i build it from IDE.
    it fails to compile when i do it from command line through mxmlc.
    i am invoking the mxmlc at the location <flash-builder-installation>\sdks\<flex-ver>\bin\
    the mxml file is test.mxml
    i am invoking like the following
    c:\<bin>\mxmlc test.mxml
    i dont have any dependency on any of custom swc file.
    i am getting the following type errors when i compile it from my .as file
    Error: Type was not found or was not a compile-time constant: TouchEvent
    Error: Type was not found or was not a compile-time constant: File.
    Error: Type was not found or was not a compile-time constant: FileStream
    could you please let me know what i am missing here ?
    thanks,

    Is this a AIR app or a mobile app? If you are building AIR app for desktop then you can use amxmlc instead of mxmlc.
    If its a mobile app then use mxmlc +configname=airmobile
    -Gaurav
    http://www.gauravj.com/blog

  • SQL*Loader command line call with spaces in path

    I need to call a remote control file and am attempting this:
    sqlldr USER/password@SERVER \\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctlIt keeps telling me the file cannot be found, but it is there! How should I write this so it can find the file?
    Thank you so much!

    Wrap your path name in single quotes
    sqlldr USER/password@SERVER '\\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctl'Regards,
    Phiri

  • Why I get an error when I call Snipping Tool with System Exec?

    Hi to everyone, I want to call Snipping Tool from LabVIEW using the System Exec VI, but I always get an error 2; this not happen when I call another executables like calculator or paint; I hope someone can help me or tell me why this error occurs.
    Thanks in advance, I have attached a couple of images of the VI that I have done so far.
    Solved!
    Go to Solution.
    Attachments:
    block diagram.PNG ‏11 KB

    Hey there ;
    I am guessing you are using the command: SnippingTool or SnippingTool.exe, just as you would use mspaint; but it is giving you Error 2; this is a Windows Issue more than a LabVIEW one, ,you can try using command:
    C:\Windows\Sysnative\snippingtool.exe;
    it worked for me; i found this info in the KB below.
    Command Not Recognized When Using System Exec VI
    Good luck

  • Command line render "-reuse" flag with multiple copies of afterFx.exe

    The question is, can i use "-reuse" flag to start rendering with more than one copy of afterFx.exe ?
    //OS Windows 7
    If i start
    aerender.exe -project c:\projects\project_1.aep
    I have to wait about 15 seconds until the After is started and only then start rendering.
    But I can start the After in advance.
    Start
    aerender.exe -project c:\projects\project_1.aep -reuse
    And then render will begin immediately.
    Unfortunately one copy of After effects does not use the power of my computer at 100%. // I need about 5 copies.
    So I tried:
    Execute in command promt:
    AfterFx.exe -m -noui
    AfterFx.exe -m -noui
    AfterFx.exe -m -noui
    Then execute:
    aerender.exe -project c:\projects\project_1.aep -reuse
    aerender.exe -project c:\projects\project_1.aep -reuse
    aerender.exe -project c:\projects\project_1.aep -reuse
    But only the first copy of AfterFx was used. The following two commands of aerender  have launched a new copies of AfterFx.
    Any ideas?
    P.S. I know about the "-mp" flag, it is not a solution.

    I know on the mac side you can send a system command to have "aerender" launch a render in Terminal. Same as Lloyd's BGRenderer script, without all the nice features of course. If you are rendering an image sequence, you can launch a render multiple times and it will begin to use more of the available resources, skipping frames already in process by the other processes. It will take a toll on your computer if you launch too many at once, but I've had at least three or four of these going for one render before.
    The system command is (OS X based):
    /Applications/Adobe\ After\ Effects\ CS6/aerender -project /Volumes/Projects/Lazarus/Project\ Files/AE_Projects/Shots/023_010A1/AE_Projects/023_010A1.aep -sound "on"
    BREAKDOWN
    Path to aerender (spaces are escaped with a backslash):
         /Applications/Adobe\ After\ Effects\ CS6/aerender
    Project flag and then path to aep file:
         -project /Desktop/myShotToRender.aep
    Sound flag to have it "ding" on completion:
         -sound "on"

  • How to install firefox 36.0 silently thorugh command line? I tried with -ms switch but still it prompts the user. Please help

    I have been using these commands to push Mozilla to client computers and it worked fine so far however now it is not working.
    I treid following command however it prompts the user to install/upgrade instead of installing silently.
    "Firefox Setup Stub 36.0.exe" -ms /qn /norestart
    Please help!!!

    Hi vparmar,
    We recommend installing Firefox in a traditional way to avoid any further problems or conflict with the system. [[How to download and install Firefox on Windows]]
    Thank you.

  • Host OS command line call from dbs procedure

    Hi
    I am using Win2000 server and 8i, I want to execute a host os command in the middle of a database procedure but do not know how.
    I did a search here and did not find anything.
    Any help greatfully received.
    cheers
    Tony

    You just did search hard enough :)
    Host commands

  • SSIS - How to run command line to copy files with User Variables within a Execute Process Task

    Hello,
    I'm am having syntax issues within the Arguments when trying to copy a file with cmd.exe using User Variables.
    It works when I hard code the arguments : /c copy /b  "\\folder1\file.txt" "\\folder2\file.txt"
    However, it's failing when I try using User Variables to replace the directory and file.
    User::FILES = \\folder1\file.txt
    User::FILE_NAME = file.txt
    "/c copy /b + @[User::FILES] + \" \\\\folder2\\" + @[User::FILE_NAME]"
    Does anybody know what's wrong with my syntax?
    Thanks!

    Hi SSISBeginner,
    Assuming the source file is "C:\Temp\Source\file.txt", the destination folder is "C:\Temp\Destination", the expression of FILES variable is "C:\Temp\Source\file.txt", and the expression of FILE_NAME variable is file.txt. Then, we can use the following
    expression for the Argument property of the Execute Process Task:
    "/C COPY /B "  +  @[User::FILES] + " C:\\Temp\\Destination\\" +   @[User::FILE_NAME]
    Note: Pay attention to the spaces in the double quotes in the expression.
    Regards,
    Mike Yin
    TechNet Community Support

  • Package command line app with AIR app

    Forgive me if I seem completely dense, but I've been googling and forum finding and hair pulling all day on this.
    I wrote a command line application and I call it from my air application.  It all works just fine, but right now the location of the command line application is hard coded.  I want to know:
    1) What is the actionscript that allows me to refer my nativeProcess call to a an application that is packaged with the air app when I export?
    2) Where do I place the command line application in the file system of flash builder to bundle it with everything when I export?
    I realize it'll be different for mac and windows, but I need to do both.  I'm starting with the mac.  Right now as far as I know I can put the command line app in the source folder and that all ends up in the .app/contents/resources folder, but I'm not exactly sure how to reference that in actionscript or if I can or if I should?  I don't know.  Clue me in?

    Can you not use File.applicationDirectory.url as a base?

Maybe you are looking for

  • How to modify standerd query in sap...(/SAPQUERY/AM07)

    hi all, i am having one abap standard query, i have to modify that one and i have to include another colum which needs the requirment. 07 Depreciation /SAPQUERY/AM07 ADA FIAA - DEPRECIATION the above i mentioned is the query, how ever i tryed this st

  • Question about online P/c cleaners

    Hi I have a few virus  stuck in my computer  constantly getting error message  that I am timed out or  page does not support this and that  some emails show the error icon all the time, so was really hoping I could find a good safe product , and avas

  • U/tube videos open when using Safari but will not open when using Firefox.

    u/tube videos open fine when using Safari but will not open when using Firefox. With Firefox I get the unhighlighted Quicktime symbol with a question mark in the center. WHY?? Any help appreciated --- Toroya

  • Icloud control panel w Windows 8

    I have a new pc laptop with windows 8.  Downloading icloud control panel, to sync w iphone and ipad mini, download message says I need Windows Vista w service pack 2 or Windows 7.  Can I use Windows 8, or do I need an update, or something before sync

  • Problem restoring iPod touch 5

    I am trying to restore my son's iPod touch 5 and am seeing the "To allow access, please respond on your iPod touch" message on the computer, and the "connect to iTunes" message on the iPod at the same time.  What am I supposed to be responding to?  N