[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Can't start Sup, allegedly because of a locked index.



I had this problem myself, exactly as described by Shadowfirebird.

I cant 100% recall the steps it took to resolve it, but I know I had to
delete the ~/.sup/lock file, and then I manually killed all instances of
sup just to be sure.  Maybe I did something else as well - maybe I didn't,
It was only a few weeks ago but I got such a bad memory.

Hope this helps,

Paul Grove

Excerpts from Shadowfirebird's message of Thu Dec 02 12:36:21 +0000 2010:
> Well, I'm not seeing any errors.  But the log file does explain what is
> going on, I think.   Sup says the other process that it is trying to kill
> .... is itself; the process that is doing the killing.
> 
> I can still try and upload the log file if anyone is interested; not sure
> where right now.  Would a public folder on Dropbox be okay?
> 
> Relevant last few lines pasted below.   Note, three from the bottom,
> "kill(18723, SIGTERM)".   18723 is the *current* process number, so if I'm
> reading this right, it's self-destructing.
> 
> >>>>
> write(2, "Error: the index is locked by another process! User '' on\nhost ''
> is running  with pid .\nThe process was alive as of at least 4365 minutes
> ago.\n\n"..., 145) = 145
> write(2, "Should I ask that process to kill itself (y/n)? "..., 48) = 48
> fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x7f7d384bc000
> read(0, "y\n"..., 1024)                 = 2
> write(2, "Ok, trying to kill process..."..., 29) = 29
> write(2, "\n"..., 1)                    = 1
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> kill(0, SIGTERM)                        = 0
> --- SIGTERM (Terminated) @ 0 (0) ---
> rt_sigreturn(0xf)                       = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigaction(SIGINT, {SIG_DFL}, {0x7f7d380483e0, [INT],
> SA_RESTORER|SA_RESTART, 0x7f7d37391040}, 8) = 0
> rt_sigaction(SIGTERM, {SIG_DFL}, {0x7f7d380483e0, [], SA_RESTORER,
> 0x7f7d37da0080}, 8) = 0
> kill(18723, SIGTERM)                    = 0
> --- SIGTERM (Terminated) @ 0 (0) ---
> +++ killed by SIGTERM +++
> <<<<

Attachment: signature.asc
Description: PGP signature

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk