Running SEFAUtil remotely

Hi,
I have set up SEFAUtil on a computer where I am able to run it and it returns a correct output. Recently we developed an webservice that is running on a different server and needs to make some modification to Lync server using SEFAUtil. However, when trying
to invoke the util remotely in PowerShell (or with winrs in cmd), it returns an error message when /verbose parameter is present:
Cannot read contacts from Active Directory: Active Directory error "-2147016672"
However, if no parameters are passed to the util, it successfully prints out its help so this means that the remote command works, but the problem is somewhere between SEFA and Lync server. We have also tried issuing command Enable-PSRemoting, but this did
not change the situation.
Is there any way of invoking SEFAUtil remotely and getting the result?
Thanks.

Hi,
From your description above, it can be the issue of permission.
Please try to use the account of a member CSadministrator to login the remote computer and test the issue again.
Best Regards,
Eason Huang  
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Eason Huang
TechNet Community Support

Similar Messages

  • How to run a remote windows dll files and the drivers of the system using j

    Dear Friends,
    I need some valuable info regd how to run a remote windows dll files and the drivers of the system using java
    reply regd thanking you

    Please don't make duplicate posts like this.

  • How to Use synchronous RFC calls during test run for remote accesses

    there is a Setting for the usage of RFC accesses from a tested system
    using eCATT.
    'X' - Use asynchronous RFC calls during test run for remote accesses
    ' ' - Use synchronous RFC calls during test run for remote accesses
    I developed an eCATT as following :
      SAPGUI ( SAPGUI_1 , Target_system_1 ).
      SAPGUI ( SAPGUI_2 , Target_system_2 ).
    My question is how to run the eCATT in a synchronous RFC calls
    PS: I do not want to change the Target_system to the same one in the
    above script of ecatt.Because I need to run it in 2 different Target
    systems sometime.
    for example, I give a Target_system_3 when run this eCATT
    I want the SAPGUI_1 and SAPGUI_2 run the Target_system_3 but not the
    Target_system_1 or Target_system_2 .
    Could you please tell me how to make it without the changes in script?
    Edited by: Weitong Liu on Mar 24, 2011 9:44 AM

    Hi Liu,
    Weitong Liu wrote:
    > ' ' - Use synchronous RFC calls during test run for remote accesses
    This is the standard option value. Asynchronous are not the standard way and used only for very special purposes.
    Weitong Liu wrote:
    > I developed an eCATT as following :
    >   SAPGUI ( SAPGUI_1 , Target_system_1 ).
    >   SAPGUI ( SAPGUI_2 , Target_system_2 ).
    > My question is how to run the eCATT in a synchronous RFC calls
    The commands will be executed in sequence. So each call will be synchronously replayed against TS1 and TS2.
    What is you issue with this standard procedure?
    Kind regards,
    Christoph

  • Run a Remote Jar file

    How can I run a remote jar file?
    There is a runnable jar (Java Application) file on server and my client program wants to run it on the client. What should I write for my client code to do this?
    It is possible to load it directly into client memory and run it?
    And basically, does a Jar file completely load into memory, when we are deploying it, or only required resources load?

    I suppose you are not speaking of applets.
    If Iunderstand your question correctly, you are looking for a way, the client always has newest software downloaded from the server.
    If that is what you are looking for, try JavaWebStart.
    You find tutorials on javasoft.com.
    If you just want the client to download an application (like an .exe) use a runnable jar!

  • Firefox is not campatible with F5 Networks Host Plugin and I need it to run a remote website

    Firefox is not compatible with F5 Networks Host Plugin and I need it to run a remote website

    Do these hotfixes help you? http://support.f5.com/kb/en-us/solutions/public/12000/700/sol12757.html

  • How to run a remote application (Non Java) from a Java program

    Could you please tell me how to run a remote application (Non-Java) from a Java program without using RMI. Please tell me know the procedure and classes to be used.
    Cheers
    Ram

    what do you mean remote application.In the other pc or in your pc just apart from you application?
    If the application is in your pc,the method which the upper has mentioned is
    a good one!
    But if the application you want to run is not in your computer,the method can't do. And you can use socket with which you can build an application listening some port in the pc which contains the application you want to run .When you want to run that application ,send the Start_Command to the listening application.Then listening application will run the application with the help of the method the upper mentioned.

  • Running a remote script

    Hi,
    at the company i work for , we started using the Flash Media
    Server. Nice stuff, got it up and running.
    Now there is an issue. Is it possible to run a remote script
    that resides on the same server as FMS? It's for the following
    scenario :
    A user uploads an flv-video, and after he presses save, that
    video needs to be distributed amoungst other servers in different
    countries. We've got the script read that will wait until it is
    executed and that copy the given file around.
    So i'm wondering if there is a way in server-side
    actionscript to make a call to a script outside of FMS. Something
    like External(scriptname,arguments) or such. Is this possible in
    FMS?

    No, you would need to call a PHP/ASP/CFM server side file to
    do that. You can do that with the loadVars object.

  • Assistance with my script to find all opened windows (applications running) on remote computer

    Hello,
    I have the following script whereby I want to list all the running (opened) applications on a remote computer.  It's a shared computer between two people who use the same generic ID.  Before one RDP's into it, I thought it would be interesting
    to see if any apps are opened before logging in. 
    Here is the code:
    $cred = Get-Credential
    Invoke-Command -ComputerName server123 {Get-Process *mail* | Where {$_.MainWindowHandle} | Select Name,MainWindowTitle} -Cred $cred
    It works in that it asks for my credentials and runs without any error...but this script also does not display any running applications. I'm not sure what it should show. Perhaps I need to add a line of code to display what it found?
    Another bit of info I would like to use in this script is to also confirm that the generic ID is logged in at the time I run this script.  I could use the following bit of code:
    get-wmiobject Win32_ComputerSystem -computername server123 | format-table -property username
    But when I run this code I get an access denied message. I'm assuming I need to use the Get-Credential again from my first script, but I'm unsure how to use it in the get-wmiobject?
    Any help you can provide would be greatly appreciated.
    Thank you.

    Ok...shifting gears again.  Instead of running this remotely I'm thinking of running a scheduled task on the server and creating this .htm file.  That way no one has to run and enter in credentials (and if entered wrong cause issues with locking
    out the account).  So, I've modified my script and confirmed that when I run it from Powershell when logged into the server, the results file correctly shows the logged in userid and the running applications (windows) I have opened. 
    But, when I run this same exact script from my task scheduler, the running applications piece is blank?  The server I'm running this on is Windows Server 2008.  I've tried running it from Task Scheduler using Powershell and from a .bat file that
    calls my Powershell script.  Both ways results in my .htm file not showing any applications running.  Yet when I run the same script (either from Powershell or the .bat file) the .htm file correctly shows the running applications.  My Task Scheduler
    Job is using the same user id that I'm logged in with so there shouldn't be any permission issues with running from the task scheduler.
    Here is my code:
    $a = "<style>"
    $a = $a + "BODY{background-color:peachpuff;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    $a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"
    $a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
    $a = $a + "</style>"
    get-wmiobject Win32_ComputerSystem | ConvertTo-HTML -head $a -body "<H2>Logged in UserID</H2>" -property username | Out-File C:\Powershell_Scripts\Test.htm ; Get-Process |where {$_.mainWindowTItle} |Select-Object name,mainwindowtitle | ConvertTo-HTML -head $a -body "<H2>Open Applications</H2>" | Out-File C:\Powershell_Scripts\Test.htm -Append
    Can anyone tell me what might be the reason for the script running from the scheduled task having issues?
    Thank you.

  • Office 2013 windows 'pop-under' when run as remote apps on Server 2008R2 from Windows 7 clients

    We have an environment with Windows 7 clients running Office 2013 via RDS on Windows Server 2008R2.
    When users double click emails from Outlook, they 'pop-under', forcing the user to relocate the window which has fallen behind the application's primary window, leaving behind a slight redraw of what is supposed to be the pop-up window. Users also experience
    difficulty opening application menu/help items and any other dialogue boxes in any/all of the other Office 2013 apps we've deployed via RDS.
    This issue persists only on Win7 PCs (WinXP does not exhibit this behaviour). The RDP clients range from 6.2.92 to 6.1.7601
    We have applied the hot-fixes applicable to all of the following KB articles:
    - KB983533 (failed / update not applicable)
    - KB2384602 (failed / update not applicable)
    - KB2614136 (failed / update not applicable)
    - KB2580346 (Installed successfully, but issue unresolved)
    - KB2522762 (Installed successfully, but issue unresolved)
    - KB2538047 (Installed successfully, but issue unresolved)
    - KB2604066 (Installed successfully, but issue unresolved)
    - KB2705427 (Installed successfully, but issue unresolved)
    - KB2682814 (Installed successfully, but issue unresolved)

    Hi,
    Please give the new Remote Desktop Client 8.1 for Windows 7 a try when it is re-released (it was removed temporarily due to an issue with smart cards).  It has fixes related to z-order issues, which
    may correct the problem you are seeing.
    Update for RemoteApp and Desktop Connections features is available for Windows
    http://support.microsoft.com/KB/2830477
    Thanks.
    -TP

  • Error 10810 when running applescript remotely

    So "final" product here. I'm no applescripter so my code is probably inefficient. As such I keep running into a -10810 error and from my googling and research I think it's a runaway process (or a few of them) created by this script. I run it through Casper remote. It's a compiled script for compatibility with Casper Remote. Running as a standalone app (or as a compiled script on the local desktop) it works just fine. It's only through Casper Remote that I get this error and only sometimes. The script works even when no one is logged in. Casper Remote runs as an admin and forces sudo when it needs to.
    Any ideas as to what might be causing the failure? The script fails very quickly when it does. It certainly does not get to the point where it gathers all apps on the computer.
    TIA!
    Andrew
    (*This script should be run first on a computer to be upgraded.    
    It collects the size of the users's homefolder and any folders 
    common to all users (Workfolder, PAGEFOLDER, etc).  Common units get
    all users transfered. It also collects apps installed in /Applications. It is to
    be run again on the new computer to verify that all data and apps were     
    copied over correctly. It outputs the data to a log at                       
    /netappv2/MacPackaging/FY12MacDAC-UserMigration titled with the
    User's username, old mac name          *)
    on run argv
      -- Define static variables --
      ---- "\n"
      -- Capture the user's name (passed from Casper Remote)
              set userName to item 4 of argv
      -- if a username was not passed to the script, quit immediately
              if userName = "" then
                             do shell script "echo No username specified! Try again with a valid username"
                             error number -128
              else if userName is in {"Common", "common", "COMMON"} then
                             do shell script "echo **********THIS IS A COMMON UNIT. ALL USERS WILL BE TRANSFERED! **********"
              end if
      -- Capture computer name and current date
              set computerName to computer name of (system info)
              set currentDate to current date
      -- Define file access --
      -- We first have to create a file so we can reference it via Applescript for writing. We do this via the shell
              set shellLogFile to computerName & "-" & userName & ".txt"
              do shell script ("mkfile 10k /private/var/root/Desktop/" & shellLogFile)
      -- Make a directory on the server particular to this user and computer since two reports will be made: one for the old computer and one for the new
              set logFolder to computerName & "-" & userName
              do shell script "mkdir -p -m 777 /Volumes/MacPackaging/FY12MacDAC-UserMigration/" & logFolder
      -- Open a text file for writing the DAC data collection information. Alias it to the file we just created
      -- the file is located on roots desktop, but it is aliased to the current user's desktop (if one is logged in)
              set logFile to (((path to desktop) as string) & computerName & "-" & userName & ".txt") as alias
      open for access logFile with write permission
      set eof of logFile to 0
      -- Write log headers   --
      -- Write relevant user and computer information to the log file
              if userName is equal to "common" then
                             write "**********THIS IS A COMMON UNIT. ALL USERS WILL BE TRANSFERED! **********
    " to logFile
           write "
    " to logFile
              end if
              write "Report run date: " & currentDate & "
    " to logFile
              write "User to be migrated: " & userName & "
    " to logFile
              write "Computer to be migrated: " & computerName & "
    " to logFile
              write "=========================" & "
    " to logFile
      write "
    " to logFile
      -- Begin data collection output      --
      -- First check for the existence of partition "work"
              write "Folders on Work partition to be transfered" & "
    " to logFile
              write "========================================" & "
    " to logFile
              set workPath to "Work" --we are only looking for partition "Work"
              tell application "System Events"
                        if workPath is in (get the name of every disk) then -- list all partitions and check for "Work." If found, set folderList to the contents of Work
                                       set folderList to list folder workPath without invisibles
                        else
                                       set workPath to (get the name of every disk) -- if "Work" is not found, list the mounted partitions and exit
                                       write "No Work partition! Available partitions are: " & workPath & ". Exiting." & "
    " to logFile
                                       do shell script "echo No Work partition!"
                                       do shell script "echo Available partitions are: " & workPath
           close access logFile
                                       error -128
                        end if
              end tell
      -- Next write the root level contents of the Work partition and their sizes. These main folders and their entire contents (except Users) will be transferred. For user folders, only the /Users/username and Users/Shared folder will be transferred
              set totalSize to 0 --set a count for the size of each folder found. This will be the total size of all data to be migrated
              repeat with aFolder in folderList
                             if aFolder contains "Users" then
                                            set userFolder to "/" & aFolder & "/" & userName -- rename the folder to the explicit path to the users home folder (name provided when the script was run), since we aren't interested in any other user folder
                                            set sharedFolder to "/" & aFolder & "/Shared" -- create another variable to hold the Shared folder since we need to copy this as well
                                            set UNIXFolder to quoted form of POSIX path of userFolder
                                            set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of the users home folder
                                            set totalSize to totalSize + folderSize
                write userName & " home folder - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
    " to logFile
                                            set UNIXFolder to quoted form of POSIX path of sharedFolder
                                            set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of the Users/Shared folder using the same method as above
                                            set totalSize to totalSize + folderSize
                                            write "Users/Shared - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
    " to logFile
                             else if aFolder does not contain "Users" then
                                            set UNIXFolder to quoted form of POSIX path of aFolder
                                            set folderSize to (do shell script "du -k /Volumes/Work" & UNIXFolder & " | tail -rn1 | awk '{print \"\" $1}'") as integer -- extract the size of aFolder if other than "Users"
                                            set totalSize to totalSize + folderSize
                write aFolder & " - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
    " to logFile
                             end if
              end repeat
              write "____________________" & "
    " to logFile
              write "Total copy size: " & CalcFolderSize(totalSize) & " " & KBMBGB(totalSize) & "
    " to logFile
      write "
    " to logFile
      -- Record all departmental apps that need to be installed on the new mac
              write "Departmental apps to install on the new mac" & "
    " to logFile
              write "===========================================" & "
    " to logFile
      -- A pre-defined list of departmental apps. These apps are not included in the AG Core image and need to be installed on the new mac. All relevant transferrable apps are in the Applications and Utilities folders. Apps installed elsewhere are not AG standard and do not get transferred
              set theApps to {"Adobe Acrobat 7.0 Professional.app", "Adobe After Effects CS4.app", "Adobe After Effects CS3.app", "Adobe Fireworks CS3.app", "Adobe Flash CS4.app", "Adobe Flash CS3.app", "ColorEyes Display Pro.app", "ColorThink 2.2.1b2", "Corel Painter X.app", "DiskTracker 2.3.2", "DiskTracker.app", "Dreamweaver.app", "EPSON Scan.app", "Fetch.app", "formZ RenderZone Plus.app", "Google Earth Pro.app", "Google Earth.app", "iMovie.app", "Keyspan Serial Assistant.app", "Flash 8.app", "Microsoft Excel.app", "Microsoft Excel", "Microsoft Word.app", "Microsoft Word", "Microsoft PowerPoint.app", "Microsoft PowerPoint", "PhotoZoom Pro 2.app", "Product Ingest.app", "Product Tag.app", "Art Ingest.app", "ProfileMaker", "TextWrangler.app", "Toast Titanium.app", "ToolCrib.app", "Winclone.app", "Suitcase Fusion 2.app", "Suitcase Fusion 3.app", "BRASS.app", "Final Cut Pro.app", "Pro Tools LE.app", "LightWave", "VMware Fusion.app"}
              set appsPath to (path to applications folder)
              tell application "Finder"
                             set appList to name of every application file of entire contents of folder appsPath
              end tell
              repeat with anApp in theApps
                             if appList contains anApp then
                                            set anAppID to id of (application anApp)
                                            if anAppID is not equal to "????" then
                                                      tell application "Finder" to tell (application file id anAppID)
                                                                     set vers to version of application file id anAppID
                                                                     set parentFolder to name of its container
                                                      end tell
                                                 if parentFolder is in {"Applications", "Utilities"} then
                                                           set parentFolder to ""
                                                 end if
                                                      write anApp & "
    " & "Version: " & vers & "
    " & parentFolder & "
    " to logFile
                                                      write "--------------------------------------" & "
    " to logFile
                                                      write "
    " to logFile
                                            else if anAppID is equal to "????" then
                                                      write anApp & "
    " to logFile
                                                      write "--------------------------------------" & "
    " to logFile
                                                      write "
    " to logFile
                                            end if
                             end if
              end repeat
      write "
    " to logFile
      -- Collect all the printers that need to be installed on the new Mac
              write "Printers to install on the new mac" & "
    " to logFile
              write "===================================" & "
    " to logFile
      (*tell application "Printer Setup Utility"
                        set printerList to the name of every printer as list
              end tell
              repeat with aPrinter in printerList
                        write aPrinter & "
    " to logFile
              end repeat*)
              set printerList to do shell script "lpstat -a | awk '{print $1}'" as text
      write printerList & "
    " to logFile
      close access logFile
      -- edit file permissions so everyone can read it
              do shell script "chmod 755 /private/var/root/Desktop/" & shellLogFile
      -- copy the file to macpackaging for later use
              do shell script "ditto /private/var/root/Desktop/" & shellLogFile & " /Volumes/Macpackaging/FY12MacDAC-UserMigration/" & logFolder
    end run
    -- subroutine for converting folderSize
    on CalcFolderSize(KBParam)
              if KBParam ≥ 1048576 then -- convert to GB
                        return (KBParam / 1024 / 1024)
              else if KBParam ≥ 1024 then -- convert to MB
                        return (KBParam / 1024)
              else
                        return (KBParam)
              end if
    end CalcFolderSize
    -- subroutine for determing KB, MB, or GB
    on KBMBGB(paramSize)
              if paramSize ≥ 1048576 then -- 1GB
                        return ("GB")
              else if paramSize ≥ 1024 then -- 1MB
                        return ("MB")
              else
                        return ("KB")
              end if
    end KBMBGB

    So AS can't get the physical size of the folder it finds. I think I know the reason though. The script lists the contents of the Work volume in this snippet:
    set workPath to "Work" --we are only looking for partition "Work"
              tell application "System Events"
                        if workPath is in (get the name of every disk) then -- list all partitions and check for "Work." If found, set folderList to the contents of Work
                                  set folderList to list folder workPath without invisibles
    else if
    ... stuff ...
    end if
    end tell
    Then later I have it doing this:
    else if aFolder does not contain "Users" then
                                  tell application "System Events"
                                                 set folderSize to (physical size of aFolder) div 1024
                                  end tell
                                  set totalSize to totalSize + folderSize
      write aFolder & " - " & CalcFolderSize(folderSize) & " " & KBMBGB(folderSize) & "
    and I get the following from the AS editor events pane:
    tell current application
      system info
      --> {AppleScript version:"2.1.2", AppleScript Studio version:"1.5.1", system version:"10.6.7", short user name:"acaldwell", long user name:"AC Andrew Caldwell (8318)", user ID:1.092545022E+9, user locale:"en_US", home directory:alias "Work:Users:acaldwell:", boot volume:"AG2025", computer name:"AG2025", host name:"ag2025.amgreetings.com", IPv4 address:"10.104.20.113", primary Ethernet address:"00:17:f2:07:ec:dc", CPU type:"Intel 80486", CPU speed:2660, physical memory:4096}
      current date
      --> date "Wednesday, June 8, 2011 4:24:49 PM"
      path to desktop as string
      --> "Work:Users:acaldwell:Desktop:"
      open for access "Work:Users:acaldwell:Desktop:AG2025-acaldwell.txt" with write permission
      --> 47
      set eof 47 to 0
      write "Report run date: Wednesday, June 8, 2011 4:24:49 PM
    User to be migrated: acaldwell
    Computer to be migrated: AG2025
    =========================
    " to 47
      write "Folders on Work partition to be transfered
    ========================================
    " to 47
    end tell
    tell application "System Events"
      get name of every disk
      --> {"AG2025", "Work", "home", "net", "Public", "MacPackaging"}
      list folder "Work" without invisibles
      --> error number -10004
    end tell
    tell current application
      list folder "Work" without invisibles
      --> {"Page4 Folder", "PAGE4BUILDER", "Users", "zz_LastFolder"}
    Result:
    error "Can’t get physical size of \"Page4 Folder\"." number -1728 from «class phys» of "Page4 Folder"
    Now I tested the tell system event portion in another editor with this code
    set aFolder to path to home folder
    tell application "System Events"
              set folderSize to (physical size of aFolder) div 1024
    end tell
    and got the right result. So I think that I can't get the size because it is not showing the path to each of these items, just the name of them. Is there a way to set a variable to the path to each of the items it finds? I think then it'll get the sizes right....
    Thanks!
    Andrew

  • Update-Help error when console application is run in remote machine via PS remoting

    Hello,
    When I execute a particular console application in a remote machine via PS remoting, I get an error related to update-help. When I execute it directly on the remote machine, it works...
    My code:
    $credential = Get-Credential -Credential "DomainName\AccountName"
    $session = New-PSSession -ComputerName "MachineName" -Authentication Credssp -Credential $credential;
    Invoke-Command -session $session -ScriptBlock {
    try{
    cd <network share location>
    .\theConsoleApp.exe | Out-File C:\console-output.txt
    $error | Out-File C:\console-error-output.txt
    $exitCode
    } catch {
    throw $error
    Error seen in the console:
    NetNat, PcsvDevice, PSDesiredStateConfiguration, SoftwareInventoryLogging, StartScreen, TLS, WindowsSearch' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for
    UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again.
    $error variable from above:
    Errored out (exit code 1603) with error message: ErrorId 10010: Xpatch threw an unexpected exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I’ve tried
    two different user accounts
    multiple file share locations
    different OSs
    different target servers
    but have not determined the cause of the error.
    I would appreciate any help on this.
    -Rohan.

    Clearly the remote EXE cannot run in that context.  YOU should not run that program remotely.
    I suspect there is also information you are not giving to us.
    ¯\_(ツ)_/¯

  • How to test oracle is up and running in remote machine using shell script

    Hello,
    I need help to write an linux script.
    I have a java application server running on machine 192.168.5.20 and our oracle 10g standard 1.0.2 is running on machine 192.168.5.21.
    I have found script to start oracle when computer is turned on.
    But I cannot start my application server automatically since it depends on whether oracle is up and running or not on the remote machine.
    Therefore, in case of power failure or maintenance, our client has to call us to start application server.
    I would be grateful if someone can help me "How can I write script to check oracle is up and running in machine 192.168.5.21 from machine 192.168.5.20.
    For your information, I have no oracle installed in application server. So tnsping won't work.
    What I want is when power is back, application server script automatically and tesing for oracle server is up and running. If it is up, script will start application server.
    Thanking you.

    Hi,
    It's not failover or experimental. My application server uses JBOSS and JBOSS needs database name to start up. My enviroment is LAN. My database is in different machine as I mentioned before. So In case of power failure, I need to start my application server (JBoss) manually, because I need to confirm that oracle is already running before start app server.
    I want an automated script (when power is just on) to start my application server which will wait to check if the datbase server is up I will start application server.
    The scripts given above It works if appserver and db server in the same machine (my development machine).
    But when I test the script in my production applicaiton server, It shows sqlplus command not found (my app server does not have any oracle client installed).
    About hostname yes My applicaiton server hostname is hostapp1 and dabase server hostname is hostdat1.
    Do you think Is it possible to test the script without oracle client not installed. or It has to be done writing code like java program and test using jdbc connection.
    Best regards.

  • Is it possible to install and run RMAN remotely ?

    Is it possible to install and run RMAN on a separate remote network-connected platform from the platform of the Oracle DB instance with which RMAN was initially installed without any additional licensing ?
    I.e. is it possible to copy the RMAN executable and any required libraries to the remote platform and successfully run RMAN on the remote platform to backup the Oracle DB instance with which RMAN was initially installed without any additional licensing ?
    This is using RMAN with a recovery catalogue in the target database control file.
    Thanks,
    Brett.

    Hi Kostya,
    Depends on what you mean. Default the SOA Suite installs a Oracle Lite database to use for hydration storage. So default there is no real database and therefore you can not install ApEx. But you can configure the SOA Suite to use a "normal" database, and then you can use ApEx.
    Regards Pete

  • How to make OTM scripts to run on remote machines

    Hi,
    I came across lot of posts which tells how to configure OTM to connect to remote machines.
    Some how i dont understand when they say stop the OATS service and configure it manually
    Also to use the password for authentication manager.
    What i really want to know is step by step for a layman to set up OTM to run scripts on a remote desktop and on the local with the execution being displayed (not suppressed)
    How do we configure that?
    Any help is deeply appreciated!! my test cases are just stuck inprogress status
    Thanks
    Radhika

    Hi Radhika,
    For running Scripts from either the server or the remote machine using OTM you need to run the Agent Manager service as a console not the OATS service. For that you need to stop that service--> set the startup type as manual--> the run the ' C:\OracleATS\agentmanager\bin\AgentManagerService.exe –c AgentManagerService.conf ' command in the CMD to run this service as a console. Because this agent manager service is for OLT to communicate with its agents and works fine even if it is set to automatic or manual and started normally. Hope this helps.....
    Regards,
    Charles Kingsly

  • How to get DPM cmdlts running within remote PS ISE or common powershell

    Hey guys,
    I'm usually using the DPM MGMT Shell on s specific DPM machine.
    Now I'm started to learn PS stuff but I'm facing issues and lack of knowledge.
    Hopefully you guys can give me a hint.
    First... I tried to run a cmdlt within the common powershell on a DPM Server.
    get-datasources ->
    Get-Datasource : Unable to connect to dpm-09.contoso.com. (ID: 948)
    Verify that the DPM service is running on this computer.
    At line:1 char:1
    + Get-Datasource
    + ~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-DPMDatasource], DlsException
        + FullyQualifiedErrorId : ConnectionToServerFailed,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.Common.GetDa
       tasource
    After trying to load DPM Module import-module dataprotectionmanager the same error came up.
    But why? Whats the difference between the common powershell Environment and the dpm Shell?
    I tried to run DPM cmdlts via my local installed ISE via remote entered pssession but the same error appears.
    Locally installed DPM console and Import DPM Module on my machine won't help either.
    executing the DPM commands within the dpm shell were succesfully.
    Can you give me a hint whats going on?

    The following technet link has some information which might be of help to you:
    http://technet.microsoft.com/en-us/library/hh830726.aspx
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

Maybe you are looking for