为什么在Arch Linux上Dropbox会说“杀死”?


9

我正在尝试在Arch Linux上安装Dropbox。我已经安装了dropboxdropbox-cli,至少安装了二进制文件。

当我dropbox自己运行时,它会Killed以红色字体显示。当我运行时dropbox-cli start,它会打印出:

Starting Dropbox... Dropbox isn't running!
Done!

然后a dropbox-cli status将返回Dropbox isn't running!

我已连接到以太网。

我应该从这里去哪里?


编辑以包含strace:

futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x1285920, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xa104e4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 158, {1430164659, 469752000}, ffffffff) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xa10564, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa10560, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa105a0, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa104e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 164, {1430164659, 469845000}, ffffffff) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xa10564, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa10560, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa105a0, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa104e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 170, {1430164659, 469934000}, ffffffff) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xa10564, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa10560, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa105a0, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 0
futex(0xa104e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa104e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa104e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 177, {1430164659, 470056000}, ffffffff) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xa10564, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa10560, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa105a0, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xa104e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xa104e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xa10520, FUTEX_WAKE_PRIVATE, 1)  = 1
select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
pipe([5, 6])                            = 0
fcntl(5, F_GETFD)                       = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fcntl(6, F_GETFD)                       = 0
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd8e32809d0) = 22277
close(6)                                = 0
read(5, "", 50000)                      = 0
close(5)                                = 0
wait4(22277,  <unfinished ...>
+++ killed by SIGKILL +++

你有strace吗 如果是这样,请尝试运行strace dropbox并发布输出(或至少最后20或30行)。(不要使用评论;这样的补充信息被认为是问题的一部分,因此您应该编辑问题并在此处添加信息。)
G-Man说'Reinstate Monica'15

1
您尝试过sudo吗?
Esref 2015年

1
您应该将-f与strace一起使用
rrauenza '16

2
导致SIGKILL突飞猛进的进程通常是因为它们消耗了过多的内存,然后内核中称为“内存不足杀手”的部分将其杀死。检查是否dmesg有解释此类情况的消息。
Josip Rodin

1
只是想添加它们dropboxdropbox-cli它们是非官方的软件包,不是Arch Linux的一部分。理想情况下,在Linux上运行的Dropbox的问题应针对Dropbox开发人员。
亚历山大

Answers:


1

我已经看到这种行为很长时间了。似乎arch和gentoo投寄箱软件包的工作方式与预期的不同:它们基本上是包装程序,它们是初始版本,能够将最新的二进制文件下载到$ HOME / .dropbox-dist /中并运行该二进制文件。通常,如果仅运行dropbox,它将启动$ HOME / .dropbox-dist / dropboxd并杀死原始进程。ps -ef | grep dropbox启动后您检查了吗?这是我通常看到的:

$ strace dropbox
....
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd144c329d0) = 1530
close(6)                                = 0
read(5, "", 50000)                      = 0
close(5)                                = 0
wait4(1530,  <unfinished ...>
+++ killed by SIGKILL +++
Killed
$ ps -ef | grep dropbox
me   1530     1 99 09:05 pts/6    00:00:32 /home/me/.dropbox-dist/dropbox-lnx.x86_64-16.3.27/dropbox /newerversion

回复:dropbox-statusreturning Dropbox isn't running!:这是一个难题,它会驳斥我的假设,如果我有足够的代表来评论而不是回答,以确保您正在跑步ps,我会这样做。


1

我在dropbox start可以简单打印的Gentoo盒子上遇到了同样的问题Killed。就我而言,一个简单的

rm -rf ~/.dropbox-dist

解决了问题。dropbox然后再次运行,下载了正确版本的守护程序二进制文件,并要求我再次登录,一切正常。


0

整个周末,我的机器都遇到了这个问题。我在办公室远程进入我的机器。事实证明,IT部门的一些天才在星期五更改了DNS服务器名称。尝试ping Google:

ping google.com

而且,如果您什么都没得到。这就是问题。您必须联系您的IT部门,并根据他们告诉您的内容更改/etc/resolv.conf文件。


另外,我知道这是一个较晚的答案。只要把它放在这里,以防有人需要它。
Wilmer E. Henao,
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.