Thursday, September 15, 2011

How to find and remove all .lock file in CQ

Why: Sometime even after stopping CQ instance all the lock file does not get deleted, Causing problem in restart.

Use following command

find <path to /crx-quickstart> -name "\.lock" -exec rm '{}' \; -print

Simple unix stuff huh :)

2 comments:

  1. Goto the specific path and type the below commands
    ls -la (To find hidden files starting with dot)
    rm

    Regards
    Sathish Goud

    ReplyDelete
    Replies
    1. Hello Satish,

      Thank you for your feedback.

      Yogesh

      Delete