Results 1 to 4 of 4

Thread: Start Dropbox daemon at boot on Ubuntu Server 10.04

  1. #1
    Join Date
    Oct 2010
    Location
    Slovenia
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Start Dropbox daemon at boot on Ubuntu Server 10.04

    Hello!

    I am having some trouble making the dropbox daemon start at boot. I followed these instructions -> http://1000umbrellas.com/2010/04/30/...u-10-04-server, which are basically a replica of the original instructions from the Dropbox Wiki (http://wiki.dropbox.com/TipsAndTrick...edLinuxInstall).

    The installation went fine, except that the machine still cannot start the daemon at boot. I tried to modify the init.d script a bit (see the attachment), but it still wont work (I am not sure if my changes made any significant difference, though). The daemon will only start if I invoke it manually after login with the command:

    Code:
    [user@machine:~]$ service dropbox start
    Which executes the daemon just fine.

    I also tried adding this line of code to crontab:

    Code:
    @reboot /etc/init.d/dropbox start
    This command starts the daemon if I check with the command "service dropbox status", but if I execute the official dropbox CLI command:

    Code:
    ~/bin/dropbox.py status
    it says that Dropbox isn't running and I still have to execute it manually.

    Any help is greatly appreciated.

    BR, Jan

    P.s.: The machine runs Ubuntu Server 10.04, with all the latest system patches and updates.
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2006
    Beans
    56
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Start Dropbox daemon at boot on Ubuntu Server 10.04

    In the 1000umbrellas.com post, the following line may be the source of your problem:
    Code:
    sudo update-rc.d dropbox defaults
    It will setup dropbox to start early in the boot process. Maybe it requires some other daemon that is not started at that time?
    Have a look in the syslog or in dmesg to see what's wrong.

    Code:
    sudo update-rc.d -f dropbox remove
    sudo update-rc.d dropbox defaults 98 02
    should give it a much lower priority, that is it will start later in the boot process: that may be enough to solve the issue.

  3. #3
    Join Date
    Oct 2010
    Location
    Slovenia
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Start Dropbox daemon at boot on Ubuntu Server 10.04

    Hi Calimo!

    First of all, thank you for your hint. I tried it, but Dropbox still won't launch at boot.

    Do you (or anybody else, for the matter) have any other idea? Could it perhaps be a permission issue?

    Any other hints are welcome!

  4. #4
    Join Date
    Oct 2010
    Location
    Slovenia
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: [Solved] Start Dropbox daemon at boot on Ubuntu Server 10.04

    Hi!

    Just wanted to say that I solved my problem. I created a new user "dropbox" and installed the daemon there. It worked just fine! The daemon starts at boot and syncs just well! Maybe the daemon isn't meant to be run under an administrative account. Anyway, it works fine. I added some symlinks, and now I have the same functionality as I would have if I installed Dropbox under my main account.

    Thanks anyway Calimo for your help!

    BR, Jan
    Last edited by Blackrider69; December 29th, 2010 at 05:39 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •