Run dpmon script from individual accounts....

I need to give access to execute dpmon from user account who sont have <sid>adm user authorization...
I am not sure to set the env variables.....or there is any give this permission .

Thnks for the response Markus,
I have added the below commands in user's .profile file and copied the .env_hostname.sh file in to the user
home directory.
PATH =/sapmnt/<SID>/exe
export PATH
LD_LIBRARY_PATH =/sapmnt/<SID>/exe
Export LD_LIBRARY_PATH
SAPSYSTEMNAME = <SID>
export SYSTEMNAME
But its not working and got error after login to the screen
.profile[6]: PATH:  not found.
.profile[9]: LD_LIBRARY_PATH:  not found.
.profile[10]: Export:  not found.
.profile[12]: SAPSYSTEMNAME:  not found.
[YOU HAVE NEW MAIL]
I tried to run dpmon from user account but its giving the below error:
DpMonInit failed - possibly no dispatcher running
DpMon: External/Internal dplib version: 109/232
If there is any way to set the add the above variables other thatn adding in .profile file / any other changes need to do for <sid>adm env ?.
Thanks,
Nag.

Similar Messages

  • IDCS5-win. Error while running a script from indesign(not via estk)

    Hi all,
    After running the script from indesign, I get following error
    ASSERT '(engine->getDebugFlags() & ScScript::kExtendedErrors) == ScScript::kExtendedErrors' in ..\..\..\source\components\script\javascript\JavaScriptRunner.cpp at line 412 failed.
    ..\..\..\source\components\script\javascript\JavaScriptRunner.cpp (412)
    any idea about this?
    The script runs fine when run from ES tool kit.
    Thanks

    Hi,
    My colleague found the problem. We were using extendables library and we still haven't figured out what was actually happening, but removing it solved the problem.

  • How to run a script from Oracle Form (Beside using HOST command)

    I would like to run a script from Forms 6.0. I know that we can actually issue this command :
    host('plus80.exe' username/password@connect_string @c:\scriptname);
    BUT, is there any other alternative ?

    Sqlplus is a different program, so one way or the other you have to leave Forms to run sqlplus. What is you objection against HOST?
    You can also run sqlplus from the database, but again you need a stored java procedure to call sqlplus (sort of HOST command that runs in the database).
    Francois' solution works if your script just has a query to run, but if you have specific sqlplus commands (spool etc.) forms_ddl is probably not a solution.

  • Running SQLPLUS script from command prompt on SUN

    We are making a migration from VMS to SUN ( SunOS 5.10) and from 9i to 10g. We have encountered an unanticipated problem with running scripts from the command line in SUN(SQLPLUS execution from the command line). All of our packages have a naming convention such as "DM$LOAD.PKB". I know it is a strange naming convention.
    The problem is that when the package creation script is run in SQLPLUS at the command prompt SQLPLUS can not open the file.
    SQL> @dm$load.pb
    SP2-0310: unable to open file "dm$load.pb"
    SQL> host ls
    dm$load.pkb
    SQL>
    Setting the escape character does not seem to help.
    SQL> set escape '\'
    SQL>
    SQL> @dm\$load.pb
    SP2-0310: unable to open file "dm$load.pb"
    SQL>
    Unfortunately, we can not rename the scripts. This can be done from a shell script, but our Tech Services refuse to run the SQL scripts from a shell script
    Any ideas on how to get SQLPLUS to run the scripts from the SUN command line?

    I did not notice that the cut and paste was poor. It should have read
    SQL> @dm$load.pkb
    SP2-0310: unable to open file "dm$load.pkb"
    SQL> host ls
    dm$load.pkb
    Any ideas will be greatly appreciated.

  • Running  sql scripts from different directory

    Hi
    I have sql scripts in different directories as follows:
    D:\myapp\sql
    - load.sql
    - init.sql
    D:\myapp\sql\schema
    -users.sql
    -structure.sql
    D:\myapp\sql\populate\
    - data1.sql
    - data2/sql
    load.sql call all the other scripts as below:
    @init.sql
    @schema\users.sql
    @schema\structure.sql
    @populate\data1.sql
    @populate\data2.sql
    All my scripts run correctly when I run load.sql from D:\myapp\sql on comand prompt.
    I need a way to run this script from a different directory say D:\ or C:\
    I am writing a installer which will execute from a different directory.
    Right now I get a file not found error for scripts within schema an populate folder.
    Please let me know how can I make this work from a different directory.
    Thanks
    kelvin

    Hi peter. i think you cannot run files spread across different locations.
    --the method which u specified always looks to the defined path                                                                                                                                                                                                                                                                                       

  • Valid sesion for run jython script from a plan

    If I run a cr_clij script i have to do
    app.execStr('udb.login -u user -p password') once and do not produce the login information anymore.
    It is possible to do the same with the sessionID, if I run the script from a plan on the BUI? Or do I have to add the '-s sessionID' option to all clui commands?
    Thanks

    Hi TemPart:
    string cmdArg = “C:\\Scripts\\test.ps1″;
    Runspace runspace = RunspaceFactory.CreateRunspace();
    runspace.Open();
    Pipeline pipeline = runspace.CreatePipeline();
    pipeline.Commands.AddScript(cmdArg);
    Collection [PSObject] results = pipeline.Invoke(); // please Update [] bracket with less then and greater then bracket
    runspace.Close();
    Had to modify this slightly:
    string cmdArg = “Powershell.exe -file C:\\Scripts\\test.ps1″;
    Runspace runspace = RunspaceFactory.CreateRunspace();
    runspace.Open();
    Pipeline pipeline = runspace.CreatePipeline();
    pipeline.Commands.AddScript(cmdArg);
    Collection [PSObject] results = pipeline.Invoke(); // please Update [] bracket with less then and greater then bracket
    runspace.Close();
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Run a script from a script

    Can anyone help me run a script from a script to kill an event listener?
    There is an event listener on save. The same script may be run multiple times before changing workflows (which require different sets of scripts).
    The eventual goal is to have a time stamp in a specific text frame that will already have content. The new stamp will overwrite the old, and only happen before close. Right now it's set for "on save" because I can't figure out an if else statement for "before close". I don't want to have to end the session to be able to work different job types. I need to be able to kill the event listener when exiting documents that create one.
    I'm throwing crap at the wall, hoping it will stick. I'm sure there's a better way to handle it. Anyone have ideas.
    CS3 & CS4 javascript
    Thanks

    Here's the kind of thing I use:
      function runShortRanges() {
        var shortRangesScript = File(getScriptPath().parent.parent + "/IndexExtras/ShortRanges.jsx");
        if (shortRangesScript.exists) {
          app.doScript(shortRangesScript);
    In this case, I want to run a particular script in a known location, only if it exists. It's a way of adding optional functionality to a script.
    Dave

  • HT4505 I have 4 accounts on my Mac Pro running Mavericks.  From one account I can scan with my Epson NX420, but the other three accounts do not see the scanner.  Can print from all accounts.

    Sorry, I was not given the option of posting to a Maverics community.  I have 4 accounts on my Mac Pro running Mavericks.  From one account I can scan with my Epson NX420, but the other three accounts do not see the scanner.  Can print from all accounts.

    Hi there Ira Fletcher,
    I would recommend taking a look at the troubleshooting steps found in the article below. Note: While the article was written for printer issues, many of the same troubleshooting steps apply to scanners as well.
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    -Griff W.

  • When I run my script from a shortcut ExtendScript is invoked, but it is not when I run it the menu

    I am using Photshop CS2 on Win XP
    I have configured a keyboard shortcut (Crtl+Alt+P) to run a .jsx file from the ...\Presets\Scripts\ folder.
    When I activate the script via the Keyboard Shortcut ExtendScript is invoked, and breaks execution on the main() statement (see below).
    When I activate the script via the File/Scripts menu ExtendScript is not invoked and the script runs to completion.
    The .jsx file is a wrapper for a .vbs script which does the 'real' work.
    The .jsx is:-
    function main()
        var VBSscript=File("C:/Program Files/Adobe/Adobe Photoshop CS2/Presets/Scripts/GGN_PS_Code_v1_2.vbs");
        if(VBSscript.exists) VBSscript.execute();
    main();
    Does anyone have any ideas as to how to disable the invokation of ExtendScript when I run the script from the skortcut?

    Thanks Paul.
    I am out of the office at the moment, but your answer rings true. Certainly the .jsx extension is associated with ExtendScript. I'll delete the association and try again when I am back in the office.
    Many thanks

  • Running ISA Scripts from SSL enabled IOP server?

    When attempting to run a script from an SSL enabled IOP server, scripts no longer run.
    Is there a setting to enable the script to utilize the appropriate SSL port?
    Thank you.

    Can you please elaborate some more information on the above post.

  • Running Oracle Scripts from Command Line

    Hi,
    How can i run Oracle scripts from command line.
    Actually i need to run these scripts from MSBuild before running Unit test projects

    C:\>sqlplus @myscript
    That would be the easiest variation
    C:\>sqlplus user/passwd@tns_alias @myscript
    would be an often used variation
    And then there is of course the version with parameter passing:
    C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
    Dunno about MSBuild

  • Running sqlplus scripts from Java code?

    hi
    I need to programmatically run sqlplus scripts from Java code on a machine that doesn't have sqlplus installed.
    Is there any Java class library available for doing this?

    The Ant approach could probably work for me, thanks for the tip.
    The setup seems rather complex however, given the simplicity of the task. I would prefer just running a Java based SQL*Plus from in a separate process or doing this via an API that would allow me to run SQL*Plus scripts (parse script, substitute variables, run statements).
    Oracle SQL Developer v1.1 appears to include an API that does exactly this.
    The ScriptParser, Substitution and SQLPLUS classes in the oracle.dbtools.raptor.scriptrunner package (oracle.sqldeveloper.jar) seem to do just what I need based on my tests.
    Can I use these classes for this purpose in my application? Is repackaging allowed?
    Does Oracle have any plans for releasing this sort of functionality separately e.g. as part of the Instant Client?

  • How can i run unix script from my apex page

    how can i run unix script from my apex page and take the output of unix script as a hidden variable and display it on the report region of that page

    I had a requirement to run a Fortran program against some data that woudl be extracted from the database after the user set up their filtering criteria and made some additional input. SInce the program was to complex to conver to PL/SQL, we decided to try and invoke it from Apex. This is how I did it.
    1. I followed the steps in Tim Archer's excellent article "Oracle External Procedure to Run Host Commands" (http://www.timarcher.com/?q=node/9). If the link does nto work, google the article's title.
    Using this steps I created a function which accepts any OS command, including calling my own shell scripts, and runs them. I called my PL/SQL function "shell" instead of "USF_RUN_HOST_CMD " as Tim did in his example (step 9).
    2. In Apex,
    a. I created a button to run my shell command. (I named it P2_RUN_SHELL)
    b. I created a PL/SQL process whose source looks as follows:
    shell('/home/ackness/scripts/cr_xcf_file.sh > /tmp/cr_scfp_file.log');
    and which was conditioned on the the button P2_RUN_SHELL.
    It works like a charm.
    Note: since you can run your own scripts using this method, you can encapsulate a series of commands in a UNIX shell script and invoke that script from Apex. This allows you to be able to test or run you commands from the command line as well as Apex and makes it easier to develop/debug/enhance the scripts in the future.
    Ackness

  • Running elevated scripts from SCVMM on a Hyper-V host

    SCVMM 2012 R2 conveniently lets me run scripts on hosts using the Run Script Command.
    When not using a runas account, the scripts are run on the host using the Local System account which seems to be unable to run elevated commands. In particular, I want to run the Get-VM Hyper-V cmdlet on the host, and this cmdlet does not work (or rather,
    returns an empty list) from a non-elevated Powershell.
    I don't want to disable UAC because I don't want want to weaken overall security on the host just for this particular scenario.
    Is it possible to use SCVMM's Run Script Command to run elevated commands on the host? Alternatively, can I get Get-VM to return the list of VMs even when run non-elevated?
    (In case it's interesting, I want to run Get-VM on the host rather than Get-SCVirtualMachine on SCVMM because I'm interested in the IDs of the SCSI controllers of the VM, and it seems that SCVMM and Hyper-V each return different IDs. If there's a way to
    get the Hyper-V-visible ID from SCVMM cmdlets then I won't need to run any script on the host at all).

    Hi
    May add this to your script:
    function Set-Elevation
       # Create a new process object that starts PowerShell
       $newProcess = New-Object System.Diagnostics.ProcessStartInfo "powershell";
       # Indicate that the process should be elevated
       $newProcess.Verb = "runas";
       # Start the new process
       [System.Diagnostics.Process]::Start($newProcess) | Out-Null
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Run Powershell script from Scheduled Task as "NT Authority \ SYSTEM"

    Hello, dear Colleagues.
    Cannot make Powershell script from Scheduled Task as "NT Authority \ System"
    Action: Start a program - 
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "C:\script.ps1"
    The matter is that script is working, moreover if to run Task with Domain Account it works too.
    Checked Run with highest privileges, changed "Configure for" field, tried different arguments (-noprofile, -noexit, -executionpolicy bypass, -command, -file,") - no luck.
    Didn't you try to make it work with SYSTEM account?
    Thanks.

    Hi fapq,
    Try this link task schedulers
    Note
    To identify tasks that run with system permissions, use a verbose query (/query/v). In a verbose query display of a system-run task, the Run As User field has a value of NT AUTHORITY\SYSTEM and
    the Logon Mode field has a value of Background only.
    Naveen Basati

Maybe you are looking for