ArcSDE数据被锁定后的解锁方法(转载)

ArcSDE数据被锁定后的解锁方法
在sde数据被锁定的情况下,编辑、创建featureclass或者注册版本的时候会报告:Lock request conflicts with an established lock。多半情况下关闭数据库连接可以解决这个问题,但有时候问题依然存在。
解决的方法是:
1.关闭所有的ArcMap和ArcCatalog session。
2. 运行命令'sdemon -o kill -t all -p sde'
3. 运行命令'sdemon -o info -I locks' .
如果以上步骤执行了后依然报告数据被锁定,那么在sqlplus下查询lock表:
SQL> select * from sde.state_locks;
SQL> select * from sde.object_locks;
SQL> select * from sde.layer_locks;
SQL> select * from sde.table_locks;
如果有记录返回,那么手工删除这些表中的记录。

转载:http://bbs.esrichina-bj.cn/ESRI/archiver/tid-61127.html

Please post the results of the following commands

sdemon -o info -I locks
and
sdemon -o info -I users 

转:http://forums.esri.com/Thread.asp?c=2&f=59&t=263749

原文地址:https://www.cnblogs.com/wuhenke/p/1919269.html