Identify file sharing violation

For example, i want to write a certain file which is open by other application for writing.... how do i know the IOException being thrown is file sharing violation?

duplicate thread

Similar Messages

  • JSP file sharing violation under Tomcat... ($$)

    please help on this following topic ...(DD) :
    http://forum.java.sun.com/thread.jsp?forum=45&thread=302846
    Any help is welcome.
    Thanks

    It's simple,
    With some jsp files (not all but always the same ones), this is what happens :
    1/ I modify the file and save it
    2/ I run it, it works
    3/ I modify again , but I can't save my modifications, my editor saying that the file is opened by another application (I use several editors and I have the same message). The only solution I found is to restart the server !!!!!

  • How to remedy sharing violations when saving an AS3 file.

    Since installing Flash CS4 (I previously had CS3) I've had a rather annoying problem that is really cutting into my productivity.
    If I 'Test Movie' or 'Debug Movie' and then switch back to my actionscripting window and make changes and then try to save without closing the movie, I receive a sharing violation notification.   I then have to close the movie and wait for at least 3 seconds after doing so before a save will succeed without giving a sharing violation.
    I know that doesn't sound like much, but when you do it hundreds of times in a day it really eats up time and interrupts workflow.
    Anybody know how to remedy this?  I've tried creating fresh AS3 files in fresh locations but to no avail.  I can find no similar references to it using google.
    Thanks in advance.   Here's the dialog:

    As there's not been a single response, is there any way to pass my question on to support proper, and get the answer added to the knowlege base?  This is rather important I think.

  • Sharing violation error after closing file

    I am creating a text file using the "Write to Spreadsheet File"
    vi.  After creating the file, I cannot change the name, or open
    the file in XL because I get a "sharing violation" error. 
    Apparently Labview has not released the file even after closing it.
    Only after the main vi quits is the file released for editing by
    others.  I have never seen this problem before using the
    Spreadsheet VI.  Can anyone provide some help or advice?
    I am running Win2000 SP4.
    Thanks.
    Greg Whaley

    Hi Greg,
    I can't reproduce this. I wrote a VI which should have caused this problem, but didn't. I attached it below. Give it a try and see if you have different results, of if something's different in your code that could have caused this.
    Anyone else experienced this?
    Jarrod S.
    National Instruments
    Attachments:
    Open Excel File.vi ‏33 KB

  • Error accessing a file...sharing violation 32?

    DW CS5 is giving me an error report that says, error accessing file...sharing violation 32.
    Never had this problem before. Using windows 7.

    I recently downloaded cs5 master addition to my desktop (working on laptop). Have not used it yet on desktop. I was told you can use two pcs.
    My serial number apparently is a volume number student/teacher additon. I Wonder if I delete dreamweaver from the desktop if that will remove the error.
    The error happened just now specifically when I attempted to make a newly created page into the template. Assets (moved template to new page) error on screen.

  • Dreamweaver CC 2014.1 sharing violation with CSS files

    I am getting the following error while working with a CSS file in Dreamweaver:
    Encountered a sharing violation while accessing:
    c:\<path to file>\css\style.css
    I have searched and tried a range of difference fixes - but no fix has worked as yet, and many of the solutions don't apply to my situation. This just keeps occurring when I access certain CSS files.
    The CSS files are part of a web app that gets run using a local server - and when the server is running I can save the CSS file a couple of times, then after a few saves (and refreshes of the browser to see my changes) I get this sharing violation and can no longer save changes to the file.
    I have installed various locked file inspection apps to find out what is locking the file and to see if I can force it close - but all the apps I have tried report the file as not being used or locked. Therefore none of these apps have enabled me to "unlock" the file to then save changes.
    But if I copy and paste the contents into any other editor like Sublime Text 2, Notepad, Notepad++ then I can save the CSS file no worries. When I flick back to Dreamweaver, it prompts me saying "The file has been modified outside Dreamweaver" - so I choose to reload the file and I try and make a change and save it and I am back to encountering a sharing violation again.
    If I stop and restart the server (which takes about 2 minutes - so not a viable fix) I can get access to the CSS file in Dreaweaver again, but a few saves and refreshes of the browser and it reports it as locked again. I think Dreamweaver is falsely reporting this violation. Because every other application I have tested (Notepad, Notepad++, Sublime Text 2 - even Microsoft Word!!!) has no issues accessing the file, just Dreamweaver.
    Any help would be greatly appreciated.
    Thanks
    Mark

    Have you tried changing the DW settings to look like this:
    You want to remove the Check in/Check out stuff because it is for people working in groups and making changes independently.  Make sure you click on the APPLY button after the changes and perhaps close and restart the DW.
    Good luck.

  • Dreamweaver sharing violation on save after previewing file

    Hi all,
    First, have I mentioned that I LOATH Windows Vista with every
    fiber of my
    being!
    On to the problem at hand.
    I'm in Dreamweaver and I edit, then preview a file. Next I
    edit it some more
    and then try to save it - but cant. I get an alert stating
    that there is a
    sharing violation because the file is being used by another
    program, and it
    just stays this way, even if I shut the browser down. even if
    I restart
    Dreamweaver it's still locked. The only way I can get it to
    let go is to
    totally reboot!
    Has anyone else run into this? Found a solution?
    Thanks for your help.
    Lawrence Cramer
    Cartweaver.com

    This is a multi-part message in MIME format.
    ------=_NextPart_000_006F_01C8550D.5C555090
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    I haven't Larry, but let me just double-down on your Vista
    loathing. I =
    find it ridiculously slow and awesomely awkward. How many
    times do I =
    have to wait out a "not responding" message when I just
    switch to a =
    program? How often do I have to change my open file dialogs
    back from =
    their stupid photo default headers (like Date Taken)? Why do
    I have to =
    always hard boot my external firewire drive everytime I come
    back from =
    sleep mode?
    If I wasn't doomed to always have the latest OS for screen
    shot reasons, =
    I would have jumped back to XP months ago.
    Thanks for letting me vent - and good luck finding a solution
    to that =
    issue.
    Best - Joe
    Joseph Lowery
    VP of Marketing, WebAssist
    Author, Dreamweaver CS3 Bible
    "Lawrence Cramer" <[email protected]> wrote in
    message =
    news:[email protected]...
    Hi all,
    First, have I mentioned that I LOATH Windows Vista with
    every fiber of =
    my=20
    being!
    On to the problem at hand.
    I'm in Dreamweaver and I edit, then preview a file. Next I
    edit it =
    some more=20
    and then try to save it - but cant. I get an alert stating
    that there =
    is a=20
    sharing violation because the file is being used by another
    program, =
    and it=20
    just stays this way, even if I shut the browser down. even
    if I =
    restart=20
    Dreamweaver it's still locked. The only way I can get it to
    let go is =
    to=20
    totally reboot!
    Has anyone else run into this? Found a solution?
    Thanks for your help.
    Lawrence Cramer
    Cartweaver.com
    ------=_NextPart_000_006F_01C8550D.5C555090
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6000.16587"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial size=3D2>I haven't Larry,
    but let me just =
    double-down on=20
    your Vista loathing. I find it ridiculously slow and
    awesomely awkward. =
    How many=20
    times do I have to wait out a "not responding" message when I
    just =
    switch to a=20
    program? How often do I have to change my open file dialogs
    back from =
    their=20
    stupid photo default headers (like Date Taken)? Why do I have
    to always =
    hard=20
    boot my external firewire drive everytime I come back from
    sleep=20
    mode?</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>If I wasn't
    doomed to always have the =
    latest OS for=20
    screen shot reasons, I would have jumped back to XP months =
    ago.</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks for
    letting me vent - and good =
    luck finding=20
    a solution to that issue.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>
    <P>Best - Joe</P>
    <P>Joseph Lowery<BR>VP of Marketing, <A=20
    href=3D"
    http://www.webassist.com/">WebAssist</A><BR>Author,
    <A=20
    href=3D"
    http://www.idest.com/dreamweaver/">Dreamweaver
    CS3=20
    Bible</A></P></FONT></DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Lawrence Cramer" &lt;<A=20
    =
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    wrote in=20
    message <A=20
    =
    href=3D"news:[email protected]">news:fm8rel$s87$1@forums=
    .macromedia.com</A>...</DIV>Hi=20
    all,<BR><BR>First, have I mentioned that I LOATH
    Windows Vista with =
    every=20
    fiber of my <BR>being!<BR><BR>On to the
    problem at hand.<BR><BR>I'm in =
    Dreamweaver and I edit, then preview a file. Next I edit it
    some more =
    <BR>and=20
    then try to save it - but cant. I get an alert stating that
    there is a =
    <BR>sharing violation because the file is being used
    by another =
    program, and=20
    it <BR>just stays this way, even if I shut the browser
    down. even if I =
    restart=20
    <BR>Dreamweaver it's still locked. The only way I can
    get it to let go =
    is to=20
    <BR>totally reboot!<BR><BR>Has anyone else
    run into this?  Found =
    a=20
    solution?<BR><BR>Thanks for your
    help.<BR><BR>Lawrence=20
    Cramer<BR>Cartweaver.com<BR></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_006F_01C8550D.5C555090--

  • Sharing Violation error when inserting a table

    Hi Everyone.
    I know this question has been asked before but no one seems to have a working solution.
    We have Macromedia MX (6.1) installed on a room with windows 7 on all the computers, on a server 2008 network, connectiing to a server 2003 user area server. It seems to work fine until you try to insert a table which is different to the default options. It then throws up a sharing violation error to do with the table.htm file under the Application Data\Macromedia\Dreamweaver MX\Configuration\Objects\Common\ folder. The program then closes. The things I have tried to get this working so far are -
    uninstall and reinstall
    deletion of the Application Data\Macromedia\Dreamweaver MX\Configuration\ folder
    changing location of Application Data\Macromedia\Dreamweaver MX\Configuration\ folder from network drive to local drive
    making sure the user has complete ownership of the folder and the file in question. They do
    checking the same problem exists with an adminstrator account and a normal user account. It does.
    having the user log on to a windows XP machine connecting to the same server with the same log on account. This works fine! So almost certainly a problem with Windows 7.
    runnning the dreamweaver program as administrator
    changing where the site is saved to.
    Im really all out of ideas. Yes i know that its an old version and the newer versions work a lot better, but this is all we have at the moment.
    I really appreciate any help!

    Hi Chrissy,
    According to the description, you were not able to save the workbook after you typo some VBA code. Which version of Office are you using? Are you save it manully?
    Based on my understanding, this issue is not realtive to the code and it maybe a know issue about Office 2007. You can fix it via link below:
    Description of the 2007 Office system hotfix package (Msoshext-x-none.msp): April 27, 2010 
    If you still have the issue save it manually, I would suggest that you reopen a new question in
    Microsoft Community- Excel forum to get more effective response.
    Regards & Fei
    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.

  • Windows 7 and Mac 10.5 network file sharing

    I am having extreme difficulties sharing files over my home network! I have 3 PCs and one Mac. I have tried the Mac forums and the Windows forums, to no avail.
    On the Mac side:
    File Sharing is ON, with smb
    Users are set to Everyone with read/write privileges
    WINS has the correct Workgroup name
    Network Name has no spaces in it
    Shared my Desktop, Public Folder, Documents, and Shared folders (just to cover root folders and specific ones too)
    Mac gives an smb://xxx.xxx.x.x address and a local network accession "mycomputername.local," but I don't know what to do with either of these things. When I put the addresses into the Windows Run dialogue box or in Internet Explorer, they don't seem to recognize the path.
    Firewall is set to Allow All Incoming Connections
    Under the Shared location in Finder, I can see my router name, and if I click on it, I can connect. No password is required. I am connected as my account name. However, I can't see the PC or anything at all, in fact.
    Under the Shared location in Finder, I can see my shared name for my Mac. But I cannot connect to it, probably because I'm connecting from my Mac.
    It would be nice to use the smb://DNSname/sharename or the smb://IPaddress/sharename function in the Go to Server window, but I have no idea where to find this information on my PC. Or on the network. Or whatever this is referring to.
    On the PC:
    Sharing is NOT password protected under Advanced Sharing Options
    I am sharing my Desktop and My Documents with Everyone and Guest, and Windows 7 has provided a file://computername/Users/foldername path. However, when I put this into the Connect to Server or Connect to File window, there is an error.
    I can click on my Mac computer name in the Network window, but I get the error message that it cannot connect (network path cannot be found, using \\MYMACNAME as the path). This is when my Mac says it is "connected" when I click on the router in Finder's Shared places.
    Of course both the Mac and the PC have full connectivity to the same network.
    Also, I have disabled the internal firewall in the Belkin router.
    Also, my accounts have identical names with no spaces.
    My Mac (10.5) DID successfully connect to Windows XP before I upgraded.
    Any advice? Thanks guys!!
    P.S. -- I have also posted to the Windows people here: http://social.answers.microsoft.com/Forums/en-US/w7network/thread/b5144e55-d024- 401c-85ae-1cf94226b786
    In the hopes that I will double my chances of getting an answer.

    And my response:
    Okay, so here's what I've done:
    OS X: did the sharing thing, smb thing, and directories thing.
    Win 7: Network sharing settings are correct for Home or Work (current profile). I left my Public alone, but verified that my network is recognized as a Home location.
    User accounts exist in both the Mac and PC. Names are the same. Heck, passwords match and I'm logged into the same account on each computer, just in case.
    Firewalls are scary to me, so I did the best I could. I went to my browser, typed in my router IP address, and went to the DHCP Client List. Both of the computers were listed with their assigned IP addresses. I "reserved" those IP addresses so they the router would always assign that IP address to that MAC address (so I could count on it in the future). It turns out that they are sequentially assigned, so I figured that if I added any more devices (my other PC, the PS3, etc.) those IP addresses would just be +1 to the last digit cluster in the IP address.
    Then I went to Windows Firewall, because I don't have a third-party firewall. I confirmed that I was connected to the Home network, and then clicked Advanced Settings. Wow, there's a lot of rules! There were multiple File and Printer Sharing rules (both inbound and outbound), so I didn't mess with them. Instead, I created a Custom Rule (bot inbound and outbound) for all programs, any protocols and all ports, and added the IP address range (192.168.2.1 - 192.168.2.9, giving myself plenty of extra for future devices) I found from above to the local and remote IP Address boxes. I specified to Allow the Connection for Domain, Public and Private, and gave it a name that started with A so I could find it easily in the future. Finally, I set the Interface Type to be LAN and Wireless (my PC is wirelessly connected).
    In OS X, in the Firewall tab of the Security preference, I set it to Allow all incoming connections. File Sharing (SMB) is the first name on the list, but I cannot click on it or modify it in any way. I don't know what else to do. Am I missing something?
    I've shared My Music and Desktop on the Win 7 for Everyone (not just the Homegroup!), and shared My Documents and Desktop for Everyone to read/write on the Mac.
    Okay, now I need to reboot on both computers. brb...
    Wow, definitely don't reserve any IP addresses on your router! I took that setting off, restarted everything, reset the modem and router, and I can now connect both computers to the internet.
    I can still connect to the Windows via the Connect to Server dialogue and smb://AJPC.
    In Windows Network, I can now see my Mac user account name, but when double-clicking on it I get the error message "Windows cannot access \\ComputerName. Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose." Under "Details," it says Error code: 0x80070035 The network path was not found." When I diagnose, Troubleshooting can't identify the problem.
    Any advice? Thanks for your help guys!
    A side note: I just checked my router's DHCP client list, and my PC is now connecting at 192.168.2.8, which is definitely not sequential. Good thing I specified the IP Address range all the way to 192.168.2.9 just in case; apparently the router can't count.

  • My Mac got hacked. I was working on a word document when the computer suddenly started typing meaningful sentences on its own that describes how the hacker is skillful. At the that time I was on a password protected wifi and file sharing was off.

    This is the first time I get hacked this bad. I was working on a microsoft word document when the computer suddenly started typing meaningful sentences on its own that describes how skillfull the hacker is. At the that time I was on a friends wifi network that is password protected (not sure about the encyrption), the Os X Firewall was on. I was using the admin profile, however, file sharing was off. I'm very careful not to install any suspecious 3rd party software.
    So far I have verified permissions and fixed some errors there, and changed passwords.
    Do I have to erase/format my computer and reinstall the Os? If so is it adequte to use the internet recovery tool or will it use old and possibly infected EFI/Root files?
    Would appreciate the advice of all the Mac experts out there. Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo launchctl getenv DYLD_INSERT_LIBRARIES; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; launchctl getenv DYLD_INSERT_LIBRARIES; echo; crontab -l 2> /dev/null; } | open -ef
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Personal file sharing: file copying broken from/to imported account?

    I have an iMac G5 with two user accounts A and B ; and a MacBook Pro with two user accounts A' (imported from A with the migration assistant) and C.
    Personal file sharing, FTP and SMB are enabled on both machines. The firewall is disabled. Permissions, as well as the Keychain have been repaired.
    When I am logged as A' on the MBP, and when I connect to the iMac with the username/password of A, I can't copy files from A' to A : I get the following error message [The operation cannot be completed because you do not have sufficient privileges for some of the items]. However, a 0-byte file is created on A'. The same problem occurs from A to A'.
    This problem drives me crazy because :
    - I can read and delete any file in A' from A (and vice-versa). Only copy and modification doesn't work.
    - I can copy files from A to C, A' to B, C to A, B to A'.
    - FTP sharing between A and A' does work.
    Someone got the problem solved by re-creating his account and re-importing all his data, but I absolutely want to avoid that. I'm sure there can be a simpler solution...
    It appeared to me that the only reason why AFP copy doesn't work between A and A' is that A' was imported from A. It seems also that a common broken preference/setting is not the source of the problem, since sharing works from/to any other account (and well, re-creating the account couldn't solve the problem as it would re-set the broken settings).
    I would like to know which information is used to determine user privileges when copying from one machine to another...
    A strange thing I noticed is that both A and A' have the same generateduid (which is thus not "unique") - could it be the source of the problem?
    If you have two machines with one account imported from one machine to another, can you check whether Personal file sharing with this account works? I love understanding why stuff doesn't work.
    Thanks!

    Here are the results of a few more experiments... Something is definitely broken with those two user accounts, but I'd like to know why, and how it got broken
    I have replaced the names of the accounts/machines by more meaningful identifiers.
    From the MBP, trying to access Account_B on the iMac:
    MBP:~ account_A'$ mkdir test
    MBP:~ account_A'$ mount -t afp afp://accountB:*****@iMac/accountB test
    mount_afp: the mount flags are 0000 the altflags are 0020
    MBP:~ account_A'$ ls -l test
    total 0
    drwx------ 29 account_A' account_A' 942 Nov 8 22:28 Desktop
    drwx------ 14 account_A' account_A' 432 Sep 24 23:47 Documents
    (And I can copy whatever I want in test)
    Now trying to access Account_A:
    MBP:~ account_A'$ mkdir test
    MBP:~ account_A'$ mount -t afp afp://accountA:*****@iMac/accountA test
    mount_afp: the mount flags are 0000 the altflags are 0020
    MBP:~ account_A'$ ls -l test
    total 0
    drwxr-xr-x 23 501 501 738 Aug 26 00:03 Code
    drwx------ 13 501 501 398 Nov 8 13:10 Desktop
    (I can't copy to test here)
    501 is the uid of account_A (on the iMac). (The uid of account_A' is 503).
    Same stuff through SMB:
    MBP:~ account_A'$ mkdir test
    MBP:~ account_A'$ mount -t smbfs //accountA@iMac/accountA test
    Password:
    MBP:~ account_A'$ ls -l test
    total 0
    drwxr-xr-x 1 account_A' account_A' 16384 Aug 26 01:03 Code
    drwxr-xr-x 1 account_A' account_A' 16384 Nov 8 13:10 Desktop
    (In this case, it works)

  • Personal File Sharing between Remote Networks

    Trying to connect my Mac (OS 10.4.9) in one state to a Mac in another state (OS 10.3.9). I am connected to the internet via Airport. Second Mac is connected to the internet via DSL modem. With file sharing turned on, on both computers, and firewalls turned off (System Preferences: Sharing: Firewall Off), neither computer can connect to either computer via Personal File Sharing (I went to Go: Connect to server... Then entered the correct IP address).
    Also, have not been able to use my computer as an FTP server (System Preferences: Sharing: FTP Access On) such that the second computer can connect via Cyberduck (FTP client software).
    I know little about all this, but in my research over the last two days I am unsure why my efforts have not worked (for either Personal File Sharing or FTP connections). the following two Support pages on Personal File Shariing have not worked for me:
    http://docs.info.apple.com/article.html?artnum=107369
    http://docs.info.apple.com/article.html?artnum=106661
    iMac G5 2GHz   Mac OS X (10.4.9)  

    What is a NAT router? Your suggestion to use a file
    storage service as an alternative sounds like it
    might be a good idea for me. It's just that the Apple
    Support articles made file sharing sound so simple
    (i.e. "This allows Macintosh computers in remote
    locations to share files with any type of Internet
    connection").
    This is like saying the Interstate highway system makes it easy to drive from one city to another. It's true, but you need to know something about driving first. Similarly, you need to know something about Internet traffic.
    To continue with the highway analogy, let's say your data is like a car. Actually, it's a packet with addressing information inside. The key addresses are source and destination IP addresses. When inside your town, or LAN, it's got local addresses. Maybe your computer is 10.1.1.2 and your printer is 10.1.1.3 and a car destined from your computer to your printer has a source of 10.1.1.2 and a destination of 10.1.1.3. This is like saying take a left at Main Street.
    But there are maybe millions of Main Streets. Where this all changes is where we go out to the Interstate, or global Internet. Your router is your gateway to this traffic. It has two interfaces, one side talks to your locality and it has a number like 10.1.1.1, and another side which talks to the global Internet and might have a number like 71.126.45.113. As your car goes through this router, it's source number changes to become that of the router (71.126.45.113). This is so it can find its way back, and others can follow. The local address has no meaning out here. When it (or rather another car) returns, the router swaps the addresses back and sends it to the local network. This process is called NAT (Network Address Translation).
    Now, the problem you find is that you can reach the destination router, and what you want is to get to another machine in that locality, but there is no local destination. You get to the toll booth at the end of the Interstate, but the toll taker doesn't know where you want to go. This is where ports come in. Your car has a number which corresponds to a service. In this case, the port is 548 and the services is Apple Filing Protocol over TCP. The toll taker know this. "Oh yes, Mrs. Johnson on First Street handles afpovertcp. Take a left on Main Street." This is called port-forwarding. You set the router to send requests for port 548 to the machine you want shared.
    Another possibility would be to disable NAT. This has some drawbacks. If you have more than one machine, you may violate your contract with your ISP. You also open yourself up to certain attacks and need to be much more careful. There's another possibility called DMZ, but that's like disabling NAT for one machine.
    I hope this clarifies things. You need to use the addresses of the routers, and forward the ports you wish to use. There's one more consideration: unless you have static IP addresses, those are likely to change. You can use a service like www.dyndns.com to use a host/domain name to connect your machines. It's free and easy.
    Powerbook G4, iMac (Intel), and tons of hardware sitting in the closet   Mac OS X (10.4.8)  

  • OS X Server 3.01 Install and File Sharing Problem(s)...

    Greetings...Apologies in advance for the lenght of this post...but I wanted to provide as much info as possible to the community to see if someone can see what I may be doing wrong.
    My goal:  Replace an existing iMac running Mavericks Server v3.01 that I use for Open Directory & file sharing with a new Mac Mini Server (late 2012) running Mavericks Server v3.01.  Once new server is working and users defined...I will copy the users data from the iMac to the mac Mini server...then re-purpose the iMac as a simple client (bound to the new Mac Mini server).
    Before we get to what I have been trying...I guess I should ask a few basic questions:
    Can you have 2 Mavericks servers on the same Local network? 
    Can you have 2 servers as OD Masters on the same local network? 
    Are there any "Best Practices" I can follow to set up the new server on a local network that already has a server on it? 
    Here is what I have tried:
    First off...I assign a static IP address to the Mac Mini on the router and disable the WiFi on the mac mini.  I am using a direct ethernet cable connection from the mac mini to the router.
    Next, I intall Mavericks client and configure that.  I download Sever from the App store and install it.  After it is installed...I run the "ChangeIp -CheckHostName" command in a terminal window and it reports that the "Names are the same" or something to that effect.
    Next up...I turn on Open Directory and set up a OD Master...using essentially all the defaults.  I then turn on file sharing and set up a share for the "Users" folder and set that share to use AFP & SMB and to also use it for Home folders.
    I then set up a test user as a "Local Network user" and specify that the users home folder is on the "Users" sharepoint.
    Once that is done.  I logoff the admin account on the server.  I then go to my macbook pro and bind it to the server (Users/Login options).  I see the server identified as "Mac-Mini.home", select that and it shows a green dot next to the server...which I interpret as it was bound successfully.
    I then log in to the newly created network user from newly bound macbook pro.  No errors are reported and I seem to be functioning fine.  I can use Safari.
    As a functional test (lame ... probably)  I try to log in from a bound client, save a text text file to the documents folder. Log out as the user on the bound client...Then I log in as that user on the server to see if I can edit/update that same file from thedocuments folder. 
    However, when I launch the TextEdit app on the bound client, it appears briefly on the Dock...then crashes with a system error.   I tried to read the error...but it looks greek to me.  I did see something to the effect "operation not permitted...".
    I logoff the bound macbook pro.  go to the server and log in as that newly created local network user.  I get logged in.  I am able to launch Text edit when logged in as the user.  I can add text...save the test file to the document folder.  Everything looks good.  I just cannot seem to log in as the user from both the bound client and the server and have it work normally.
    So...I am obviously not doing something either in the correct order, or not configuring a service correctly...something I am doing wrong. 
    Any suggestions are appreciated.

    A NAS should work. A proper file server will cache active files in memory. So it's not obvious use of SSD storage will speed your service. In any case figure out how to back it up and most important how you will recover after a disaster requiring full recovery.

  • ORA-19505: failed to identify file - RMAN in creating standby DR database.

    I got this error when creating standby database at remote target server. 
    ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01"
    Here is what I did:
    1.   started the listener and created corresponding tnsnames entry at remote standyb server 
    2.  startup nomount to the standby database at remote server for an empty instance (instance name dxp1p).
    3.  All rman backups are in the /backup mount point at primary and the mount point is shared on the remote server as nfs.   So, whatever have in the backup we should be able to see and read from the remote as well.
    4.  Run the following at primary rman:
    sql 'alter system archive log current';
    backup current controlfile for standby;
    sql 'alter system archive log current';
    crosscheck backup;
    crosscheck archivelog all;
    exit
    5.   Start the rman  command from primary after connected to the standby server, as the primary DB uses ASM and the standby DB uses file system for the database files:
    RUN
    SET NEWNAME FOR DATAFILE 1 to '/u01/dxp1p/data/system01.dbf';
    SET NEWNAME FOR DATAFILE 2 to '/u01/dxp1p/data/sysaux01.dbf';
    SET NEWNAME FOR DATAFILE 3 to '/u01/dxp1p/data/undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 4 to '/u01/dxp1p/data/users01.dbf';
    SET NEWNAME FOR DATAFILE 5 to '/u01/dxp1p/data/fxtntdata.dbf';
    SET NEWNAME FOR DATAFILE 6 to '/u01/dxp1p/data/fxtntindex.dbf';
    SET NEWNAME FOR DATAFILE 7 to '/u01/dxp1p/data/mlogs.dbf';
    SET NEWNAME FOR DATAFILE 8 to '/u01/dxp1p/data/dts.dbf';
    SET NEWNAME FOR DATAFILE 9 to '/u01/dxp1p/data/dxpsoa.dbf';
    SET NEWNAME FOR DATAFILE 10 to '/u01/dxp1p/data/expresso_ts.dbf';
    SET NEWNAME FOR DATAFILE 11 to '/u01/dxp1p/data/jms_ts.dbf';
    SET NEWNAME FOR DATAFILE 12 to '/u01/dxp1p/data/uup_ts.dbf';
    SET NEWNAME FOR DATAFILE 13 to '/u01/dxp1p/data/newpage_ts.dbf';
      ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
      ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
      DUPLICATE TARGET DATABASE for standby
    nofilenamecheck
    dorecover;
    ========================================================================
    But I got this error from the rman log:
    contents of Memory Script:
       set until scn  12245784375453;
       restore clone standby controlfile;
    executing Memory Script
    executing command: SET until clause
    Starting restore at 04-DEC-13
    channel aux1: starting datafile backup set restore
    channel aux1: restoring control file
    channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01
    channel aux1: ORA-19870: error while restoring backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01
    ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel aux1: starting datafile backup set restore
    channel aux1: restoring control file
    channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_20131204_833310136_464
    channel aux1: ORA-19870: error while restoring backup piece /backup/dxp1p/online/DXP1P_20131204_833310136_464
    ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_20131204_833310136_464"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel aux1: starting datafile backup set restore
    channel aux1: restoring control file
    channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-00
    channel aux1: ORA-19504: failed to create file "/oracle/product/11g/dbs/u02/dxp1p/control/control02.ctl"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 1
    ORA-19600: input file is control file  (/u01/dxp1p/control/control01.ctl)
    ORA-19601: output file is control file  (/oracle/product/11g/dbs/u02/dxp1p/control/control02.ctl)
    Finished restore at 04-DEC-13
    contents of Memory Script:
       sql clone 'alter database mount standby database';
    executing Memory Script
    sql statement: alter database mount standby database
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/04/2013 19:06:13
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 12/04/2013 19:06:13
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    ORA-00205: error in identifying control file, check alert log for more info
    =========================================
    Not sure why, can somebody help?   Appreciated!

    I used company regular script to login to standby instance as sys user from primary DB RMAN as oracle OS user and sys DB user.   We normally run this way for years.
    Like this:
    $ORACLE_HOME/bin/rman target=/ auxiliary 'sys/sys0rapr321!'@dxp1p_s11 CMDFILE=${HOME}/dba/scripts/rman_cr_dr.cmd
    rman_cr_dr.cmd:
    RUN
    SET NEWNAME FOR DATAFILE 1 to '/u01/dxp1p/data/system01.dbf';
    SET NEWNAME FOR DATAFILE 2 to '/u01/dxp1p/data/sysaux01.dbf';
    SET NEWNAME FOR DATAFILE 3 to '/u01/dxp1p/data/undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 4 to '/u01/dxp1p/data/users01.dbf';
    SET NEWNAME FOR DATAFILE 5 to '/u01/dxp1p/data/fxtntdata.dbf';
    SET NEWNAME FOR DATAFILE 6 to '/u01/dxp1p/data/fxtntindex.dbf';
    SET NEWNAME FOR DATAFILE 7 to '/u01/dxp1p/data/mlogs.dbf';
    SET NEWNAME FOR DATAFILE 8 to '/u01/dxp1p/data/dts.dbf';
    SET NEWNAME FOR DATAFILE 9 to '/u01/dxp1p/data/dxpsoa.dbf';
    SET NEWNAME FOR DATAFILE 10 to '/u01/dxp1p/data/expresso_ts.dbf';
    SET NEWNAME FOR DATAFILE 11 to '/u01/dxp1p/data/jms_ts.dbf';
    SET NEWNAME FOR DATAFILE 12 to '/u01/dxp1p/data/uup_ts.dbf';
    SET NEWNAME FOR DATAFILE 13 to '/u01/dxp1p/data/newpage_ts.dbf';
      ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
      ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
      DUPLICATE TARGET DATABASE for standby
    nofilenamecheck
    dorecover;
    exit
    ==========================
    Oinstall is a group.   I am not sure to use oinstall as a user?

  • Sharing Violation in DreamWeaver CS6

    Hi there,
    I am experiencing a 'sharing violation' message in Dreamweaver CS6 when using a web development tool - Mixture. http://www.mixture.io
    Basically, when i try to save files in dreamweaver, whilst mixture is running, I get a message saying:
    I can eventually save the file, but only because the original file that i was trying to save gets deleted somehow.
    Having looked around google, and these communities, it seems this is a common problem with Dreamweaver.
    Anyone have any ideas how to stop these type of sharing violations ? - I am using wamp as a local server for development with apache 2, and php.
    Thank you 

    Hi there Harshit,
    Thanks your your help,
    I've tried the suggestions in the posts by yourself, and your colleague - unfortunately none have worked:
    removing any temp files
    searching for hidden files
    turning off synchronisation
    recreating cache,
    turning off cache
    turning off indexing on folders
    turning off library options in windows explorer.
    I still get sharing violation errors - it seems to be a common thread with Dreamweaver. Perhaps it's something that needs to be changed for the windows version.
    Thank you

Maybe you are looking for

  • My IMAC died for no apparent reason

    I have an Indigo Imac G3 with 500Mhz Processor, 20GB Hard drive, 256Kb of ram, plain old CD ROM and the latest update to OS10.2. This past weekend was the last time I used my computer. It is always shut down since it is never continuously in use. The

  • HP dv7-3085dx Win7/64-bi​t Hanging/Cr​ashing with WD My Book eSATA 1GB Attached

    I have an HP dv7-3085dx, 500GB internal SATA, 6GB RAM, upgraded from Win7 Home Premium 64-bit to Win7 Ultimate, with a Western Digital 1GB MyBook attached to the eSATA port.  All the latest Windows Updates are installed as of yesterday (11/23).  I've

  • Clear up Usage tracking in Version 8

    <p>Is there a way to clear up the usage tracking records inV8_USAGE_ATTRIBUTES table to clear up the table.  The has 2.6million rows and slowing up the the migration to sytem 9.  Anythoughts on this?</p>

  • LR 5.7.1 won't import

    The import function no longer recognizes ANY photos for import from my 5D mark lll.  The camera is fine. 

  • How do you trace an error in a formula/function?

    I have a very complex formula in one of my cells, and there is an error. The little help box that explains the error doesn't help me, as I still can't find the error? Is there any way to trace the error? I know that Excel has such a function, I was h