Results 1 to 10 of 18

Thread: "[init] database is locked" when starting app

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    "[init] database is locked" when starting app

    I had a gpu-related crash while running darktable, and since I have not been able to run the program - trying to start form console, all I get is
    Code:
    [init] database is locked, probably another process is already using it
    I used synaptic to remove darktable and reinstall (to a newer version, actually), but I'm still getting this error message. Any ideas?
    Last edited by kurja; April 11th, 2013 at 06:09 PM.

  2. #2
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Re: "[init] database is locked" when starting app

    any ideas on how to remedy this issue?

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: "[init] database is locked" when starting app

    kurja; Hi !

    What pops to mind is that you have an instance of the package manager open and trying to start another package manager process.
    Like, that while synaptic is open, you are running apt-get or dpkg from the command line ?

    If you close everything out and reboot, what results from terminal commands:
    Code:
    sudo apt-get update
    sudo apt-get upgrade

    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #4
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "[init] database is locked" when starting app

    Hi, thanks for the reply.

    Perhaps I should have clarified that I'm getting the error when trying to start Darktable, not when trying to run update, if there was any confusion about that? Synaptic removed and installed the application without any visible hiccups.

    I see nothing unusual when running apt-get update and upgrade.

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: "[init] database is locked" when starting app

    kurja;
    Sorry, I too may have jumped to a conclusion,
    darktable; Well, Is there an instance of the application autostarting upon booting the system ?
    All I can think of presently, As you reinstalled darktable I would think the new install would have overwritten any residual config files from the older version .
    I am not at all familiar with darktable, but is there anything in a config file that would start the application ?
    maybe look at something like :
    Code:
    ps au | grep darktable
    see if it is running on the system.

    not much, but a thought
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #6
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "[init] database is locked" when starting app

    Quote Originally Posted by Bashing-om View Post
    kurja;
    Sorry, I too may have jumped to a conclusion,
    darktable; Well, Is there an instance of the application autostarting upon booting the system ?
    All I can think of presently, As you reinstalled darktable I would think the new install would have overwritten any residual config files from the older version .
    I am not at all familiar with darktable, but is there anything in a config file that would start the application ?
    maybe look at something like :
    Code:
    ps au | grep darktable
    see if it is running on the system.

    not much, but a thought
    that gives me
    Code:
    3232  0.0  0.0   5612   832 pts/0    S+   21:18   0:00 grep --color=auto darktable
    I've no idea what that might mean though :^/

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
  •