File locked, need to unlock it

Hi all:
Due to a system crash I have ran fsck to recover the file systems. Then, when rebooting the system, I have found that a Veritas service, called qlogck, claims that its configuration file (/etc/qlogck.conf) is locked. So I must type ctrl-d to continue the boot process. How could I unlock this file, so that the boot process run normally?
Thanks and regards,
Felix.

<the-sound-of-crickets>
The reason I'm asking, we have a bunch of computers we inherited that have some permissions issues within each user's respective home directory ("~"). The issue effects Acrobat Pro X's ability to launch ("Internal error occurred") since it tries to get access files/folders it doesn't have access to when the user launches. Recursively setting ownership to the respective user fixes the problem (and follows Apple's guidelines). However, that one file appears to have the unix file lock set (man chflags). So we are using a pre-installation script on our push policy to loop through every home directory. It appears the above file is the only one that won't let us change permissions.
Don

Similar Messages

  • My iphone is locked, need to unlock it.

    I have purchased an iphone from a friend.
    He bought it from USA and sod it to me.
    The phone shows Verizon lock.
    I need to unlock it.
    Kindly Help!

    Not going to happen unless you are a verizon wireless customer. Sorry
    1-800-922-0204
    Good Luck, Elector

  • HT1212 my i phone is locked need to unlock it

    My I phone is locked how can i unlock it

    Assuming you mean the phone's screen lock, you were reading the instructions on how to resolve it when you posted your request. Here it is again: http://support.apple.com/kb/HT1212.

  • Why is this file locked (man chflags), does it need to be, and is it safe to unlock it?

    Why is this file locked (man chflags), does it need to be, and is it safe to unlock it?
    ~/Library/Application Support/Adobe/Enterprise/Resources/Resource_3_1.db
    Type this into a terminal in OS X, the above file appears to have a flag set to lock.
    x-man-page://chflags

    <the-sound-of-crickets>
    The reason I'm asking, we have a bunch of computers we inherited that have some permissions issues within each user's respective home directory ("~"). The issue effects Acrobat Pro X's ability to launch ("Internal error occurred") since it tries to get access files/folders it doesn't have access to when the user launches. Recursively setting ownership to the respective user fixes the problem (and follows Apple's guidelines). However, that one file appears to have the unix file lock set (man chflags). So we are using a pre-installation script on our push policy to loop through every home directory. It appears the above file is the only one that won't let us change permissions.
    Don

  • My phone is on disable and ask me to connect to itunes and when i try it says i need to unlock my phone? how can i unlock it if its locked ?

    my phone is on disable and ask me to connect to itunes and when i try it says i need to unlock my phone? how can i unlock it if its locked ? please help?

    Connect in recovery mode according to http://support.apple.com/kb/HT1212

  • My iphone says 'iphone is disabled connect to itunes' and when i do connect it, it says 'iphone could not connect to itunes because it is locked with a password and you need to unlock it but it doesnt let me as it is diabled???????

    my iphone says 'iphone is disabled connect to itunes' and when i do connect it, it says 'iphone could not connect to itunes because it is locked with a password and you need to unlock it but it doesnt let me as it is diabled???????

    hi, may i know how to restore and put it on recovery mode??
    as I faced the same problem as you now...
    Thanks

  • HT4113 uh my phone is broken and won't turn on. so I'm getting a new phone and need to back it up but i need to unlock my passcode to backup but my phones locked sooooo idk ;/

    uh my phone is broken and won't turn on. so I'm getting a new phone and need to back it up but i need to unlock my passcode to backup but my phones locked sooooo idk ;/

    Nothing you can do, sorry to say.  If it will not turn on there is absolutely nothing you can do now to backup what is on it.  The whole point of a backup is to have made it before disaster strikes.  Now, with a dead iPhone, all you can do is accept the loss of your data.
    You will be able to re-download iTunes and App store purchases since they are tied to your AppleID, not your device.
    Have you been using iCloud for backup?  If you have, then you should have a backup in iCLoud you can use to restore your replacement phone with.  iCloud backups are automatic (once every 24hrs, whenever your device is on wifi, plugged in and asleep).

  • Do I need to unlock an iphone 4s if it is locked t...

    Hello,
    My iphone 4s is locked to EE, do I need to unlock the phone to use a BT mobile sim? - as BT mobile uses the EE network?
    Thanks,
    Adrian

    but a case and then don't drop it
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Apple locked my account due to un authorised payments. i need it unlocked to update my apps

    Apple locked my account due to un authorised payments. i need it unlocked to update my apps
    any one know how as Apple can't!

    Click here, phone Apple, and ask for the Account Security team.
    (81598)

  • This 3G iphone is locked. I need to unlock it..how can I unlock my 3G iphone?

    I need to unlock my 3G iphone..how can I do it?

    If you mean that you want to unlock it from your network provider:
    - Ensure that you're out of contract. If you're still in contract then you may have to pay cancellation fees.
    - Contact your network provider who may be able to unlock your phone for you.
    Depending on your carrier, this may cost a small fee of around £10/$15.

  • Ive locked my phone and i need to unlock it

    ive diabled my phone for the last time! i need to unlock it but i kept getting my password wrong and now i connected it to the computer but it isnt doing anything.

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...

  • DW CS3 cross-platform check in/out file locking

    Here is my setup:
    * Apple X-Serve file server (as a mapped drive on several
    Windows XPsp2
    machines and a shared drive on one Mac 10.4)
    * Up-to-date Dreamweaver CS3 on every machine (3 windows, 1
    mac)
    * Enable file check in and check out (site preference for all
    installations)
    * Contribute compatibility (site preference for all
    installations)
    The problem is that when a file is checked in on the mac, the
    file becomes
    locked such that the windows machines can't check out the
    file. All of the
    windows machines check out and check in files with no problem
    if the mac hasn't
    touched them. Once the mac has checked in a file, I have to
    "unlock" the file
    via the right-click context menu on the file. (This unlock is
    called "Turn off
    Read Only" on the windows version.)
    Windows FTP Log on check out after mac check in:
    /.../public_html/help/faq.php - locked
    /.../public_html/help/faq.php - error occurred - An FTP error
    occurred -
    cannot get faq.php.
    /.../public_html/help/faq.php - unlocked
    Apparently the Mac DW CS3 version of "Check in" and the
    Windows DW CS3 version
    of "Check in" are different and incompatible. Has anyone else
    had this problem
    or know of a solution? Removing the Mac is not an option.
    This may or may not be related, but whenever a file is opened
    on the operating
    system other than last edited (mac opens windows edited file
    or windows opens
    mac edited file), the "Overwrite local copy" dialog shows up
    when checking out
    a file. When a compare is made of the server/local files,
    there are no changes.
    Both mac and windows have the same line ending settings in
    the preferences.
    http://www.hostingforum.ca/700363-cs3-cross-platform-check-out-file-locking.html
    I'm having exactly the same issue. Has anyone experienced
    this before, and if so have a solution?
    Thanks in advance!

    In your Site definition, you need to specify the Remote Info
    of your
    server, and then "Enable file checkin and checkout".
    HTH,
    Randy
    djdeel wrote:
    > I am unable to check out a file using the context menu
    when right clicking on the file.

  • HT1212 i forgot my ipad 3 password and i need to unlock it

    i forgopt my ipad passcode and need to unlock it

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • File locking with OSX Server & Microsoft Word

    We have a small office LAN based on a Airport Extreme bases station. Periodically Microsoft Word reports a break in connection to the shared folder where we store documents to get disconnected. When that happens and the user reconnects to the share, the user gets the file read-only message for the Word document that was open at the time.
    I have found that in order to clear the read-only flag, I have to restart the server and open the Word file on the server with the ID of the user who was editing the file on the remote computer. Only that seems to clear the file locking that causes the file to be read-only.
    I cannot figure out a less drastic way to release the lock file. I don't see any hidden temp files in the same folder as the document that is locked for editing found by ls -a or in the root direction of the shared folder in the .TemporaryItems/folders.<UID> that seems to be holding the lock.
    I have run chflags nouchg <Word file> from Terminal, but that seems to have no effect either. I also used xattr to see if there were any locks held that way, but I don't see anything that way either.
    File sharing to Macs only, which are configured just to use AFP through OSX Server.
    Does anyone understand how the file locks of Word documents can be released directly with out restarting the server?
    I should add that the underlying problems seems to be WiFi related. The behavior is that the WiFi connection seems to break long enough that the shared volumes disconnects. Outlook also causes a break. This behavior seems to have started with 10.9 and the purchase of new Retina Display MacBook Pros. I turned off AppNap on the Office applications but that is not clearly helpful. I also have been told the problem seems more likely to occur when Word is open in the background and another program like Outlook is in the foreground.
    Any suggestions appreciated.

    Apple write an operating system and also produce file sharing software as part of that to be used as a file server. Apple provide documentation for third-party software developers on how they should write software to work with Apple's software and also give those developers early access to new versions so those third-party developers can test and if needed make adjustments and issue updates to cope with any Apple changes.
    Some third-party developers are good at dealing with this, some are bad, and some totally ignore what Apple does and give the impression they don't care if their product works properly or not. I think we can all judge where Microsoft sits.
    It appears Microsoft have never paid any attention in particular to how Apple expect file-locking to be handled when accessing files on a Mac server. There have been problems for years and years and years with Office. Two other problems I have seen which seem different to yours but probably related are -
    With Office documents it is supposed to be possible for more than one person to edit the same file at the same time, consider it a miracle if this actually works
    With Office in particular Word, there is an auto-save function, unfortunately the way this seems to be implemented it seems that Word creates a new temporary file each time it auto-saves the document and keeps all the previous temporary files open still, this eventually means potentially over a hundred temporary files are open - just for one Word document and you can then hit a limit on the total number of files you are allowed to have open at the same time. At this point further auto-saves fail, and you also encounter great difficulty doing a real full save of the document.
    I do not hold Apple completely blameless over this issue, it is likely their file-locking implementations change too often, and have inadequate documentation, however even considering this a company the size of Microsoft with the amount of sales (and profit) they derive from Office for the Mac has no excuses at all for failing to put the effort in to resolve any such clearly critical problems.
    We could go on and on about other areas where Microsoft don't play by the (software) rules. Even in Windows Office does not obey the standard print dialog rules Microsoft specified themselves!
    Unfortunately not only is Office for Mac upgraded infrequently, but even when new paid for upgrades are released Microsoft have a history of still not fixing bugs. It goes without saying that a mere free update is even less likely to actually fix a bug, typically such free updates only address security issues. The next version of Office is going to be Office for Mac 2014 see http://www.macworld.com/article/2106643/microsoft-will-release-a-new-version-of- office-for-mac-this-year.html
    One area I confidently predict Microsoft not to resolve in Office for Mac 2014 is that fact that Word for Mac still does not support right-to-left languages like Hebrew and Arabic. This is despite the fact that OS X itself has supported this for years and years, and despite the fact other Mac programs support this including the free TextEdit and Pages - both of which can read Word files. Some people may remember that at one point the Israeli Government temporarily banned all Microsoft software over this issue. See http://apple-beta.slashdot.org/story/03/10/15/2215249/israeli-government-suspend s-microsoft-contracts This issue goes back over TEN years!!
    I note that Microsoft has now taken their OfficeForMac blog offline, probably due to the weight of criticisms. I would not say it is due to out-right anti-Microsoft hate, that war ended long ago. We just want products that work. I myself do use Microsoft products, even at home - where they are the best solution, so I use Microsoft Media Center for example. Sadly this is now being neglected by Microsoft.

  • File lock() method problem

    I know this may be a common question, but can someone explain why this code:
    import java.io.*;
    import java.nio.channels.*;
    import java.util.*;
    public class TestFileLock
         private static File file;
         private static RandomAccessFile fileRandom;
         private static FileChannel fileChannel;
         private static FileLock fileLock;
         private static String process;
         public static void main(String[] args)
              process = args[0];
              try
                   file = new File("/home/fauxn/work/blast/java/java_blast/test.log");
                   //fileWriter = new FileWriter(file, true);
                   fileRandom = new RandomAccessFile(file, "rw");
                   fileChannel = fileRandom.getChannel();
                   for(int i =0; i < 1000; i++)
                        writeLogFile(process + ": happy days\n");
              catch(Exception exception)
                   System.out.println(exception.getMessage());
                   exception.printStackTrace();
         * Method lockes the logFile and then append the string to the file and unlocks the file.
         * @author Noel Faux.
         * @param s The string to be written to be appended to the file.
         private static void writeLogFile(String s) throws IOException
         System.out.println(process + ": trying to lock the log file");
         fileLock = fileChannel.tryLock();
         while(fileLock == null)
                   System.out.println(s + ": waiting!!!!");
                   fileLock = fileChannel.tryLock();
         System.out.println(s + ": logfile locked");
              fileRandom.seek(fileRandom.length());
         fileRandom.write(s.getBytes());
              fileLock.release();
              System.out.println(s + ": logfile unlocked");
    produces this error:
    Invalid argument
    java.io.IOException: Invalid argument
    at sun.nio.ch.FileChannelImpl.lock0(Native Method)
    at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:528)
    at java.nio.channels.FileChannel.tryLock(FileChannel.java:967)
    at TestFileLock.writeLogFile(TestFileLock.java:43)
    at TestFileLock.main(TestFileLock.java:23)
    on a intel linux box, java 1.4 and this code works fine:
    import java.io.*;
    import java.nio.channels.*;
    import java.util.*;
    public class TestFileLock
         private static File file;
         private static RandomAccessFile fileRandom;
         private static FileChannel fileChannel;
         private static FileLock fileLock;
         private static String process;
         public static void main(String[] args)
              process = args[0];
              try
                   file = new File("/home/fauxn/work/blast/java/java_blast/test.log");
                   //fileWriter = new FileWriter(file, true);
                   fileRandom = new RandomAccessFile(file, "rw");
                   fileChannel = fileRandom.getChannel();
                   for(int i =0; i < 1000; i++)
                        writeLogFile(process + ": happy days\n");
              catch(Exception exception)
                   System.out.println(exception.getMessage());
                   exception.printStackTrace();
         * Method lockes the logFile and then append the string to
    * the file and unlocks the file.
         private static void writeLogFile(String s) throws IOException
         System.out.println(process + ": trying to lock the log file");
         fileLock = fileChannel.tryLock(0, fileRandom.length(), false);
         while(fileLock == null)
                   System.out.println(s + ": waiting!!!!");
                   fileLock = fileChannel.tryLock(0, fileRandom.length(), false);
         System.out.println(s + ": logfile locked");
         fileRandom.seek(fileRandom.length());
         fileRandom.write(s.getBytes());
         fileLock.release();
         System.out.println(s + ": logfile unlocked");
    Any suggestions welcome, or is this a bug????
    Thanks in advance :)

    Its a known bug. The default tryLock() method calls the parametered
    tryLock method as follows
    tryLock(0,Long.MAX_VALUE,false);unfortunately under linux the parameter Long.MAX_VALUE is too big for
    the underlying OS file locking. This causes the IOException to be thrown
    It has been fixed in version 1.4.1 i believe.
    For more info
    http://developer.java.sun.com/developer/bugParade/bugs/4532474.html
    matfud

Maybe you are looking for