Register  ::  Login
 
Update : February 07, 2012
Google AdSense Minimize
  
Welcome to Asbuilt-DBA forum ! Minimize

Here you can find a community of professionals who work with INtools® (SPI) and want to interact and exchange information, including problems encountered, offer solutions, and raise new topics.

This forum is composed of two main sections:
1.      Discussions, which is an open discussion forum where you can talk about any related topic to INtools.
2.      FAQ section that offers a variety of questions and answers regarding INtools.
We hope that you will enjoy participating in this forum. Participation in the forum is free of charge.
If you want to start a new forum, please contact the Webmaster.
Add to Google
INtools is trademark of Intergraph corporation
Forum Groups Minimize
SearchForum Home
  Aggregated  FAQ  Admin Module  Locking Entity...
 Re: Locking Entity
 
 5/14/2008 3:41:50 PM
User is offlineadmin
177 posts
5th


Re: Locking Entity

Hi,

 

Intools have a locking process.

All the sestion store in the current info.

When I say connect to domain schem it's mean to connect to the project you face with the locing problem.

Each project (domain) store the connection information in the project table in admin schema(in_dbamn\in_dbamn) you need to connect first to the admin schema find the relevant project get the user and password and connect to domain schema.

you can run this SQL through Inernal setup.

If it's not oracle you can change the sql to delete from current_info; commit;

 

Ilan

 

Regards

 

Ilan


Ilan Hills ihills@asbuilt-dba.com www.asbuilt-dba.com
 5/15/2008 9:20:58 AM
User is offlinefba_sen57
73 posts
www.shell.com


Re: Locking Entity

Thanks Ilan.

The locking is clear already because of rebooting the server so I have not got a chance to run the sql as you have suggested. I tried before this sql truncate table entity_lock but this table is no longer a valid table in INtools version 6. I have run select * from current_info though and it contain the session_id. The session_id is shown when the entity lock error pop-up. In the current_info table beside session_id, it also contain a message in the V_Message column. So I only hope the entity_lock problem occurs so I can try your method. If it does, I will let you know if it clear the locking. If the locking does not clear than obviously the reboot will resolve it anyway.

Again thank you and have a nice :) day

 10/7/2008 2:10:32 AM
User is offlinefba_sen57
73 posts
www.shell.com


Re: Locking Entity

Hi Ilan,

Today, I just got another "The tag is locked" but did not mention specifically who has locked it and this occurs in specification module when assigning tag number to a spec form. FYI, I run the sql below:

select * from current_info where V_message <> ' ';

And I noticed that the V-Message column has some remark stating "686504#WEST_AMPA4_E-50134#P_JUSTINA#BSP\SERS0BSP0105#07-OCT-2008 09:15:58". Then when I run the sql below :

truncate table current_info;

And this occurs --> ORA-00054: resource busy and acquire with NOWAIT specified

Please advise if I miss anything.

Have a nice :) day.

 10/10/2008 4:48:07 PM
User is offlineadmin
177 posts
5th


Re: Locking Entity

Hi,

 

It's happaned to me alot when user login and the session still running on Oracle

If you wish to solve the problem without disconnect all the users you should ask the Oracle DBA to kill the session of the specific user and delete from current_info  all his the rows related to specific user.

If you don't have Oracle DBA please do the following:

connect to asmin schema and run the following:

Run the following SQL:

select sid,serial#,audsid,machine,program,status
from v$session where audsid <>0 order by program;

cllect the results and add the session-id and session serial into the following command

alter system kill session 'session-id,session-serial'

e.g: alter system kill session '22,2086';

after you kill the problematic user in Oracle you can delete his rows in current_info

Let me know if it's help.

Regards

 

Ilan Hills


Ilan Hills ihills@asbuilt-dba.com www.asbuilt-dba.com
 10/13/2008 8:26:17 AM
User is offlinefba_sen57
73 posts
www.shell.com


Re: Locking Entity

Hi Ilan,

Please see below. FYI... WEST_AMPA4 is just to retrieve the information from where the locking is originating. Our INtools is version 06.00.06.06.

select s.sid, s.serial#, s.osuser, s.program, s.logon_time, s.terminal, s.schemaname from v$session s where schemaname like 'WEST_AMPA4%';

SELECT s.sid,
       s.serial#,
       s.osuser,
       s.program,
       s.logon_time,
       s.terminal,
       s.schemaname
FROM   v$session s;

ALTER SYSTEM KILL SESSION '27,451';

FYI, if I login to the domain (WEST_AMPA4), the system unable to execute as I encounter "ORA-01031: insufficient privileges". Therefore I login to IN_DBAMN (ie system level) then execute the KILL then the locking was removed.

Hope this will help for those who have similar problem.

  Aggregated  FAQ  Admin Module  Locking Entity...
Intools
 Search   Forum Home     

Search Engine Optimization and SEO Tools
My Google Pagerank