Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

can not restore user database

$
0
0

ASE 12.5 on CentOS:

 

there is a master, mydb,

1. Restore mydb and everything is fine. but check system data is very slow. mydb is fine.

2. then shutdown and start in single user mode

3. then restore master

4. shutdown and restart ASE in normal

5. then mydb is in suspended.

6. try to reload mydb, it is not allow me to do it.

 

the message is:

 

Database 'mydb' cannot be opened. An earlier attempt at recovery marked it

'suspect'. Check the SQL Server errorlog for information as to the cause.

 

go the errorlog, actually there is no information for it

 

7. then try dbcc dbrepair:

 

1> dbcc dbrepair(mydb, ltmignore)

2> go

Msg 926, Level 14, State 1:

Server 'LIFESYB', Line 1:

Database 'mydb' cannot be opened. An earlier attempt at recovery marked it

'suspect'. Check the SQL Server errorlog for information as to the cause.

Msg 10334, Level 18, State 127:

Server 'LIFESYB', Line 1:

Permission related internal error was encountered.  Unable to continue

execution.

Msg 10334, Level 18, State 80:

Server 'LIFESYB', Line 1:

Permission related internal error was encountered.  Unable to continue

execution.

DBCC execution completed. If DBCC printed error messages, contact a user with

System Administrator (SA) role.

 

how to restore mydb for this case? Help please.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>