CDA Server Aborted

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

souperdad

CDA Server Aborted

Postby souperdad » Wed Jun 13, 2007 6:29 pm

I'm having a problem with the CDA Server. It is showing as aborted. i tried the following:

omoff -d 0 -w cda
omreset -o off cda
delete the lockfile found at /var/opt/scalix/??/s/sys/omcda.lock (if it exists)
omon cda


But still says partially aborted. I've even tried rebooting the server but that didn't help either. The fatal log files shows the following:

ERROR POP3 interface(POP3 Process ) Wed Jun 13 15:26:58 2007
[SYS 2] No such file or directory
File Name: /var/opt/scalix/ml/s/nls/en_CA
Pid of logging process: 4423
Current errno value: 2

ERROR CDA Server (CDA Server ) Wed Jun 13 15:27:14 2007
[SYS 2] No such file or directory
File Name: /var/opt/scalix/ml/s/nls/en_CA
Pid of logging process: 24511
Current errno value: 2

How do I fix this error?

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Postby ls-al » Thu Jun 14, 2007 3:52 am

I dont know exactly where you might have configured to use "en_CA" as the language for your server (or at the the CDA) but this should be the cause.
cheers,
.d

dhobbs
Posts: 25
Joined: Sat Jul 15, 2006 3:45 am

Postby dhobbs » Thu Jun 14, 2007 3:32 pm

ok but how do we fix it? I'm having the exact same problem.

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Fri Jun 15, 2007 11:47 am

I believe the ERRORs with [SYS 2] are not serious issues at their root and are not the root cause of the CDA server problems. At least, I started up Scalix with :
LANG=en_CA omrc

and the CDA server remained running.

To cause the spurious [SYS 2] errors to disappear, see below.

Scalix "knows about" en_GB (British English) and en_US (American English).
The best thing is to choose which of these is closest to Canadian English. In practice,
there is not a huge difference. Date, time and currency formats are probably
the only things that might in some server generated error messages differ.

If you edit the file, /var/opt/scalix/??/s/sys/LangMap file and add the following lines in the most appropriate place :
OMEQU=en_CA
OMEQU=en_CA.UTF-8

I put in in the "american" section for my testing...

OMLANG=american
OMSTDID=102
OMEQU=En_US
OMEQU=en_US.iso88591
OMEQU=En_US.ISO8859-1
OMEQU=en_US.roman8
OMEQU=en_US.UTF8
OMEQU=en_US.UTF-8
OMEQU=en_CA
OMEQU=en_CA.UTF-8
OMEQU=english_us
OMEQU=english_us.8859
OMEQU=english_us.885
DEFSYSLANG=en_US

Hope this helps,
Regards,
Gren.

dhobbs
Posts: 25
Joined: Sat Jul 15, 2006 3:45 am

Postby dhobbs » Fri Jun 15, 2007 12:14 pm

ok I made those changes but to no avail. When I try to start the CDA server it still leaves it self as partially aborted. These are the 2 lines from the fatal log:

ERROR CDA Server (CDA Server ) Fri Jun 15 09:11:28 2007
[SYS 2] No such file or directory
File Name: /var/opt/scalix/ml/s/nls/en_CA
Pid of logging process: 26016
Current errno value: 2


ERROR POP3 interface(POP3 Process ) Fri Jun 15 09:11:35 2007
[SYS 2] No such file or directory
File Name: /var/opt/scalix/ml/s/nls/en_CA
Pid of logging process: 4418
Current errno value: 2


I should also mention that I am using English (American) as the language setting on Administration page in the SAC.

As it stands right now the CDA server will not start and my ommaint script keeps emailing about it every 15 minutes telling me that the CDA server is aborted.

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Fri Jun 15, 2007 12:28 pm

Hi,

Could you try :
omconflvl cda 15
omoff -d0 cda
omon cda
omshowlog -s cda -l 15 -p 10

Is there anything interesting in the logging produced?

Note that the language used by the CDA process, rightly or wrongly is taken from the locale of the environment in which it is started and not from the settings in SAC.

Regards,
Gren.

dhobbs
Posts: 25
Joined: Sat Jul 15, 2006 3:45 am

Postby dhobbs » Fri Jun 15, 2007 12:50 pm

Ok so here's the contents of the omshowlog as you requested:

-> cda_DaemonMain CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 821] System error 2 on file /var/opt/scalix/ml/s/nls/en_CA
File Name: /var/opt/scalix/ml/s/nls/en_CA


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 10289] === Tracing - Escaped at /build/11.0.4/src/lib/ombase/os/os_opendir.c:64 [1:2]
File Name: /var/opt/scalix/ml/s/nls/en_CA


ERROR CDA Server (CDA Server ) 06.15.07 09:46:34
[SYS 2] No such file or directory
File Name: /var/opt/scalix/ml/s/nls/en_CA
Current errno value: 2
<- sdl_MapSysChar
-> sdl_MapSysChar
-> sdl_InitData
-> sdl_MapStdCharInt
-> sdl_InitData
<- sdl_MapStdCharInt
<- sdl_MapSysChar
-> sdl_MapSysChar
-> sdl_InitData
-> sdl_MapStdCharInt
-> sdl_InitData
<- sdl_MapStdCharInt
<- sdl_MapSysChar
-> ccs_GetICCharset4
-> ccs_GetICCharset3
<- /build/11.0.4/src/lib/ombase/os/os_opendir.c:64[1,2]


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 23735] Client Charset: UTF8
Interchange Charset used: UTF8
File Name: /var/opt/scalix/ml/s/nls/en_CA
Current errno value: 2



REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 16144] The character set 'UTF8' was recorded as the interchange character set
for attributes and values.
File Name: /var/opt/scalix/ml/s/nls/en_CA
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 28658] CDA server starting up
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 28670] CDA Server using Directory change logs to optimise builds.
Current errno value: 2

-> cda_DaemonLoop CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 28662] CDA server reading configuration details
Current errno value: 2

-> cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 23671] Attempting to open message catalog '/opt/scalix/server/locale/en_CA/UTF8,N/msgcats/mc_core'.
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 23672] Failed to open message catalog '/opt/scalix/server/locale/en_CA/UTF8,N/msgcats/mc_core'. errno = 2.
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 23671] Attempting to open message catalog '/opt/scalix/server/locale/C/UTF8,N/msgcats/mc_core'.
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 23667] Opened message catalog '/opt/scalix/server/locale/C/UTF8,N/msgcats/mc_core'.
Current errno value: 2

<- cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:34
-> cda_EnableChLog CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 28668] CDA Server has enabled the Change Log for Directory: SYSTEM.
Current errno value: 2

<- cda_EnableChLog CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 28660] CDA server rebuilding tables for SYSTEM
Current errno value: 2

-> cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 18207] Raw results of setting the ACI context info:
Bit settings for flag = setup/admin/local/root/search/acicmd
UINT32 ACIFlags : 9
char *pACIUserAL :
int ACIALLen : 101
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 16093] Performing DB get with following attributes:
KeyName: 431
KeyValue: 100
Filter: 431=100/430=PrimeRecip
Current errno value: 2

<- cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:34
-> cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 18207] Raw results of setting the ACI context info:
Bit settings for flag = setup/admin/local/root/search/acicmd
UINT32 ACIFlags : 9
char *pACIUserAL :
int ACIALLen : 101
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 16093] Performing DB get with following attributes:
KeyName: 431
KeyValue: 100
Filter: 431=100/430=PrimeRecip
Current errno value: 2

<- cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:34
-> cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:34
<- cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:34
-> cda_CreateDataInternal CDA Server (CDA Server ) 06.15.07 09:46:34
-> da_ParseEntry2 CDA Server (CDA Server ) 06.15.07 09:46:34
-> da_ParseAttribEntry CDA Server (CDA Server ) 06.15.07 09:46:34
-> da_ParseUTF8AttribChars CDA Server (CDA Server ) 06.15.07 09:46:34
<- da_ParseUTF8AttribChars CDA Server (CDA Server ) 06.15.07 09:46:34
<- da_ParseAttribEntry CDA Server (CDA Server ) 06.15.07 09:46:34
<- da_ParseEntry2 CDA Server (CDA Server ) 06.15.07 09:46:34
-> da_ParseEntry2 CDA Server (CDA Server ) 06.15.07 09:46:34
-> da_ParseAttribEntry CDA Server (CDA Server ) 06.15.07 09:46:34
-> da_ParseUTF8AttribChars CDA Server (CDA Server ) 06.15.07 09:46:34
<- da_ParseUTF8AttribChars CDA Server (CDA Server ) 06.15.07 09:46:34
<- da_ParseAttribEntry CDA Server (CDA Server ) 06.15.07 09:46:34
<- da_ParseEntry2 CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 18207] Raw results of setting the ACI context info:
Bit settings for flag = setup/admin/local/root/search/acicmd
UINT32 ACIFlags : 9
char *pACIUserAL :
int ACIALLen : 101
Current errno value: 2

-> cda_ProgressReport CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:34
[OM 17500] Fetching all entries from Directory ... Please wait
Current errno value: 2

<- cda_ProgressReport CDA Server (CDA Server ) 06.15.07 09:46:34

REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 10289] === Tracing - Escaped at /build/11.0.4/src/lib/ombase/vi/vi_loc.c:166 [4:2]
Current errno value: 2

-> cda_DoDirSort CDA Server (CDA Server ) 06.15.07 09:46:35
-> cda_ProgressReport CDA Server (CDA Server ) 06.15.07 09:46:35

REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 17501] Sorting Directory entries ... Please wait
Current errno value: 2

<- cda_ProgressReport CDA Server (CDA Server ) 06.15.07 09:46:35
<- cda_DoDirSort CDA Server (CDA Server ) 06.15.07 09:46:35
<- cda_CreateDataInternal CDA Server (CDA Server ) 06.15.07 09:46:35
-> cda_ProgressReport CDA Server (CDA Server ) 06.15.07 09:46:35

REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 28667] Building Directory Access Tables ... Please wait
Current errno value: 2

<- cda_ProgressReport CDA Server (CDA Server ) 06.15.07 09:46:35
-> cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:35

REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 18207] Raw results of setting the ACI context info:
Bit settings for flag = setup/admin/local/root/search/acicmd
UINT32 ACIFlags : 9
char *pACIUserAL :
int ACIALLen : 101
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 16093] Performing DB get with following attributes:
KeyName: 431
KeyValue: 100
Filter: 431=100/430=PrimeRecip
Current errno value: 2

<- cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:35
-> cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:35
<- cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:35
-> cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:35
<- cda_ParseDirType CDA Server (CDA Server ) 06.15.07 09:46:35
-> cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:35

REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 18207] Raw results of setting the ACI context info:
Bit settings for flag = setup/admin/local/root/search/acicmd
UINT32 ACIFlags : 9
char *pACIUserAL :
int ACIALLen : 101
Current errno value: 2


REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 16093] Performing DB get with following attributes:
KeyName: 431
KeyValue: 100
Filter: 431=100/430=PrimeRecip
Current errno value: 2

<- cda_UserNumber CDA Server (CDA Server ) 06.15.07 09:46:35

REPORT CDA Server (CDA Server ) 06.15.07 09:46:35
[OM 28661] CDA server finished rebuilding for SYSTEM
Current errno value: 2

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Sat Jun 16, 2007 5:02 am

Hmm. Puzzling. That looks as if it has completed its first sweep successfully (where it reports that "CDA server finished rebuilding for SYSTEM"). Are you sure that "omstat -s" shows it aborted after this?

Regards,
Gren

dhobbs
Posts: 25
Joined: Sat Jul 15, 2006 3:45 am

Postby dhobbs » Sat Jun 16, 2007 8:47 pm

Yep it does. Here's the output from omstat -s:

[root@mail ~]# omstat -s
Service Router Started 06.13.07 0
Local Delivery Started 06.13.07 0
Internet Mail Gateway Started 06.13.07 0
Local Client Interface Enabled 06.13.07 0
Remote Client Interface Enabled 06.13.07 28
Test Server Started 06.13.07 0
Request Server Started 06.13.07 0
Print Server Started 06.13.07 0
Bulletin Board Server Started 06.13.07 0
Background Search Service Started 06.13.07 0
CDA Server Partially Abor 06.15.07 0
POP3 interface Started 06.13.07 0
Omscan Server Started 06.13.07 0
Archiver Started 06.13.07 0

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Mon Jun 18, 2007 11:43 am

I can understand the CDA Server being "Aborted", but what you show is it being "Partially Aborted". I thought this could only happen for services that have more than one component and the CDA server doesn't. So I'm afraid I'm still hunting in the dark a bit on this one. Could you post the output of some more commands please:

cat $(omrealpath '~/sys/cda.cfg')
omshowcda
omsetsvc -r cda
ps -fC cda.server
omstat -s|grep CDA

Also, which release of Scalix and what OS are you using?

Thanks,
Gren.

dhobbs
Posts: 25
Joined: Sat Jul 15, 2006 3:45 am

Postby dhobbs » Mon Jun 18, 2007 1:10 pm

Sure

cat $(omrealpath '~/sys/cda.cfg')
S 0 SYSTEM 0 0 1182041297 0

omshowcda
** SYSTEM Shared 15 minutes 06.16.07 17:48:17

omsetsvc -r cda
Details for subsystem CDA Server:
Service Number = 54
Number of components = 1
Logging Level = 15
Audit logging Level = 0
Has an input queue? - NO
Show details from omstat? - YES
Subsystem can be enabled? - YES
Required state - Enabled
Last state change (on/off) = 06.16.07
Last delayed off time =
Startup prog name = ~/bin/cda.server
Shutdown program name = ~/bin/omshutdm -s 54 -g SIGTERM -p -d %d
Status program name =
PID's of subsystem processes: 30065 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Nice Level = 1
Additional Resolve Flag = 0
Subsystem is controlled by 'all' - YES
Minimum temporary processes = 0
Maximum temporary processes = 0
Context dependent information: 0 0 0 0 0 0 0 0
Auxiliary processes = 1
PID's of auxiliary processes: -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


ps -fC cda.server
UID PID PPID C STIME TTY TIME CMD
scalix 30065 1 0 Jun16 ? 00:00:00 cda.server


omstat -s|grep CDA
[root@mail ~]# omstat -s|grep CDA
CDA Server Partially Abor 06.16.07 0

We're running it on CentOS 4 and using version 11.0.4.25

dhobbs
Posts: 25
Joined: Sat Jul 15, 2006 3:45 am

CDA Server Aborted (Solved)

Postby dhobbs » Mon Jun 18, 2007 1:17 pm

Ok I figured it out. For some reason the # of auxilary process was set to -1

Changed this to 0 using omsetsvc -x cda 0 and restarted the cda and now it's fine.

Thanks for the help

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Tue Jun 19, 2007 5:56 am

Hi,

Glad you've got to the bottom of the issue. I've add a bug to track something we might be
able to do to prevent this situation in the future (disallow setting auxiliary processes count for sub-systems that don't support them)

See http://bugzilla.scalix.com/show_bug.cgi?id=15533

Regards,
Gren.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron