10-11-2003 06:03 AM - edited 03-02-2019 10:56 AM
My first question is that is it possible to migrate from Windows 2000 to Solaris ?
We have installed the CNR version 6.0.3 on SUN Solaris and it is up and running. We have tried to migrate the database from Windows 2000 to Solaris as per the instruction from the below mentioned link.
On running the keybuild command required for importing data as given in the link the following errors were generated and /var got filled upto 100%.
bash-2.03# /opt/nwreg2/bin/keybuild /var/nwreg2/data/db/mcddb
.
.
.
14549000
record: 11111111114559000
record: 11111111114569000
record: 11111111114579000
record: 11111111114589000
record: 11111111114599000
record: 11111111114609000
record: 11111111114619000
record: 11111111114629000
record: 11111111114639000
record: 11111111114649000
record: 11111111114659000
record: 11111111114669000
record: 11111111114679000
record: 14680000
*** db_VISTA database error -919 - error writing to a database/overflow file
Bad read 14680002 14680001processing data file: /var/nwreg2/data/db/mcddb.d02, total records = 150994943
Invalid record id at 1
Invalid record id at 4
Invalid record id at 5
Invalid record id at 7
record: 9000
record: 19000
record: 29000
.
.
.
/var directory grew to 100% due to some data mismatch from Windows backup to Solaris.
bash-2.03# ls -l
total 7880246
drwx------ 2 root other 512 Aug 16 16:25 log
-rw-r--r-- 1 root other 2147475456 Aug 16 16:37 mcddb.d01 (Please notice the size of this file)
-rw-r--r-- 1 root other 1884905472 Aug 16 16:38 mcddb.d02 (Please notice the size of this file)
-rw-r--r-- 1 root other 270336 Aug 16 16:27 mcddb.d03
-rw------- 1 root other 9334 Aug 12 20:44 mcddb.dbd
-rw------- 1 root other 2048 Aug 16 16:34 mcddb.k01
-rw------- 1 root other 2048 Aug 16 16:34 mcddb.k02
-rw------- 1 root other 2048 Aug 16 16:34 mcddb.k03
-rw------- 1 root other 3 Aug 12 20:44 mcdschema.txt
-rw------- 1 root other 60 Aug 16 16:25 vista.taf
-rw------- 1 root other 8192 Aug 14 18:39 vista.tcf
-rw------- 1 root other 8192 Aug 14 18:39 vista.tjf
bash-2.03# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1986439 300298 1626548 16% /
/dev/dsk/c0t0d0s4 2026872 886959 1079107 46% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s1 4034392 4033254 0 100% /var /var got filled upto 100%
swap 759200 16 759184 1% /var/run
swap 759200 16 759184 1% /tmp
/dev/dsk/c0t8d0s0 5041987 118971 4872597 3% /opt
/dev/dsk/c0t8d0s1 3663057 48057 3578370 2% /usr/local
On running the integrity check the following errors were noticed.
bash-2.03# /opt/nwreg2/bin/dbcheck -a /var/nwreg2/data/db/mcddb
db_VISTA Version 3.20
Database Consistency Check Utility
Copyright (C) 1985-1990 Raima Corporation, All Rights Reserved
------------------------------------------------------------------------
Processing key file: mcddb.k01(3), total of 1 node
------------------------------------------------------------------------
Processing key file: mcddb.k02(4), total of 1 node
------------------------------------------------------------------------
Processing key file: mcddb.k03(5), total of 1 node
------------------------------------------------------------------------
Processing data file: mcddb.d01(0), total of 782827519 records
Problems at record 1:
* Bus Error
Would appriciate we someone come up with the reason and the solution.
10-16-2003 01:44 PM
I am not sure if you will be migrate between different operating systems, since the same document also says that 'This operating system should be the same as the one being used on the server in production.'
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide