Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hpandu could not get an exclusive lock on a database to run a dbexport because someone had it open and could not identify the user. Rudy Fernandes advised listing sessions with onstat -g sql filtered on the database name, then killing each with onmode -z session_id. No confirmation of the result was posted.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
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
↪ replying to Obnoxio The Clown
nafidi@my-deja.com — — source: Informix-list mailing list archive (1991-1998)
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.
↪ replying to nafidi@my-deja.com
hpandu — — source: Informix-list mailing list archive (1991-1998)
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.
↪ replying to hpandu
Rudy Fernandes — — source: Informix-list mailing list archive (1991-1998)
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
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.