View previous topic :: View next topic |
Author |
Message |
ChadJoan n00b
Joined: 17 Oct 2010 Posts: 38
|
Posted: Fri Apr 16, 2021 3:10 am Post subject: dropbox: "No such file or directory" |
|
|
I am trying to run dropbox on a headless machine.
When I try to run the "dropbox" command, as either user or root, it gives me this error:
Code: |
root $ dropbox start
/opt/bin/dropbox: line 15: /opt/dropbox/dropbox: No such file or directory
|
Earlier, I had this error too:
Code: |
root $ /etc/init.d/dropbox start
/etc/init.d/dropbox: line 19: /home/ssh_uploader_anon/.dropbox/dropbox.pid: No such file or directory
|
I fixed that one by running Code: | mkdir /home/ssh_uploader_anon/.dropbox | as that user.
But now:
Code: |
ssh_uploader_anon $ dropbox start
/opt/bin/dropbox: line 15: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ ll /opt/dropbox/dropbox
-rwxr-xr-x 1 root root 12475493 Apr 15 22:39 /opt/dropbox/dropbox
ssh_uploader_anon $ file /opt/dropbox/dropbox
/opt/dropbox/dropbox: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=54c03dd637a392112533dac213a24d2f64164563, not stripped
ssh_uploader_anon $ /opt/dropbox/dropbox start
bash: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ /opt/dropbox/dropbox help
bash: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ /opt/dropbox/dropbox --help
bash: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ dropbox
/opt/bin/dropbox: line 15: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ dropbox --help
/opt/bin/dropbox: line 15: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ dropbox help
/opt/bin/dropbox: line 15: /opt/dropbox/dropbox: No such file or directory
ssh_uploader_anon $ strace /opt/dropbox/dropbox start
execve("/opt/dropbox/dropbox", ["/opt/dropbox/dropbox", "start"], 0x7ffed6e60888 /* 45 vars */) = -1 ENOENT (No such file or directory)
strace: exec: No such file or directory
+++ exited with 1 +++
|
I suspect the `/opt/dropbox/dropbox` executable is trying to open some file and failing, but produces a pretty meager error message. I am not sure what file it's trying to open, so I can't help it this time. I tried using `strace` (as above), but the output doesn't make sense to me: I don't understand why that execve call would fail, given that `/opt/dropbox/dropbox` totally exists.
Any ideas? |
|
Back to top |
|
|
ChadJoan n00b
Joined: 17 Oct 2010 Posts: 38
|
Posted: Sat Apr 17, 2021 11:46 am Post subject: |
|
|
Taking a hint from the related Dropbox thread, I have updated from =net-misc/dropbox-118.4.460 to =net-misc/dropbox-120.4.4598:
Code: | root $ eix -e net-misc/dropbox
[I] net-misc/dropbox
Available versions: 118.4.460^ms ~119.4.1772^ms (~)120.4.4598^ms {X selinux}
Installed versions: 120.4.4598^ms(07:15:09 04/17/21)(-X -selinux)
Homepage: https://www.dropbox.com/
Description: Dropbox daemon (pretends to be GUI-less)
|
Unfortunately, on my system, the problem remains.
(After the update, I also tried running `/etc/init.d/dropbox restart` as root, then ran `source /etc/profile` as the user, just to remove some possibilities of stale system state persisting the problem. After that I'm still getting the "No such file or directory" error.) |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Sat Apr 17, 2021 2:56 pm Post subject: |
|
|
What is the output of emerge --verbose --info net-misc/dropbox ; ls -l /lib64/ld-linux-x86-64.so.2 ; file -L /lib64/ld-linux-x86-64.so.2? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|