A read-only user or a user in a read-only database is not permitted to disable
2014-06-24 13:26
465 查看
A read-only user or a user in a read-only database is not permitted to disable
出现如题的问题一般是因为db.lck的所属权限问题造成的。如果碰到类似的问题也可以这样解决。
今天安装了一个artifactory,但是安装一直失败,首先就是一个绑定异常的接口,需要查看日志,异常时绑定8015异常说解析localhost失败,发现/etc/hosts没有配置localhost主机。
然后就是如题的异常:解决办法
找到artifactory安装目录找到deby数据库的目录(如果是其他数据库你就找你数据库安装目录找到db.lck),然后找到db.lck执行如下命令:
ls ll
发现db.lck属于root:root所以报错,修改如下:
chown -R artifactory:artifactory db.lck
然后重新启动artifactory即可。
出现如题的问题一般是因为db.lck的所属权限问题造成的。如果碰到类似的问题也可以这样解决。
今天安装了一个artifactory,但是安装一直失败,首先就是一个绑定异常的接口,需要查看日志,异常时绑定8015异常说解析localhost失败,发现/etc/hosts没有配置localhost主机。
然后就是如题的异常:解决办法
找到artifactory安装目录找到deby数据库的目录(如果是其他数据库你就找你数据库安装目录找到db.lck),然后找到db.lck执行如下命令:
ls ll
发现db.lck属于root:root所以报错,修改如下:
chown -R artifactory:artifactory db.lck
然后重新启动artifactory即可。
相关文章推荐
- HIVE A read-only user or a user in a read-only database is not permitted to disable read-only mode
- A read-only user or a user in a read-only database is not permitted to disable
- SQL SERVER – Fix: Error Msg 128 The name is not permitted in this context. Only constants, expressions, or variables allowed her
- The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid
- sql server 2008 R2 Error 9003:The log scan number passed to log scan in database is not valid
- How to create a read-only user in TFS source control
- Sharepoint Error : The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- Connection is read-only. Queries leading to data modification are not allowed
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- How to create a read-only user in TFS source control
- 在 12cR1 数据库中创建测试用户是报 ORA-65096 错误(2c: ORA-65049: creation of local user or role is not allowed in C)
- How to create a read-only user in TFS source control
- How to create a read-only user in TFS source control
- How to grant access to SQL logins on a standby database when the guest user is disabled in SQL Serve
- How to determine who is logged on to a database by using Microsoft Jet UserRoster in Access 2000
- Question 12: In C++, which of the following is the best declaration for an overloaded operator[] to allow read-only access (and
- "Failed to update database "c:\inetpub\wwwroot\WebSite1\App_Data\ASPNETDB.MDF" because the database is read-only."的解决办法
- ADODB使用excel的"Cannot modify the design of table 'xxxx'. It is in a read-only database"的问题
- Database '' is in warm standby. A warm-standby database is read-only.
- vs2005下出现“Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive”的解决方法