pnbalaji wrote:...
Your last command is showing the pid of the dropbox deamon, so it should be running.
That command returns a pid for me, also, but the daemon has segfaulted. I've been to google and forum search. As Dropbox was working for me in Mageia 5 and stopped since the distribution upgrade to 6, I'll post here, the most relevant thread of all I've read.
- Code: Select all
[rolf@p8z68 .dropbox-dist]$ ~/.dropbox-dist/dropboxd &
[1] 18484
[rolf@p8z68 .dropbox-dist]$ ps aux | grep dropbox
rolf 18553 0.0 0.0 33476 892 pts/0 S+ 19:10 0:00 grep --color dropbox
[1]+ Segmentation fault (core dumped) ~/.dropbox-dist/dropboxd
[rolf@p8z68 .dropbox-dist]$ dropbox status
Dropbox isn't running!
[rolf@p8z68 .dropbox-dist]$ ps aux | grep dropbox
rolf 18658 0.0 0.0 33476 860 pts/0 S+ 19:11 0:00 grep --color dropbox
[rolf@p8z68 .dropbox-dist]$ dropbox start
Starting Dropbox...Dropbox isn't running!
Done!
[rolf@p8z68 .dropbox-dist]$ ps aux | grep dropbox
rolf 18706 0.0 0.0 33476 964 pts/0 S+ 19:12 0:00 grep --color dropbox
[rolf@p8z68 .dropbox-dist]$ ./dropboxd
Segmentation fault (core dumped)
[rolf@p8z68 .dropbox-dist]$ ps aux | grep dropbox
rolf 18753 0.0 0.0 33476 860 pts/0 S+ 19:12 0:00 grep --color dropbox
[rolf@p8z68 .dropbox-dist]$
This morning, I saw dropbox was not syncing and I found it wasn't running. Several times, I've removed and re-installed dropbox* rpms, removed ~/.dropbox* and started over. Currently and typically, I have installed:
- Code: Select all
[rolf@p8z68 ~]$ rpm -qa | grep dropbox
dropbox-2015.10.28-1.mga6.nonfree
dropbox-servicemenu-0.16.1-5.mga6
nautilus-dropbox-2015.10.28-1.mga6.nonfree
/usr/bin/dropbox from the dropbox package can be given start, stop, and status arguments, among others. status is always dropbox not running. start silently segfaults, I expect, proclaiming not running! and Done!, as shown above. Directly starting the daemon segfaults, as shown, always. If the ~/.dropbox* have just been erased and 'dropbox start' is given, the lack of an installed daemon is reported and instruction to issue 'dropbox start -i' is printed. That will download the tarball and extract it to ~, as in the manual method.
It's been years since I had to solve a problem with dropbox but I'm seeing a step where the daemon issues a url for authenticating with the dropbox site. I am not seeing any such dialog with such url.
I have another machine where I installed MGA6 RC and have now switched the sources to 6. That has been a much smoother experience than distribution upgrade, BTW, but I mention this because I have never run dropbox on it. I tried with this fresh environment by installing the rpms and 'dropbox start -i'.
- Code: Select all
[rolf@z170i ~]$ rpm -qa | grep dropbox
dropbox-servicemenu-0.16.1-5.mga6
dropbox-2015.10.28-1.mga6.nonfree
The results are the same. Dropbox won't start
One workaround from some years ago, found on the mageia user mailing list and here, I think: rm -f ~/.dropbox-dist/libz.so.1
No difference. One more trick from more recent times that solved some segfaults was to put
QT_STYLE_OVERRIDE=""
in the ~/dropbox-dist/dropboxd script. That seemed to make a small difference in that the process (defunct) seemed to linger a bit longer in ps but it was still a segfault.
Just now, reviewing some dropbox commands in ssh session on the machine with the so-called fresh environment, when I issued 'dropbox start', a firefox window popped up on my desktop giving me an authentication dialog at the dropbox site. That machine is now authenticated at dropbox.com.
Since my default web browser app is seamonkey on the desktop, I thought maybe the authentication step was failing to start a hard-coded firefox. So, I changed to firefox in systemsettings5. I also removed nautilus-dropbox and rebooted. On the desktop, i gave 'dropbox start' but it did not. Finally, I made an ssh session from the fresh machine back to the old desktop, gave 'dropbox start' from there, and seamonkey opened in that session, allowing me to authenticate the desktop from ssh session on the fresh machine. I don't get it but I'm tired and I hope it continues to work.