Re: Exclusive Lock Problem: !!
Posted in 2000
Topics: Error Codes & Troubleshooting, Migration, Import/Export & Data Conversion
From: hpandu <hpandu@miel.mot.com>
>
>Pls. anyone can advice me what I have to do, to solve this problem.
>
>< henna:/users/stag/inf_temp/ >dbexport demodb
>-425 - Database is currently opened by another user.
>-107 - ISAM error: record is locked.
Chuck everyone else off the database?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
In article <890q6i$dt1$1@news.xmission.com>,
"Obnoxio The Clown" <obnoxio@hotmail.com> wrote:
>
> From: hpandu <hpandu@miel.mot.com>
> >
> >Pls. anyone can advice me what I have to do, to solve this problem.
> >
> >< henna:/users/stag/inf_temp/ >dbexport demodb
> >-425 - Database is currently opened by another user.
> >-107 - ISAM error: record is locked.
>
> Chuck everyone else off the database?
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> You should disconnect all users from the database server before using
a dbexport.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Hi,
Thanx for your input. I found someone opened the database.
In case, I couldn't get hold of the person to ask him to quit, or i
couldn't find which user have logged. Is it possible by db activity I can
remove the exclusive lock. Pls. suggest if anyway I can step in thru
command prompt and remove the lock.
Thanx and regards,
Harish
nafidi@my-deja.com wrote:
> In article <890q6i$dt1$1@news.xmission.com>,
> "Obnoxio The Clown" <obnoxio@hotmail.com> wrote:
> >
> > From: hpandu <hpandu@miel.mot.com>
> > >
> > >Pls. anyone can advice me what I have to do, to solve this problem.
> > >
> > >< henna:/users/stag/inf_temp/ >dbexport demodb
> > >-425 - Database is currently opened by another user.
> > >-107 - ISAM error: record is locked.
> >
> > Chuck everyone else off the database?
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> > You should disconnect all users from the database server before using
> a dbexport.
>
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
hpandu wrote:
> Hi,
>
> Thanx for your input. I found someone opened the database.
> In case, I couldn't get hold of the person to ask him to quit, or i
> couldn't find which user have logged. Is it possible by db activity I can
> remove the exclusive lock. Pls. suggest if anyway I can step in thru
> command prompt and remove the lock.
>
First, get a list of sessions connected to the database you want to export
onstat -g sql | grep <database>
Then, kill each of the sessions (first column of the report)
onmode -z <session_id>
Rudy