Bloody instance already running
Hello folks :)
I have a weird problem with a program that I cannot run, because the sytem thinks it's already running - while this is not the case. Code:
[sabin@mdv ~]$ amule I tried removing and then reinstalling the program's package : that changed nothing. I changed KDE's defaults, so that it would boot with a blank/virgin session, without any previous parameters : that changed nothing. Of course, there is no amule program running, ksysguard (or a simple ps -A) didn't show any sign of it. If I run amule as another user, for instance, this time the program will run. So well, would you have any idea how I could solve that problem and be finally able to be able to run again my program ? Any additional info required, I'll fetch it :) Thanks a lot if you can help :) |
You probably have an errant pid entry. go into /proc and look into the pid directories, you should be looking at the symlinks exe. one of these probably will be pointing a aMule, delete that entry and voila.
But PLEASE make sure that it really isn't running that pid by using kill first. |
Thanks for the reply, Leonscape.
It took me quite a while for finding how to check all the exe symlinks (the list kept refreshing too fast), a search for "exe" and a quick glance of of of the columns did the trick ^^ But alas, after a search, I can tell that no exe symlink is pointing at /usr/bin/amule :( Isn't it weird, after all, since another user can run the program perfectly ? Thanks again, even if it didn't work ;) Would you have an other idea, perhaps ? :) |
Try looking in the temp directories, maybe its left something behind something its checking, failing and throwing up an unrelated error. check also any config files in the users local directory . directories and files are common, maybe one of them is corrupt.
|
Check for a lock file in the .amule directory of your home directory.
|
Erm, I have indeed a lock file "muleLock" in the .amule directory, and though it's a binary file, the file contains 4910, which could be a PID.
And, I just tested, that was REALLY the cause of the problem. How weird ?? Why such a file's presence would induce the program into already believing an instance was already running ? o_O Thanks a great lot, Jtshaw :-) |
Quote:
|
Thanks again for the info, then :o)
|
All times are GMT -5. The time now is 09:06 AM. |