Page 1 of 1
CDA Server Stopped?
Posted: Tue Oct 30, 2007 2:21 am
by majdi
Hi,
I see this in SAC under "other services - CDA Server stopped" is this stopped by default? Is this the case or do I have a setting problem? From the Scalix documentation I understand that CDA is needed to automatically find addresses when the user types in the address, a sort of auto-complete function, I'm I on the right track?
System info;
Running SUSE Linux Enterprise Server 10 (i586)
Running Linux linux-sbm7 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux
Running Scalix-11.2.0-GA-core-sles10-intel.tgz
Posted: Tue Oct 30, 2007 6:47 am
by Valerion
Actually, the CDA server does periodic rebuilds of the SYSTEM address book in Outlook. These rebuilds are only needed if you changed the SYSTEM directory (added or deleted users). omexeccda does the same manually.
If is is stopped, you can re-enable it with omon -w cda. If it runs, make sure it's enabled at a restart with omsetsvc -a cda y
Posted: Tue Oct 30, 2007 6:00 pm
by majdi
Thanks for the info Valerion,
I never stopped this service, is it stopped at server restart or is it stopped by default?
Thanks again.
Posted: Wed Oct 31, 2007 3:37 am
by Valerion
It should never be stopped. A clean install starts it by default, and none of the standard scripts stop it, AFACR. It is possible to stop it from the command line or SAC, of course.
Posted: Wed Oct 31, 2007 9:33 am
by les
Valerion wrote:It should never be stopped. A clean install starts it by default, and none of the standard scripts stop it, AFACR. It is possible to stop it from the command line or SAC, of course.
in certain circumstances (mainly after power outs) i have seen the CDA Server still stopped or aborted post a reboot or power fail.
In order to fix it you need to remove the /var/opt/scalix/xx/s/sys/omcda.lck file them omon cda.
The lock file "appears" to never get cleared properly.
I think this should actually be a check as part of ommaint which also restarts smtpd if ports are not accessible. I just haven't gotten around to asking on the list whether thats feasible or not.
Posted: Wed Oct 31, 2007 10:23 am
by majdi
Thanks Les and Valerion.
After checking the the following file var/mail/root
I can see a list of Scalix errors and the CDA
From: root <root@linux-sbm7.afimail>
Message-Id: <200710281403.l9SE3dWt005894@linux-sbm7.afimail>
Date: Sun, 28 Oct 2007 17:03:38 +0300
To:
root@linux-sbm7.afimailSubject: linux-sbm7: Scalix Server Monitor
User-Agent: nail 11.25 7/29/05
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Scalix Monitor Output on Sun Oct 28 17:03:38 AST 2007
Sending computer is linux-sbm7
--------------------------------------------------------------------
Scalix Errors
ERROR SMTP Relay (SMTPD Relay Pr) Fri Oct 26 16:38:06 2007
[OM.DMON 2171] The SMTP Relay could not listen on port 25.
Pid of logging process: 3405
SERIOUS ERROR CDA Server (CDA Server ) Sun Oct 28 08:29:26 2007
[OM 28664] There is already a CDA server process running
Pid of logging process: 3479
SERIOUS ERROR CDA Server (CDA Server ) Sun Oct 28 10:49:34 2007
[OM 28664] There is already a CDA server process running
Pid of logging process: 3529
--------------------------------------------------------------------
Aborted Scalix Services
CDA Server
Why is this message sent to root, is this logged somewhere else? Shouldn't this be sent to the Scalix administrator by default?
Posted: Thu Nov 01, 2007 6:46 am
by Valerion
Thanks, Les, I didn't even think of that. Mind must be going due to old age
That is sent by ommaint, and the default address is root@localhost. The SMTP address of the sxadmin user is dependant on the install. Just edit the email address in ommaint to suit your needs.
This probably needs to be highlighted on the wiki.
Posted: Thu Nov 01, 2007 9:14 am
by adhodgson
Hi,
At one point I tried to clear out the log files in /var/opt/scalix/ml/s/logs, and got various errors with the CDA server. Putting the log files back again fixed it.
Andrew.