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

Re: Error during create database phase in Sybase DB Restore

$
0
0

Hello Tillman,

 

Thank you once again for helping me out. I was doing the restore following SAP NOTE 1585981. I loaded the Master DB successfully and then I started Sybase ASE again in multi user mode. I have also created the temporary device. But now when I am trying to load my master DB it is giving me an error as below;

 

isql -Usapsa -P<PASSWORD> -S<SID>

1> load database SID from '/sapcd/ERP/DB_RESTORE/SID.DB.20131203.004446.000'

2> go

Msg 926, Level 14, State 2:

Server 'TRS', Line 1:

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

'suspect'. Check the ASE errorlog for information as to the cause.

 

I checked the SID.log and it refers me to the below errors;

 

Latest Part of the SID.log is as below;

 

00:0002:00000:00014:2013/12/10 06:45:18.77 server  Recovering database 'SID'.

00:0002:00000:00014:2013/12/10 06:45:18.77 server Started estimating recovery log boundaries for database 'SID'.

00:0002:00000:00014:2013/12/10 06:45:18.78 server  Error: 806, Severity: 21, State: 1

00:0002:00000:00014:2013/12/10 06:45:18.79 server  Could not find virtual page for logical page 7864325 in database 'SID'.

00:0002:00000:00014:2013/12/10 06:45:18.79 server  Database 'SID' (dbid 4): Recovery failed. Check the ASE errorlog for further information as to the cause.

00:0002:00000:00014:2013/12/10 06:45:18.82 server  Recovering database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.83 server  Started estimating recovery log boundaries for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Database 'saptools', checkpoint=(131076, 31), first=(131076, 31), last=(131076, 31).

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Completed estimating recovery log boundaries for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Started ANALYSIS pass for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Completed ANALYSIS pass for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Log contains all committed transactions until 2013/12/03 22:55:36.58 for database saptools.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Started REDO pass for database 'saptools'. The total number of log records to process is 1.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Completed REDO pass for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Timestamp for database 'saptools' is (0x0000, 0x00001c6a).

00:0002:00000:00014:2013/12/10 06:45:18.84 server  Recovery of database 'saptools' will undo incomplete nested top actions.

00:0002:00000:00014:2013/12/10 06:45:18.85 server  Started recovery checkpoint for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.85 server  Completed recovery checkpoint for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.86 server  Started filling free space info for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.88 server  Completed filling free space info for database 'saptools'.

00:0002:00000:00014:2013/12/10 06:45:18.89 server  Started cleaning up the default data cache for database 'saptools'.

00:0008:00000:00014:2013/12/10 06:45:18.95 server  Completed cleaning up the default data cache for database 'saptools'.

00:0008:00000:00014:2013/12/10 06:45:18.95 server  Checking external objects.

00:0008:00000:00014:2013/12/10 06:45:19.06 server  The transaction log in the database 'saptools' will use I/O size of 16 Kb.

00:0008:00000:00014:2013/12/10 06:45:19.06 server  Database 'saptools' is now online.

00:0008:00000:00014:2013/12/10 06:45:19.07 server  Recovering database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Started estimating recovery log boundaries for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Database 'sybmgmtdb', checkpoint=(2957, 67), first=(2957, 67), last=(2957, 79).

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Completed estimating recovery log boundaries for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Started ANALYSIS pass for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Completed ANALYSIS pass for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Log contains all committed transactions until 2013/12/10 04:51:50.31 for database sybmgmtdb.

00:0008:00000:00014:2013/12/10 06:45:19.08 server  Started REDO pass for database 'sybmgmtdb'. The total number of log records to process is 13.

00:0008:00000:00014:2013/12/10 06:45:19.09 server  Redo pass of recovery has processed 1 committed and 0 aborted transactions.

00:0008:00000:00014:2013/12/10 06:45:19.09 server  Completed REDO pass for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.10 server  Timestamp for database 'sybmgmtdb' is (0x0000, 0x00012a1b).

00:0008:00000:00014:2013/12/10 06:45:19.10 server  Recovery of database 'sybmgmtdb' will undo incomplete nested top actions.

00:0008:00000:00014:2013/12/10 06:45:19.10 server  Started recovery checkpoint for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.11 server  Completed recovery checkpoint for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.11 server  Started filling free space info for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.12 server  Completed filling free space info for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.12 server  Started cleaning up the default data cache for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.16 server  Completed cleaning up the default data cache for database 'sybmgmtdb'.

00:0008:00000:00014:2013/12/10 06:45:19.16 server  Checking external objects.

00:0008:00000:00014:2013/12/10 06:45:19.22 server  The transaction log in the database 'sybmgmtdb' will use I/O size of 16 Kb.

00:0008:00000:00014:2013/12/10 06:45:19.22 server  Database 'sybmgmtdb' is now online.

00:0008:00000:00014:2013/12/10 06:45:19.23 server  Clearing temporary database 'saptempdb'.

00:0005:00000:00014:2013/12/10 06:45:19.55 server  Processed 52 allocation unit(s) out of 512 units (allocation page 13056). 10% completed.

00:0005:00000:00014:2013/12/10 06:45:19.55 server  Processed 103 allocation unit(s) out of 512 units (allocation page 26112). 20% completed.

00:0005:00000:00014:2013/12/10 06:45:19.55 server  Processed 154 allocation unit(s) out of 512 units (allocation page 39168). 30% completed.

00:0005:00000:00014:2013/12/10 06:45:19.55 server  Processed 205 allocation unit(s) out of 512 units (allocation page 52224). 40% completed.

00:0005:00000:00014:2013/12/10 06:45:19.55 server  Processed 256 allocation unit(s) out of 512 units (allocation page 65280). 50% completed.

00:0005:00000:00014:2013/12/10 06:45:19.56 server  Processed 308 allocation unit(s) out of 512 units (allocation page 78592). 60% completed.

00:0005:00000:00014:2013/12/10 06:45:19.56 server  Processed 359 allocation unit(s) out of 512 units (allocation page 91648). 70% completed.

00:0005:00000:00014:2013/12/10 06:45:19.56 server  Processed 410 allocation unit(s) out of 512 units (allocation page 104704). 80% completed.

00:0005:00000:00014:2013/12/10 06:45:19.56 server  Processed 461 allocation unit(s) out of 512 units (allocation page 117760). 90% completed.

00:0005:00000:00014:2013/12/10 06:45:19.56 server  Processed 512 allocation unit(s) out of 512 units (allocation page 130816). 100% completed.

00:0005:00000:00014:2013/12/10 06:45:19.57 server  Tempdb 6 is added to the  list of local temporary databases

00:0007:00000:00014:2013/12/10 06:45:19.64 server  Timestamp for database 'saptempdb' is (0x0000, 0x00001538).

00:0008:00000:00014:2013/12/10 06:45:19.77 server  The transaction log in the database 'saptempdb' will use I/O size of 16 Kb.

00:0008:00000:00014:2013/12/10 06:45:19.77 server  Database 'saptempdb' is now online.

00:0002:00000:00001:2013/12/10 06:45:20.71 server  The optimal number of recovery processes is 2.

00:0002:00000:00001:2013/12/10 06:45:20.81 server  Recovery has restored the value of 'local async prefetch limit' for '128K' pool in 'default data cache' from '80' to

'DEFAULT'.

00:0002:00000:00001:2013/12/10 06:45:20.81 server  Recovery has restored the value of 'local async prefetch limit' for '16K' pool in 'default data cache' from '80' to '

DEFAULT'.

00:0002:00000:00001:2013/12/10 06:45:20.82 server  Recovery has restored the original size for '128K' pool and '16K' pool in 'default data cache'.

00:0002:00000:00001:2013/12/10 06:45:20.82 server  Recovery complete.

00:0002:00000:00001:2013/12/10 06:45:20.82 server  ASE's default unicode sort order is 'binary'.

00:0002:00000:00001:2013/12/10 06:45:20.82 server  ASE's default sort order is:

00:0002:00000:00001:2013/12/10 06:45:20.82 server       'binary' (ID = 25)

00:0002:00000:00001:2013/12/10 06:45:20.82 server  on top of default character set:

00:0002:00000:00001:2013/12/10 06:45:20.82 server       'utf8' (ID = 190).

00:0002:00000:00001:2013/12/10 06:45:20.82 server  Master device size: 400 megabytes, or 204800 virtual pages. (A virtual page is 2048 bytes.)

00:0008:00000:00016:2013/12/10 06:45:20.85 kernel  Initializing Job Scheduler Task

00:0008:00000:00016:2013/12/10 06:45:20.96 kernel  Installed Job Scheduler sequencer code version 0.29 - 29 tokens

00:0002:00000:00016:2013/12/10 06:45:21.10 kernel  Job Scheduler Task started with a clean 'js_history' table

00:0002:00000:00016:2013/12/10 06:45:21.16 kernel  Job Scheduler Task state set to running, startcount 1.

00:0002:00000:00016:2013/12/10 06:45:22.09 kernel  Job Scheduler Task connected with Agent on port 4903

00:0002:00000:00001:2013/12/10 06:45:22.09 kernel  Warning: Cannot set console to nonblocking mode, switching to blocking mode.

00:0002:00000:00001:2013/12/10 06:45:22.09 kernel  Console logging is disabled. This is controlled via the 'enable console logging' configuration parameter.

 

Request you to kindly advise accordingly.

 

Thanking you sincerely,

 

Regards

 

Surajit


Viewing all articles
Browse latest Browse all 3678

Trending Articles



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