Scalix dB Lock Issue!

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

motosat

Scalix dB Lock Issue!

Postby motosat » Mon Nov 20, 2006 12:12 pm

Scalix Version: 10.0.1.6

Problem: All scalix services are stopped or aborted. When attempting to restart Scalix [omrc], I receive the following message:


>db_VISTA Version 3.10
Generic Lock Manager, Clear Database Utility
Copyright (C) 1988 by Raima Corporation
Database Recovery Started from: /var/opt/scalix/dblogs/local/3564.log
-----------------------------------------------------------------------
ERROR: Failed to automatically recover one more databases that
had partially committed transactions.
Log file is ~scalix/logs/recoveryErrors.
Further information may be found in ~scalix/logs/ftlvis.log
Run /opt/scalix/diag/dbcheck -s vi_dir within each
reported database directory to validate database consistency.
If no errors are reported, remove the file, 'vi_dir.lock'
within the database directory and re-start Scalix.<


Upon viewing the log 'ftlvis.log' I can't make heads or tails of it:


>INFO (Pid 16138) [d_RecordTransactionLog] @ Wed Nov 1 11:16:09 2006
Failed to stat Lock File, fd 21, fstat returned 1, errno 9

INFO (Pid 16138) [dberr] @ Wed Nov 1 11:16:09 2006
*** db_VISTA database error -901 - system error
INFO (Pid 3564) [d_RecordTransactionLog] @ Mon Nov 20 08:42:52 2006
Failed to sync Lock File, fd 13, fsync returned -1, errno 9

INFO (Pid 3564) [dberr] @ Mon Nov 20 08:42:52 2006
*** db_VISTA database error -901 - system error
INFO (Pid 19244) [cleardb [main]] @ Mon Nov 20 08:43:07 2006
Running Cleardb with Transaction Log File: /var/opt/scalix/dblogs/local/3564.log

INFO (Pid 19244) [d_recover] @ Mon Nov 20 08:43:07 2006
Can't open log file /var/opt/scalix/dblogs/local/3564.log, errno = 2

INFO (Pid 22269) [cleardb [main]] @ Mon Nov 20 08:44:25 2006
Running Cleardb with Transaction Log File: /var/opt/scalix/dblogs/local/3564.log

INFO (Pid 22269) [d_recover] @ Mon Nov 20 08:44:25 2006
Can't open log file /var/opt/scalix/dblogs/local/3564.log, errno = 2

INFO (Pid 3412) [cleardb [main]] @ Mon Nov 20 08:47:48 2006
Running Cleardb with Transaction Log File: /var/opt/scalix/dblogs/local/3564.log

INFO (Pid 3412) [d_recover] @ Mon Nov 20 08:47:48 2006
Can't open log file /var/opt/scalix/dblogs/local/3564.log, errno = 2

INFO (Pid 4966) [cleardb [main]] @ Mon Nov 20 08:49:10 2006
Running Cleardb with Transaction Log File: /var/opt/scalix/dblogs/local/3564.log

INFO (Pid 4966) [d_recover] @ Mon Nov 20 08:49:10 2006
Can't open log file /var/opt/scalix/dblogs/local/3564.log, errno = 2

INFO (Pid 5068) [cleardb [main]] @ Mon Nov 20 08:50:02 2006
Running Cleardb with Transaction Log File: /var/opt/scalix/dblogs/local/3564.log

INFO (Pid 5068) [d_recover] @ Mon Nov 20 08:50:02 2006
Can't open log file /var/opt/scalix/dblogs/local/3564.log, errno = 2

INFO (Pid 5161) [cleardb [main]] @ Mon Nov 20 08:51:35 2006
Running Cleardb with Transaction Log File: /var/opt/scalix/dblogs/local/3564.log

INFO (Pid 5161) [d_recover] @ Mon Nov 20 08:51:35 2006<


I have also had a problem with the Local Delivery Service partially aborting where the incoming mail becomes stuck in a que which necessitates a restart of the Scalix service on almost a daily basis. I am not sure the 2 are linked but it looks to be suspicious.

All incoming/outgoing mail is first processed through a Symantec Mail Gateway and then forwarded from/to to the Scalix server.

Any help would be greeatly appreciated on this issue.

Thanks,

Mike Barmonde
kinetkdesign@gmail.com

ssiekmann

Postby ssiekmann » Tue Nov 21, 2006 4:23 pm

My first question would be have you run the command that it suggested and does that change anything?

Code: Select all

Run /opt/scalix/diag/dbcheck -s vi_dir within each
reported database directory to validate database consistency.


What OS is this on and what kind of storage subsystem is this on ? NFS by any chance?

Cheers,

Sascha.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron