c***@lecentre.net
2007-10-30 16:18:53 UTC
Hi,
I would like to create a dev database identical to my production
database on ASE 12.5.4.
I have a dump from the production database done with flushstats.
I tried many ways to achieve that but had no chance to have it
working :
1) creating a database with srvbuild, starting it with "-m" (single-
user), loading the dump of the master database. Then the server won't
startup :
00:00000:00001:2007/10/30 16:03:24.82 kernel libomni1 - Component
Integration Services loaded; version 'libomni1 - Component Integration
Services/12.5.4/EBF 13395/P/Solaris AMD64/OS 5.10/ase1254/2006/64-bit/
OPT/Sat May 20 00:11:23 2006'.
00:00000:00001:2007/10/30 16:03:24.82 kernel libomni1 - Component
Integration Services: using 'Sybase Client-Library/12.5.1/P/DRV.
12.5.1.4/AMD Opteron/Solaris 2.10/BUILD1251-044/64bit/OPT/Mon Dec 5
16:21:51 2005'
00:00000:00001:2007/10/30 16:03:24.82 server Opening Master
Database ...
00:00000:00001:2007/10/30 16:03:24.82 server Loading SQL Server's
default sort order and character set
00:00000:00001:2007/10/30 16:03:24.82 server Error: 7114, Severity:
22, State: 1
00:00000:00001:2007/10/30 16:03:24.82 server Page 2105 is not a valid
text page.
00:00000:00001:2007/10/30 16:03:24.82 kernel
************************************
00:00000:00001:2007/10/30 16:03:24.82 kernel curdb = 1 tempdb = 0
pstat = 0x0
00:00000:00001:2007/10/30 16:03:24.82 kernel lasterror = 7114
preverror = 0 transtate = 1
00:00000:00001:2007/10/30 16:03:24.82 kernel curcmd = 0 program
=
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x0000000000fb646e
pcstkwalk+0x33()
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x0000000000fb63ac
ucstkgentrace+0x23c()
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x0000000000f50def
ucbacktrace+0xe8()
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x00000000007d0584
terminate_process+0xb9b()
00:00000:00001:2007/10/30 16:03:24.86 kernel Unix interval timer
enabled for sysclk interrupts.
00:00000:00001:2007/10/30 16:03:24.86 kernel pc: 0x000000000083c674
hdl_default+0x3d()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x000000000096558c
text_handler+0x71()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x000000000083bf15
ex_raise+0x1ab()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x00000000009595a2
gettxtpage+0x422()
00:00000:00001:2007/10/30 16:03:24.87 kernel [Handler pc:
0x000000000096551b text_handler installed by the following function:-]
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x000000000096e228
txt_open+0x383()
00:00000:00001:2007/10/30 16:03:24.87 kernel [Handler pc:
0x000000000083c637 hdl_default installed by the following function:-]
00:00000:00001:2007/10/30 16:03:24.87 kernel [Handler pc:
0x000000000083c637 hdl_default installed by the following function:-]
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x00000000007d1f22
ld_sort_char+0x3ab()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x00000000007cd7d2
dsinit+0x96e()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x0000000000fa0c84
kpstartproc+0x56()
00:00000:00001:2007/10/30 16:03:24.87 kernel end of stack trace, spid
1, kpid 196611, suid 0
2) creating a new database by hand : can't import the master dump as
the sort-order is not standard.
3) creating a new instance with srvbuild, adding old devices from the
dbschema DDL, loading database dump, dbcc...
My questions are :
- what is the problem when I load the master from my production
server ?
- what can I do to reload every database in the instance without
reloading the master database ?
- when doing the 3) solution, how can I be sure the master database
includes all the data I need, including the references between
databases ?
I'm lost....
Thanks !
I would like to create a dev database identical to my production
database on ASE 12.5.4.
I have a dump from the production database done with flushstats.
I tried many ways to achieve that but had no chance to have it
working :
1) creating a database with srvbuild, starting it with "-m" (single-
user), loading the dump of the master database. Then the server won't
startup :
00:00000:00001:2007/10/30 16:03:24.82 kernel libomni1 - Component
Integration Services loaded; version 'libomni1 - Component Integration
Services/12.5.4/EBF 13395/P/Solaris AMD64/OS 5.10/ase1254/2006/64-bit/
OPT/Sat May 20 00:11:23 2006'.
00:00000:00001:2007/10/30 16:03:24.82 kernel libomni1 - Component
Integration Services: using 'Sybase Client-Library/12.5.1/P/DRV.
12.5.1.4/AMD Opteron/Solaris 2.10/BUILD1251-044/64bit/OPT/Mon Dec 5
16:21:51 2005'
00:00000:00001:2007/10/30 16:03:24.82 server Opening Master
Database ...
00:00000:00001:2007/10/30 16:03:24.82 server Loading SQL Server's
default sort order and character set
00:00000:00001:2007/10/30 16:03:24.82 server Error: 7114, Severity:
22, State: 1
00:00000:00001:2007/10/30 16:03:24.82 server Page 2105 is not a valid
text page.
00:00000:00001:2007/10/30 16:03:24.82 kernel
************************************
00:00000:00001:2007/10/30 16:03:24.82 kernel curdb = 1 tempdb = 0
pstat = 0x0
00:00000:00001:2007/10/30 16:03:24.82 kernel lasterror = 7114
preverror = 0 transtate = 1
00:00000:00001:2007/10/30 16:03:24.82 kernel curcmd = 0 program
=
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x0000000000fb646e
pcstkwalk+0x33()
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x0000000000fb63ac
ucstkgentrace+0x23c()
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x0000000000f50def
ucbacktrace+0xe8()
00:00000:00001:2007/10/30 16:03:24.85 kernel pc: 0x00000000007d0584
terminate_process+0xb9b()
00:00000:00001:2007/10/30 16:03:24.86 kernel Unix interval timer
enabled for sysclk interrupts.
00:00000:00001:2007/10/30 16:03:24.86 kernel pc: 0x000000000083c674
hdl_default+0x3d()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x000000000096558c
text_handler+0x71()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x000000000083bf15
ex_raise+0x1ab()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x00000000009595a2
gettxtpage+0x422()
00:00000:00001:2007/10/30 16:03:24.87 kernel [Handler pc:
0x000000000096551b text_handler installed by the following function:-]
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x000000000096e228
txt_open+0x383()
00:00000:00001:2007/10/30 16:03:24.87 kernel [Handler pc:
0x000000000083c637 hdl_default installed by the following function:-]
00:00000:00001:2007/10/30 16:03:24.87 kernel [Handler pc:
0x000000000083c637 hdl_default installed by the following function:-]
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x00000000007d1f22
ld_sort_char+0x3ab()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x00000000007cd7d2
dsinit+0x96e()
00:00000:00001:2007/10/30 16:03:24.87 kernel pc: 0x0000000000fa0c84
kpstartproc+0x56()
00:00000:00001:2007/10/30 16:03:24.87 kernel end of stack trace, spid
1, kpid 196611, suid 0
2) creating a new database by hand : can't import the master dump as
the sort-order is not standard.
3) creating a new instance with srvbuild, adding old devices from the
dbschema DDL, loading database dump, dbcc...
My questions are :
- what is the problem when I load the master from my production
server ?
- what can I do to reload every database in the instance without
reloading the master database ?
- when doing the 3) solution, how can I be sure the master database
includes all the data I need, including the references between
databases ?
I'm lost....
Thanks !