Port 1099 being used by other processes ,need an alt port for RMI-Registry

I am using port 1099 for RMI and the o/s is windows 2003.
We want that the RMI registry shud automatically be started with the windows startup processes.But we found that some other processes are usoing the same port.
Is there any other port which can be used for the same?
or any method to make other processes release the port forcefully.

If you read the documentation or do a quick google search, you will discover the rmiregistry program can be assigned any port you wish. Simply invoke via:
rmiregistry -h from windows or "man rmiregistry" from mac or unix and you will be greeted with:
Usage: rmiregistry <options> <port>
In a nut shell just specify the port:
i.e.
rmiregistry 5000
etc...
Hope this helps.
-Lemont

Similar Messages

  • How to know which port is being used by which process

    Hi,
    Could you please tell me how to know which port is being used by which process.as iam getting ports are already in use.
    Thank you,
    Sravan
    Message was edited by:
    sravan123

    Your OS might provide a command to support this question like '"netstat".
    Besides, on Unix the pseudo-file system /proc is also useful.

  • One or more ports used by the Compute Emulator are currently used by other processes

    Environment:
    VS 2012 Professional
    Azure SDK October 2012
    Windows 8
    I lost the last few days of my life struggling with a weird issue in the emulator. I just ran out of options and I would really appreciate if someone could help me figure out what's wrong.
    I am trying to debug a service package from Visual Studio 2012. It's really just about any package -- even the ones generated from a Windows Azure Cloud Service VS template. Any. The VS debugger starts, and in parallel there's "Starting the Windows Azure Debugging
    Environment" dialog which shows "Deploying service package to the Windows Azure compute emulator..." message.
    The progress bar shown in the dialog gets stuck for a long time (possibly even for an hour or longer!) at some 60% and then the following error message is shown:
    "One or more ports used by the Compute Emulator are currently used by other processes. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx"
    There doesn't seem to be anything else listening on the ports mentioned on the above MSDN page. I did nevertheless try to re-map devfabric and agent ports by specifying different values in the .config files mentioned on the page, but that did not help.
    What I also tried and did not help:
    - reinstalled SDK, IIS Express, Local DB
    - reinstalled VS 2012 (yes, I got that desperate)
    - tried using IIS instead
    - used SysInternals TcpView to check if there are any conflicts
    - rebooted the machine: the deployment works initially (*once*), and the subsequent deployments fail (!)
    - tried to kill all Azure-related processes in memory and restart debugging
    - tried looking into log files under the user directory (dftmp\...); no errors in *any* log
    - tried looking into Event Viewer logs (Azure-related and in general); no errors either
    Since the conflict seems to be related to my current network settings, below is my IP
    configuration. I am behind a router and I have DHCP activated, but again that should not matter since none of that has changed in the last few years (and the emulator did work until few days ago).
    C:\WINDOWS\system32>ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : MYCOMPUTER
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
       Physical Address. . . . . . . . . : 32-AB-30-66-BC-56
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2a01:e35:8a3a:9970:edd9:b989:b67a:5a8a(Preferred)
       Temporary IPv6 Address. . . . . . : 2a01:e35:8a3a:9970:dc7a:4fe6:62a5:e54a(Preferred)
       Link-local IPv6 Address . . . . . : fe80::edd9:b989:b67a:5a8a%12(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Sunday, December 16, 2012 21:26:30 PM
       Lease Expires . . . . . . . . . . : Tuesday, December 18, 2012 09:26:14 AM
       Default Gateway . . . . . . . . . : fe80::224:d4ff:fea2:9722%12
                                           192.168.0.254
       DHCP Server . . . . . . . . . . . : 192.168.0.254
       DHCPv6 IAID . . . . . . . . . . . : 253808432
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-1B-EE-4D-20-CF-30-66-BC-46
       DNS Servers . . . . . . . . . . . : 192.168.0.254
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{7A96B710-3107-48B9-A7B2-2F261DDD91AD}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 11:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:1caf:12ff:a75c:5668(Preferred)
       Link-local IPv6 Address . . . . . : fe80::1caf:12ff:a75c:5668%14(Preferred)
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Disabled
    Below are the Azure SDK emulator configuration files, unmodified (as created by the SDK installation).
    DevFC.exe.config
    <configuration>
        <configSections>
            <section name="DevFCSettings"        type="System.Configuration.NameValueSectionHandler" />
        </configSections>
        <!-- The following are options related to the SimulatorSetup -->
        <DevFCSettings>
            <add key="StartMACAddress" value="00155D201928" />
            <add key="EndMACAddress" value="155D20193C" />
            <add key="StartIPAddress" value="192.168.0.20" />
            <add key="EndIPAddress" value="192.168.0.40" />
            <add key="DipPoolStartIPAddress" value="127.255.0.0" />
            <add key="DipPoolEndIPAddress" value="127.255.255.255" />
            <add key="VipPoolStartIPAddress" value="127.0.0.1" />
            <add key="VipPoolEndIPAddress" value="127.0.0.255" />
            <add key="DefaultGateway" value="192.168.0.1" />
            <add key="SubnetMask" value="255.255.255.0" />
            <add key="InternalSwitchName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricSwitch" />
            <add key="InternalSwitchPortName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricHostSwitchPort" />
            <add key="InternalEthernetNICName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricEthernetNIC" />
            <add key="InternalEthernetPortMACAddress" value="00155D201927" />
            <add key="InternalEthernetPortIPAddress" value="192.168.0.2" />
            <add key="InternalEthernetPortSubnetMask" value="255.255.255.0" />
            <add key="StorageRoot" value="DFTemp" />
            <add key="LogsDirName" value="DevFCLogs" />
            <add key="DynamicPortAllocStart" value="20000" />
            <add key="ManagementServicePort" value="15095" />
            <add key="RepositoryServicePort" value="15096" />
            <add key="AgentCallbackPort" value="15097" />
            <add key="AgentPort" value="15098" />
            <add key="PxeResponderPort" value="15100" />
        </DevFCSettings>
        <startup>
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
        </startup>
    </configuration>
    DFAgent.exe.config
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
      <appSettings>
        <add key="AgentMAC" value="00155D201927"/>
        <add key="AgentIP" value="192.168.0.2"/>
        <add key="EnableActiveNotification" value="false"/>
        <add key="StorageRoot" value="C:\DFTemp"/>
        <add key="CopyFilesInStartRole" value="false"/>
        <add key="LogsDirName" value="DFAgentLogs" />
        <add key="EnableFileLog" value="true" />
        <add key="AgentPort" value="15098" />
        <add key="RuntimePort" value="15099" />
        <add key="AgentCallbackPort" value="15097" />
      </appSettings>
    </configuration>
    DFService.exe.config
    <configuration>
      <configSections>
        <section
          name="dfservice"
          allowExeDefinition="MachineToLocalUser"
          type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.DfServiceConfigurationSection, DfService, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        />
      </configSections>
      <dfservice
        ManagementServicePort="15095"
        RepositoryServicePort="15096"
       />
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
    </configuration>
    Finally, here's what TcpView shows while the emulator is stuck:
    devenv.exe    3736    TCP      MYCOMPUTER    7240    localhost    15095    SYN_SENT
    devenv.exe    3736    TCP      MYCOMPUTER    7245    localhost    15095    SYN_SENT
    svchost.exe   4332    TCP      MYCOMPUTER    7438    MYCOMPUTER    0    LISTENING
    System        4        TCP      MYCOMPUTER    10000    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10001    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10002    MYCOMPUTER    0    LISTENING       
    DevFC.exe      4380    TCP      MYCOMPUTER    15095    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15096    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15097    MYCOMPUTER    0    LISTENING              
    DFAgent.exe    14472    TCP      MYCOMPUTER    15098    MYCOMPUTER    0    LISTENING
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    0    LISTENING              
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    6399    ESTABLISHED         
    System        4        TCP      MYCOMPUTER    15099    MYCOMPUTER    0    LISTENING       
    System        4        TCPV6    mycomputer    15099    mycomputer    0    LISTENING            
    DevFC.exe      4380    TCP      MYCOMPUTER    15100    MYCOMPUTER    0    LISTENING
    Thanks in advance for help!



    Hi,
    Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
    What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
    What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
    some port while in reality there isn't.
    I'll eventually contact Microsoft Support, thanks for the suggestion.

  • Server 2012 R2 SMB - The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    We are having issues with Server 2012 R2 SMB shares.
    We try to write some changes to a file, but we first create a temporary backup in case the write fails. After the backup is created we write the changes to the file and then we get an error:
    The process cannot access the file '\\server\share\test.txt' because it is being used by another process.
    It looks like the backup process keeps the original file in use.
    The problem doesn't always occur the first time, but almost everytime after 2 or 3 changes. I have provided some code below to reproduce the problem, you can run this in a loop to reproduce.
    The problem is that once the error arises, the file remains 'in use' for a while, so you cannot retry but have to wait at least several minutes. 
    I've already used Process Explorer to analyze, but there are no open file handles. 
    To reproduce the problem: create two Server 2012 R2 machines and run the below code from one server accessing an SMB share on the other server.
    Below is the code I use for testing, if you reproduce the scenario, I'm sure you get the same error.
    We are not looking for an alternative way to solve this, but wonder if this is a bug that needs to be reported?
    Anybody seen this behavior before or know what's causing it?
    The code:
    string file =
    @"\\server\share\test.txt";
    if (File.Exists(file))
    File.Copy(file, file +
    ".bak", true);
    File.WriteAllText(file,
    "Testje",
    Encoding.UTF8);
    The error:
     System.IO.IOException: The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    There is someone else having the same issue with yours. You could try code in the article below:
    “The process cannot access the file because it is being used by another process”
    http://blogs.msdn.com/b/shawncao/archive/2010/06/04/the-process-cannot-access-the-file-because-it-is-being-used-by-another-process.aspx
    If you wonder the root cause of the issue, the .NET Framework Class Libraries forum can help.
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I cant figure out what is wrong i keep getting this an OIEception that says "{"The process cannot access the file because it is being used by another process."}

    I am trying to move a file from a folder to another folder.
    here is my code:
    //storage of the all files
    string[] folderContentNames = Directory.GetFiles(@"C:\Users\Jonah\Desktop\Test Pictures");
    private void historyPictureBox_Click(object sender, EventArgs e)
    destinationFile = @"C:\Users\Jonah\Desktop\Test Test";
    File.Move(folderContentNames[1], destinationFile);
    updateListBoxFileName();
    updateImageBox();
    each time I hit the bolded underlined part I get that error message.
    if you need anything else just ask.
    Thanks in advance,
    Thor Orb

    Hi Thor,
    If you want to move a file from a folder to another folder, I think you could get the sourcePath and TargetPath. The code below shows a simple demo:
    string[] folders = Directory.GetFiles(@"D:\Test\VSC#\01\WindowsFormsApp\WindowsFormsApp\Test");
    string desFile =Path.Combine( @"D:\Test\VSC#\01\WindowsFormsApp\WindowsFormsApp\Test - Copy\"+Path.GetFileName(folders[1]));
    File.Move(folders[1], desFile);
    In addition, the link below might be useful to you:
    # How to: Copy, Delete, and Move Files and Folders (C# Programming Guide)
    >> The process cannot access the file because it is being used by another process
    The message seemed that the file was opened in other process. Did you operate the file with other code?
    I think you could check if the files and the folders were opened, and review your codes if they were used in other places.
    If you have any further questions, please feel free to post in this forum.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
    Ya, Thanks I figured about the path and destation. yes I am using the file in another area, the file is an image jpg and I am displaying it in a picture box. Now I have been doing a little research I see a command called Dispose() and this is suppose to
    release the handle on the image, but I can seem to figure out have to use it correctly.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Collections;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO;
    namespace Scanned_Picture_Ogranizer
    public partial class Form1 : Form
    //storage of the all files
    string[] folderContentNames = Directory.GetFiles(@"C:\Users\Jonah\Desktop\Scan Project Testing\Test Pictures", "*.jpg");
    //List<string> folderContentList = folderContentNames.ToList();
    private List<string> folderContentList = new List<string>();
    Bitmap currentImage;
    Bitmap placeHolder;
    public Form1()
    InitializeComponent();
    convertingArrayToList();
    startUpData();
    string sourceFile = @"C:\Users\Jonah\OneDrive\My Programming Projects\Scanned Picture Organizer Project\Test Pictures";
    string destinationFile = "";
    private void moveButton_Click(object sender, EventArgs e)
    private void startUpData()
    //placeHolder = new Bitmap(folderContentList[0]);
    //currentImage = (Bitmap)placeHolder.Clone();
    // Image loadImage = new Bitmap(pictureClones[0]);
    // currentFilePictureBox.Image = loadImage;
    int numberOfFilesLeft = folderContentNames.Length;
    foreach (string name in folderContentNames)
    fileNamesListBox.Items.Add(name);
    fileNameTextBox.Text = folderContentNames[0];
    numberOfFilesLeftTextBox.Text = numberOfFilesLeft.ToString();
    ///loadImage.Dispose();
    //FileStream currentImage = new FileStream(folderContentList[0], FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
    private void convertingArrayToList()
    foreach (string listName in folderContentNames)
    folderContentList.Add(listName);
    private void selectingImageFromListBox()
    private void updateImageBox()
    Bitmap currentImage = new Bitmap(folderContentList[0]);
    currentFilePictureBox.Image = currentImage;
    currentImage.Dispose();
    private void updateListBoxFileName()
    fileNamesListBox.Items.RemoveAt(0);
    fileNameTextBox.Text = folderContentList[0];
    // numberOfFilesLeftTextBox.Text = numberOfFilesLeft.ToString();
    private void historyPictureBox_Click(object sender, EventArgs e)
    destinationFile = @"C:\Users\Jonah\Desktop\Scan Project Testing\Test Test\";
    File.Move(folderContentList[0], destinationFile + System.IO.Path.GetFileName(folderContentList[0]));
    folderContentList.RemoveAt(0);
    updateImageBox();
    updateListBoxFileName();
    when I first start the program the first picture displays, but when I trigger historyPictureBox_Click(), it does that error again. Another things is that I already looked at that link and it didn't help.
    I just super confused, I would like your help on this.
    Thanks,
    Thor Orb

  • [HTML]SignTool Error: The file is being used by another process.

    Hello,
    I receive this error from building a JavaScript app on a build server:
    SignTool Error: The file is being used by another process.
    This reproduced when building on local machine, and goes away after building again. However, our company uses gated builds so the first failure will stop an entire 2.1 hour build and I can't ship the product.
    The instruction to launch SignTool is located in external files so I can't disable it, run it twice, or run it in a while loop until succeeds, ignoring failures. I have to get it to work right the first time. I looked on MSDN, and there are other people
    who had this problem and never solved it.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/5871d64c-e178-4f5c-85cd-a603fe56d6c7/signtask-signtool-error-the-file-is-being-used-by-another-process?forum=msbuild
    http://www.codeproject.com/Questions/275454/Can-anyone-help-me-with-Signtool-Setup-Deployment
    http://qualapps.blogspot.in/2006/12/code-signing.html
    The only clue I have is our solution having build configurations that aren't called "Debug" and "Release", which have been cloned from Debug/Release and have WinRT apps building. If the build script for WinRT depends on anything being
    called "Debug" and "Release" it wouldn't work correctly.
    In any case, there is no documentation for SignTool that mentions this error - how do I fix it?

    Hi TripleRectified,
    >> If the build script for WinRT depends on anything being called "Debug" and "Release" it wouldn't work correctly
    What's you version of Visual Studio, on my side, in the Visual Studio 2013 Update 4, I created a new configuration(Copy Settings from "Debug") to build a WINJS project, but I can't see the exception you mentioned.
    >>This reproduced when building on local machine, and goes away after building again
    Does it happen on all local machines? We need to exclude environment facts first, for example: Tool, OS etc.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I fix this error: DF024: Unable to preserve original file at ... Error 32 The process cannot access the file because it is being used by another process.(Seq 1352).  ?

    I am installing creative the cloud Illustrator desktop app on a machine with windows 7 64 bit running in a domain environment.  The download starts and takes about runs for a bout 10 minutes and then stops with the error: DF024: Unable to preserve original file at "C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\AdobeLinguistic.dll" Error 32 The process cannot access the file because it is being used by another process.(Seq 1352)
    I am logged in as a network administrator and there are no other apps except a web browser (Chrome) running.  There are no other users logged into the machine.
    How can I see what other process is using the needed file so that I can fix it?
    Thanks

    MelissaB34 it looks like you already are reviewing your installation log files but you can find more information at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  From the error you have posted it appears that your current User account is either unable to update C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\AdobeLinguistic.dll or does not have sufficient file permissions to do so.  Since you mentioned you are on a domain please ensure that you are working with your I.T. department and have correct access to this directory.
    You may want to also consider logging in under a local administrator account to see if you face the same difficulties.  This would help you determine if you are facing a file corruption issue or file permission issue.

  • Error occurs during reseed - the EDB file is being used by another process

    Greetings,
    We were notified today that one of our databases in an Exchange 2013 cluster is currently in a failed state. We have three servers - two at the primary site and one in the DR site. The database has a mounted and healthy copy on its preferred server, but
    the secondary copy is now failed with a pretty high CopyQueueLength.
    I've done plenty of reseeds with Exchange 2010, and I understand that Exchange 2013 will do an automatic reseed in the event of a failure. However the auto-reseed is generating the following message:
    Automatic Reseed Manager failed to execute repair workflow 'FailedSuspendedCopyAutoReseed' for database 'DB05'. Error: The Automatic Reseed Manager encountered an error: The automatic repair operation for database copy 'DB05\mb02' will not be run because
    one of the prerequisite checks failed. Error: There are no Exchange volumes mounted under root path 'C:\ExchangeVolumes', which are required for the Automatic Reseed component.
    WorkflowLaunchReason: The seeding operation failed. Error: An error occurred while performing the seed operation. Error: The process cannot access the file 'M:\DB05\DB05.EDB' because it is being used by another process.
    During the course of my investigation, I tried to rename the .edb file to .old and was told that the file is in use by Microsoft.exchange.store.worker.exe. There doesn't seem to be a way to kill this process, as every time I've tried I've been told that
    access is denied. I'm not even sure it's wise to kill the process anyway (I'm only trying to kill the one with the PID that matches the database).
    Attempting to manually reseed the database generates a similar error to the one above. I've failed all the databases over to the other server and restarted the Information Store service as well as the Host Controller service, but so far I can't seem to get
    this file unlocked. One article I found did mention making sure that Exchange Servers is listed and given Read access to the folder. I did manually set this but I still see no change. I also verified that Symantec Endpoint Protection is set to exclude .edb
    files, and the automatic Exchange exclusions are preventing it from scanning the Exchange install locations.
    I'm curious if anyone has any suggestions that I might have missed so far. This is confusing the daylights out of me and I'd like to be able to get this reseeded. I suspect that even a full server restart won't clear this up, so any help would be great.
    We're just starting to transition users over from Exchange 2007 to 2013, and I'd prefer to have a method of avoiding this in the future before we're in full production.

    Thanks for your response, Ed! I really appreciate you taking the time to do so.
    The ultimate fix for this was a reboot of the server and I was finally able to kick off a reseed. For the sake of thoroughness, here's the last two things we tried before rebooting.
    I did try stopping the Symantec Endpoint Protection service on the server, but the job still failed in the same way. I'd also been given the recommendation to try stopping the Information Store service and try a reseed like that. Still no love. I've been
    using ProcessExplorer, too, to try and isolate the lock, but didn't have much luck there, beyond what I already knew regarding the store.worker.exe locking the file.
    I don't much care for the notion that I needed to reboot the server to remove that lock, I was really hoping for something less intrusive. But at least we've got it working and can move on with our day!
    Again, thanks for your response, Ed!

  • Is pga is being used in Parallel process

    HI
    is pga is being used in parallel processing. if yes then increasing the size of pga can increase performance
    thank

    Firstofall we need to clarify the "PGA" in Oracle.
    PGA is a type of memory which contains data and control information for a server process. When server process starts, a PGA value is assinged to a single user (if i don't remember wrong, it's default is 5M). The collection of PGA's is defined as total instance PGA. PGA_AGGREGATE_TARGET defines the maximum value which can get.
    Regarding to your concept, in my opinion it's basically wrong. Caching happens in buffer_cache which is a component of the SGA. When you first execute your sql text, Oracle caches it to reduce the physical I/O. Afterwards, if you need to execute it again, this will be a logical I/O.
    If i got your question wrong, please expend it more for further help.

  • How do i find what ports are being used.

    I need to know how to tell what ports are being used and by what. I recently bought Apple Remote Desktop and have been pretty impressed but I have one computer here that won't let me Observe or Control. I think it is because the G4 in question has a program using port 5900. I need to confirm this is there any way that I can see if this port is being used?
    Thanks
    Moderith

    Hi Moderith--
    Welcome to the Apple Discussions.
    Look in your Utilities folder for the Network Utility program. Open it, and choose "Port Scan" from the row of tabs in its window. If you're not running Network Utility on the problematic G4, use the G4's IP address. But if you're actually on the G4, use "localhost".
    Note that if you check the open ports on the G4 from another computer, you won't see as many as if you check it from the G4 itself. That's because some ports are only local. For example, I have enabled the mail server on my Macs, but only to deliver mail, not relay it. So if I do a port scan using "localhost", I see port 25 open, but it's not open from another computer.
    charlie

  • Web Cam being used by other application

    I have a web cam that says is being used by other application when I try to Skype.  I look at System Profiler and it says under hardware I have a SiGma Micro.
    Why does occasionally comes on but is very dark and cloudy.  How do I check USB to see if this is really the camera that is connected.  The web Cam is self has not logo or company markings. I tried unplugging  and switching ports with keyboard and mouse does nothing. What can I do?

    Vel,
    As the error say, another application could be holding on to the webcam. What application are you using for your video chat? Check your task manager processes and see if there's any applications that could also be using the webcam feature like MSN Messenger, Yahoo Messenger, etc...and end their task if you're not using them.
    Jason

  • While deleting the virtual machine .vhd folder -- error msg : the process cannot access the file beacuse it is being used by another process

    When i am trying to delete the Virtual Machine folder/directory i get the below error. Virtual machine is turned off
    V:\>rmdir ME-EXCAS01 /s
    ME-EXCAS01, Are you sure (Y/N)? y
    ME-EXCAS01\ME-EXCAS01\Virtual Machines\1B1FD14E-B3F0-4232-9F96-2A871E879CD6.xml
    - The process cannot access the file because it is being used by another process
    How to delete the whole folder ?
    Thanks

    Also, if your VM has snapshots and you delete it, you must wait for the snapshots to finish merging - the VHD files will be locked until then.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Backup stopped before completing. The process cannot access the file because it is being used by another process

    I am working with a client who is attempting to backup to a NAS device 
    The device is a linksys NSS6000 (Cisco device).
    It’s a dual 1Gbit LAN device that supports CIFS / FTP and NFS transfers. It has only 1Gbit lan connected.
    The device has 4 *  500 gb sata drives in raid 1  attached.
    Cables go from cat 5 to fiber back to cat5. (The NAS  is located at a neighboring office) The switches are 1gbit.
    Server is a win2k8r1 fully up to date.
    When backing up to the NAS device, the following error occurs:
    Running backup of volume Local Disk(D:), copied (86%).
    Running backup of volume Local Disk(D:), copied (90%).
    Running backup of volume Local Disk(D:), copied (94%).
    Running backup of volume Local Disk(D:), copied (98%).
    Backup of volume Local Disk(D:) completed successfully.
    Backup stopped before completing.
    Summary of backup:
    Backup stopped before completing.
    The process cannot access the file because it is being used by another process.
    If we redirect the backup to a folder on a 2008 share, the backup completes successfully.
    Only when backing up to the linksys NSS6000 does the error occur.
    No other backup processes are writing to the NAS device so I can't understand why the process thinks the file is
    being used by another process.
    One thing we did notice that when the backup to the NAS device occurs, throughput is about 150 mbit average
    On the 2008 server shares we successfully backup to, the through put is 500 mbit.  Not sure if that is important, but
    might be worth mentioning.
    The following event log entry was noted at the end of the backup.
    The description for Event ID '519' in Source 'Microsoft-Windows-Backup' cannot be found. 
    The local computer may not have the necessary registry information or message DLL files to display the message,
    or you may not have permission to access them.  The following information is part of the
    event:'2009-05-12T10:13:31.617Z', '', '2147942432', '%%2147942432'
    Any ideas?
    Thanks..Michael

    I am also seeing the same problem backing up nightly to a brand new NAS device (WD My Book Live)
    All the error codes are the same as those in this thread.
    From Windows Event Viewer:
    The backup operation that started at '‎2011‎-‎03‎-‎25T06:00:19.811302700Z' has failed with following error code '2147942432' (The process cannot access the file because it is being used by another process.). Please review the event details
    for a solution, and then rerun the backup operation once the issue is resolved.
    Fault bucket 659897467, type 5
    Event Name: WindowsBackupFailure
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: Backup
    P2: 6.1.7600
    P3: 0x80070020
    P4: 7
    P5:
    P6:
    P7:
    P8:
    P9:
    P10:
    Attached files:
    C:\Windows\Logs\WindowsBackup\WindowsBackup.1.etl
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Backup_6957d65de91fc4a853ecc7c78914bf7351fff0d1_14578325
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: dd480bf2-56a6-11e0-ae81-00217099bf56
    Report Status: 0
    From Report.wer  in  C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Backup_6957d65de91fc4a853ecc7c78914bf7351fff0d1_14578325
    Version=1
    EventType=WindowsBackupFailure
    EventTime=129455071508181139
    Consent=1
    UploadTime=129455071508201140
    ReportIdentifier=dd480bf2-56a6-11e0-ae81-00217099bf56
    Response.BucketId=659897467
    Response.BucketTable=5
    Response.type=4
    Sig[0].Name=Operation
    Sig[0].Value=Backup
    Sig[1].Name=AppVer
    Sig[1].Value=6.1.7600
    Sig[2].Name=HRESULT
    Sig[2].Value=0x80070020
    Sig[3].Name=TargetType
    Sig[3].Value=7
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.1.7600.2.0.0.256.48
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    State[1].Key=DataRequest
    State[1].Value=Bucket=659897467/nBucketTable=5/nResponse=1/n
    FriendlyEventName=WindowsBackupFailure
    ConsentKey=WindowsBackupFailure
    AppName=Windows host process (Rundll32)
    AppPath=C:\Windows\System32\rundll32.exe
    ReportDescription=Windows Backup failure

  • Move-item: The process cannot access the file because it is being used by another process.

    Hey,
    I have a powershell script where I first use Get-childitem to receive a number of files.
    Then I do some stuff with it and try to move the file afterwards.
    Unfortunately if I am using a lot of files I receive very often the error:
    The process cannot access the file because it is being used by another process.
    Even -Force parameter does not help further.
    Based on my look around it is not used by another process.
    I think it is still 'in use' by powershell from script commands previously.
    Is there any way to 'see' if the file is still in use currently and wait for this to end?
    Or can I 'close' the current usage of the file?
    Thank you :)

    Hey,
    Thank you.
    I build the following function.
    But either the $return = $true I receive "The process cannot access the file because it is being used by another process." when I try to move-item... :(
    Function Wait-FileUnlock($FilePath){
    Write-Host " "
    $FileInfo = New-Object System.IO.FileInfo $($FilePath)
    DO{
    try{
    $fileStream = $fileInfo.Open([System.IO.FileMode]::Open, [System.IO.FileAccess]::Read, [System.IO.FileShare]::Read)
    $return = $true
    catch{
    Start-Sleep -Milliseconds 5
    Write-Host "." -NoNewline
    $return = $false
    While($return -ne $true)
    $Error
    return $return
    Another functions is:
    Function Wait-FileUnlock($FilePath){
    Write-Host " "
    DO{
    $Error.Clear()
    Rename-Item $FilePath $FilePath -ErrorAction SilentlyContinue | Out-Null
    Start-Sleep -Milliseconds 5
    Write-Host "." -NoNewline
    While($Error.Count -ne 0)
    This one waits .. but it seems not to end waiting at any time :(

  • The process cannot access the file because it is being used by another process with Execute package task

    Hi,
    I've a master package that calls other packages with an Execute Package Task. Sometimes we have an error: "The process cannot access the file because it is being used by another process" and sometimes not. It seems random.
    We are working on a Terminal Server and the SQL Server database engine and the files are placed on another server. It seems that the errors doesn't occu when we run the packages on the server with a job. We can't log onto the windows server on this machine..
    Hennie

    I've seen this myself. On most occasions an immediate rerun would fix the issue. As stated this happens only when we try to run this from BIDs. From SQL agent job it always runs fine. 
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for