Can't log into Skype: complains of the existence of another instance when there isn't one
Solution 1
You can try deleting your ~/.Skype
folder (remember to backup first). This usually fixes any problems of this kind.
According to sixones:
Rather than wiping the entire folder, you can close Skype and delete these files;
~/.Skype/shared.lck
,~/.Skype/username/*.lock
,~/.Skype/username/*-journal
. Deleting them all clears out the lock and keeps your chat history and preferences.
You can do this by running the following command in a terminal:
rm ~/.Skype/your-username-here/shared.lck, ~/.Skype/your-username-here/.lock, ~/.Skype/your-username-here/*-journal
Where "your-username-here" is your Skype username.
You can also use the file manager to do this. Simply navigate to your ~/.Skype/your-username-here
folder and delete the files manually.
Solution 2
You can see if another skype instance is running if you type ps -ax
. If you see a skype instance in the list, you could try to kill it with kill -kill XYZ
. XYZ would be the pid - a most number with 4-5 digits. Good luck - maybe it works ;)
Related videos on Youtube
![Knowledge Cube](https://i.stack.imgur.com/EOqLt.png?s=256&g=1)
Knowledge Cube
Updated on September 18, 2022Comments
-
Knowledge Cube almost 2 years
Whenever I try to log into Skype in Ubuntu 11.10 64-bit, it always says "Sign in failed" and "Another Skype instance may exist", thus preventing me from being able to log in.
I've had this kind of error in the past on previous Ubuntu releases where I would forget I already had Skype running and try opening it in the Dash again, and it was easily solved by just closing the extra window. But this time is different, and much more frustrating, because I get this error even after starting from a cold boot or running
killall skype
...times when AFAIK Skype should not even be running at all. Skype doesn't even show up in the Processes tab of System Monitor before I try starting it up, so I am pretty sure there is no second instance running.I am using the 2.2.0.35-1 version of Skype from the Ubuntu Software Center. I have already tried reinstalling it to no avail. Any other suggestions?
Other things I've tried:
Tried the first answer to be posted to get the following output:
christopher@Xyz:~$ ps -ax | grep skype Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 10072 pts/0 S+ 0:00 grep --color=auto skype christopher@Xyz:~$ kill -kill 10072 bash: kill: (10072) - No such process
I have also tried a suggestion from the comment to this answer for a very similar problem (specifically, running
pkill skype
andpkill -9 skype
), but that didn't work either. -
Knowledge Cube over 12 yearsNope, didn't work. I'll post my output in an update to my question.
-
Ewald over 12 yearsps -ax alone should do fine. I get the same result as you did, when I type ps -ax |grep skype. Well I guess you have to scroll a little bit.
-
Ewald over 12 yearsOk I tried. If you run a skype session, the output would be sth like: 17261 ? Sl 0:03 skype 17305 pts/0 S+ 0:00 grep --color=auto skype So there is no skype process running your computer whatsoever. Maybe it is an Internet connection problem - sth like a firewall. Sorry I can't help you more :(
-
Knowledge Cube over 12 yearsI do have a working wireless Internet connection and I haven't set up my firewall just yet. But thanks anyway.
-
Knowledge Cube over 12 yearsIt made me run through the EULA again and have to reset all my options, but otherwise worked like a charm!
-
Knowledge Cube over 12 yearsYeah, but after seeing that everything was working I decided not to keep the backup. It seems after restarting Skype that it has created a new
.Skype
folder anyways. -
Jason Southwell over 12 years@WarriorIng64: oh well, the next time you need to do it, you can preserve chat logs etc, but I guess you don't need to lol.
-
sixones over 11 yearsRather than wiping the entire folder, you can close Skype and delete these files;
~/.Skype/shared.lck
,~/.Skype/username/*.lock
,~/.Skype/username/*-journal
. Deleting them all clears out the lock and keeps your chat history and preferences.