CDA Server Stopped?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

majdi
Posts: 46
Joined: Tue Oct 02, 2007 7:43 am

CDA Server Stopped?

Postby majdi » Tue Oct 30, 2007 2:21 am

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

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Oct 30, 2007 6:47 am

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

majdi
Posts: 46
Joined: Tue Oct 02, 2007 7:43 am

Postby majdi » Tue Oct 30, 2007 6:00 pm

Thanks for the info Valerion,

I never stopped this service, is it stopped at server restart or is it stopped by default?

Thanks again.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Oct 31, 2007 3:37 am

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.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Wed Oct 31, 2007 9:33 am

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.
Regards,

Les Stott

majdi
Posts: 46
Joined: Tue Oct 02, 2007 7:43 am

Postby majdi » Wed Oct 31, 2007 10:23 am

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.afimail
Subject: 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?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Nov 01, 2007 6:46 am

Thanks, Les, I didn't even think of that. Mind must be going due to old age :P

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.

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

Postby adhodgson » Thu Nov 01, 2007 9:14 am

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.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron