Scalix Server Crash

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jhirsch10
Posts: 10
Joined: Wed Feb 25, 2004 1:46 pm

Scalix Server Crash

Postby jhirsch10 » Fri Oct 27, 2006 10:38 am

Our server crashed with a disk drive failure and we did not have a current backup. The last good backup was in July. We installed on a new server, restored the July data and we are back up and running. However we like to retrieve the mail from the old server data.

The data on the crashed disk was retrieved by a data recovery service. The directory structure was preserved and there is over 50 GB of data. About 21,000 files where lost of the 2,000,000 plus files. On a backup server I installed Scalix and restored the recovered data in /var/opt/scalix. It did not come up cleanly. When starting Scalix (omrc -n) it gets License errors:

SERIOUS ERROR Licence Monito(Licence Monito) 10.27.06 10:08:13
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5528
Procedure trace follows:
-> vi_LocateEntry
-> vi_LocateEntryByKey
-> vi_AnalyseSuppliedKey
-> da_GetAttribDefn
-> da_GetMemAttribDefn
<- da_GetAttribDefn
-> cust_GetCustomiseInfo
<- cust_GetCustomiseInfo
-> vi_InitSortedKeyChainArray
<- vi_InitSortedKeyChainArray
<- vi_AnalyseSuppliedKey
-> vi_HashAttribName
<- vi_HashAttribName
-> vi_LocateFirstKeyInKeyChain
<- vi_LocateFirstKeyInKeyChain
-> vi_LocateFirstKeyInKeyChain


SERIOUS ERROR Licence Monito(Licence Monito) 10.27.06 10:08:13
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc3)[0xb75c8123]
/opt/scalix/lib/libom_er.so[0xb75c842c]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb75c85b7]
/lib/tls/libpthread.so.0[0xb7540d28]
/opt/scalix/lib/libom_vi.so[0xb702cd38]
/opt/scalix/lib/libom_vi.so[0xb702ba82]
/opt/scalix/lib/libom_vi.so(vi_LocateEntry+0x7d)[0xb702b6fd]
/opt/scalix/lib/libom_vi.so(vi_Get+0x37d)[0xb7029c75]
/opt/scalix/lib/libom_dr.so(dr_IL_Get+0x1ef)[0xb7248f0b]
/opt/scalix/lib/libom_dr.so(dr_SearchDir+0x422)[0xb7255e8e]
/opt/scalix/lib/libom_dr.so(dr_Search+0x4e)[0xb72565fd]
/opt/scalix/lib/libom_ul.so[0xb73f0e41]
/opt/scalix/lib/libom_ul.so(ul_CountDefaultLocalUsers+0x22)[0xb73f0fd2]
/opt/scalix/bin/omlicmon[0x804d825]
/opt/scalix/bin/omlicmon(strftime+0x2945)[0x804d12d]
/opt/scalix/bin/omlicmon(strftime+0x22bb)[0x804caa3]
/lib/tls/libc.so.6(__libc_start_main+0xf8)[0xb7413768]
/opt/scalix/bin/omlicmon(Msg_GetAttachedFile+0x41)[0x804af39]


An omstat -a shows that the License Monitor Daemon is Aborted. The license key exists and doesn't appear to be the issue. Many of the basic commands do not respond with any results: omshowu, omshowmn, omlistdirs, omscan, omsearch. The user and user01 directories where restored but some files where corrupted in those directories.

I systematically went through the system and fusing dbcheck ound that the Vista database files are corrupted. There are 5 subdirectories under /var/opt/scalix/dir/1. Number 5 checks error free. The other 4 have errors. Below is a sample of the errors.


In /var/opt/scalix/dir/1/1
# dbcheck -s vi_dir

*** DATABASE ERROR ***
node on delete chain has non-zero slot count
*** on file: dir_24.key at node: 0

*** DATABASE ERROR ***
node on delete chain has non-zero slot count
*** on file: dir_24.key at node: 0

*** DATABASE ERROR ***
node on delete chain has non-zero slot count
*** on file: dir_24.key at node: 0

In /var/opt/scalix/dir/1/4
# dbcheck -s vi_dir

*** DATABASE ERROR ***
Node is deleted, but is not in the delete chain
*** on file: dir_32.key at node: 7

------------------------------------------------------------------------
PROCESSING KEY FILE: dir_40.key, TOTAL OF 1 NODES
------------------------------------------------------------------------
PROCESSING KEY FILE: dir_64.key, TOTAL OF 1 NODES
------------------------------------------------------------------------
PROCESSING KEY FILE: dir_128.key, TOTAL OF 1 NODES

database consistency check completed
227 errors were detected

Any ideas on getting this data store or any part of it functional would be appreciated.

Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 0 guests

cron