SDE用户锁定解除(转)

当我修改sde的数据报错,说被其他用户锁定时,但又没有用户锁定!那么参照如下:

The full error message received is:

Failed to delete selected objects(s)

Lock request conflicts with an established lock

[Locked by database user:’username’on machine:’MACHINENAME’]

Even though there is no connection to ArcSDE by theusernamefromMACHINENAMEyou could receive this error message if there is a hung connection to ArcSDE that was not terminated correctly.

解决:

Usethe sdemon -o info -I userscommand to determine the connection that is causing the error message:

C:>sdemon -o info -I users

ArcSDE Instance esri_sde Registered Server Tasks on TSPGIS37 at Fri Jan 30 11:50:26 2009


S-ID User Host:OS Started


81 TECH_ANALYST TSPGIS37:Win32 Fri Jan 30 11:44:54 2009

84 DAN TSPGIS37:Win32 Fri Jan 30 11:46:08 2009

Find the SID that corresponds to the username and machine name that is causing the error message. Use the sdemon -o kill -t pid command to terminate the hung connection:

C:>sdemon -o kill -t 81

Please enter ArcSDE DBA password:

ArcSDE Instance esri_sde Process Management on TSPGIS37 at Fri Jan 30 11:54:32 2009


Kill Server Task 81? ARE YOU SURE (Y/N)?: y

You should now be able to delete the table or feature class in ArcCatalog.

1、重建空间索引

D:\Program Files\ArcGIS\ArcSDE\ora10gexe\bin 在这个目录下运行

sdelayer -o alter -l cto_l_11000,shape -g GRID,360,1440 -u sde -p sde -i 5151 -N

2、清除进程 sdemon -o kill -t

3、查看连接数sdemon –o info –I users

4、查看基本参数sdemon –o info –I config

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值