A read-only user or a user in a read-only database was not permitted to disable

Source: Internet
Author: User
Tags artifactory

A read-only user or a user in a read-only database was not permitted to disable

The problem with title is usually caused by the db.lck of the owning permission.

Suppose that a similar problem can be solved.

A artifactory has been installed today, but the installation has failed. The first is a binding exception interface, you need to view the log, the exception is bound 8015 exception said resolve localhost failure, found that/etc/hosts is not configured localhost.

Then there is the title exception: the Solution


Locate the Artifactory installation folder to locate the Deby database folder (assuming other databases you find your database installation folder Db.lck), and then locate the Db.lck run such as the following command:

LS LL

Found Db.lck belongs to Root:root so error, change such as the following:

Chown-r artifactory:artifactory Db.lck

And then you start artifactory again.






A read-only user or a user in a read-only database was not permitted to disable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.