Productive Linux


 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Don't have an account?
Sign up to
Forgot your password?

Skype File Locking or Why lsof is an Essential Command
13 May 2013 @ 21:00 BST
by Paul

Recently, I had to close down Skype and try to log into it again, but Skype wouldn't let me:

"Another skype instance may exist", it kept telling me.

This is a common problem. Most of the advice on the Internet is to delete the ~/.Skype/shared.lck and ~/.Skype/USERNAME/config.lck files. This didn't work for me.

However, lsof | grep .Skype revealed that files in the Skype folder were being used. ps aux told me that they were being used by Chromium, because I had clicked on a link in a Skype chat window. It's crazy that a Chromium process spawned by Skype should lock the Skype directory but there you have it. I was able to kill the Chromium and log into Skype.

This is why lsof is an essential command.

Hat tip.

Comments disabled