Unix Technical Forum

load error

This is a discussion on load error within the Sybase forums, part of the Database Server Software category; --> Dear Friends, I faced a strange problem yesterday. Iam using ASE 12.5.0.3 on solaris . while loading dump of ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:55 PM
Lalit
 
Posts: n/a
Default load error

Dear Friends,
I faced a strange problem yesterday.
Iam using ASE 12.5.0.3 on solaris . while loading dump of tran log
Following error had come

Msg 4301, Level 16, State 2:
Server 'TEST', Line 3:
Database in use. A user with System Administrator (SA) role must have exclusive
use of DB to load transaction.

There was no user in the database because the status of the database is offline.
In sysdatabases table status2 column has 16 value.

Kindly let me know the reason of this problem

Thanks & Regards
Lalit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:55 PM
Mark
 
Posts: n/a
Default Re: load error

issues_sybase@hotmail.com (Lalit) wrote in message news:<7bcd3933.0309102036.20fb418f@posting.google. com>...
> Dear Friends,
> I faced a strange problem yesterday.
> Iam using ASE 12.5.0.3 on solaris . while loading dump of tran log
> Following error had come
>
> Msg 4301, Level 16, State 2:
> Server 'TEST', Line 3:
> Database in use. A user with System Administrator (SA) role must have exclusive
> use of DB to load transaction.
>
> There was no user in the database because the status of the database is offline.
> In sysdatabases table status2 column has 16 value.
>
> Kindly let me know the reason of this problem
>
> Thanks & Regards
> Lalit


I would also be interested in this as I have had exactly the same
problem I had to schedule downtime to re-boot the server.

Regards
Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:55 PM
Bret Halford
 
Posts: n/a
Default Re: load error

markcurtis@yahoo.com (Mark) wrote in message news:<9105603e.0309110412.628977c1@posting.google. com>...
> issues_sybase@hotmail.com (Lalit) wrote in message news:<7bcd3933.0309102036.20fb418f@posting.google. com>...
> > Dear Friends,
> > I faced a strange problem yesterday.
> > Iam using ASE 12.5.0.3 on solaris . while loading dump of tran log
> > Following error had come
> >
> > Msg 4301, Level 16, State 2:
> > Server 'TEST', Line 3:
> > Database in use. A user with System Administrator (SA) role must have exclusive
> > use of DB to load transaction.
> >
> > There was no user in the database because the status of the database is offline.
> > In sysdatabases table status2 column has 16 value.
> >
> > Kindly let me know the reason of this problem
> >
> > Thanks & Regards
> > Lalit

>
> I would also be interested in this as I have had exactly the same
> problem I had to schedule downtime to re-boot the server.
>
> Regards
> Mark



I'm not sure if this is the cause, but please check for it: is
the sp_configure value for "open databases" lower than the actual
number of databases on your server (i.e. select count(*) from sysdatabases).
If so, ASE may be having to try to scavange a database descriptor - and
odd things have been known to happen when that is done. If you do find this,
please increase "open databases" to be larger than or equal to the actual
number of databases.

-bret
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:51 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com