Unable to open the specified message catalog.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Unable to open the specified message catalog.

Postby jryden » Tue Jan 09, 2007 5:29 pm

I have started seeing tons of these in omshowlog: Unable to open the specified message catalog.

Is it something I need to worry about? What does it mean? I'm on Scalix 10

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Jan 09, 2007 5:57 pm

Can you post the messages you are seeing logged ?

Is this a permissions problem ? What's changed on your server ? It's obviously not a Scalix 11 upgrade that's the issue so there is something else environmental.

Cheers

Dave

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Tue Jan 09, 2007 6:02 pm

Hey Dave - it's a dedicated server with me as the only admin and as far as I know nothing has changed on it (but thse are famous last words, right?), it's been humming along without any kind of intervention for the past few months really. The "Unable to open the specified message catalog. " messages are getting logged over and over with nothing in between really so I'm not sure what else to post. Which permissions do you think could be out of sync? I just remembered that Scalix script to check permissions but I don't recall the name of it, lazy me, do you think a check with that will do it?

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Tue Jan 09, 2007 6:17 pm

Ummm, duh! The message comes from omshowlog itself. I just did omshowlog | tail -150 > log and the Unable to open... messages were spit out to the console with the actual log messages going into the 'log' file. The plot thickens...

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Jan 09, 2007 6:18 pm

In that case, can you run strace on that command and post the results ?

Cheers

Dave

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Tue Jan 09, 2007 6:34 pm

Ok the strace is pretty humongeous so I took out some parts where the message appears:

stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/var/opt/scalix/nls/AMERICAN/UTF8,N", 0xbfedfeec) = -1 ENOENT (No such file or directory)
stat64("/var/opt/scalix/nls/AMERICAN/UTF8,O", 0xbfedfeec) = -1 ENOENT (No such file or directory)
stat64("/var/opt/scalix/nls/AMERICAN/UTF8,T", 0xbfedfeec) = -1 ENOENT (No such file or directory)
stat64("/var/opt/scalix/nls/AMERICAN/ISO8859_1,N", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/opt/scalix/server/locale/AMERICAN/ISO8859_1,N/msgcats/mc_2025", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/var/opt/scalix/nls/C/ISO8859_1,N", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/opt/scalix/server/locale/C/ISO8859_1,N/msgcats/mc_2025", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Unable to open the specified mes"..., 47) = 47
read(3, "\205\0\6\0\5\0R\v\t\"\216EPF\0\0\2?\3\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(3, "\351\7\0\0`\3\362\277\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\22"..., 101) = 101
time(NULL) = 1168381772

And much more like it

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Jan 09, 2007 6:48 pm

What user are you running as ?

If it's root, it's not likely to be permissions or a language issue. If it isn't root, can you use the command:

omshowu -U uid

What is the language value for that user ?

Cheers

Dave

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Tue Jan 09, 2007 6:49 pm

I'm running it all as root.

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Jan 09, 2007 6:59 pm

Can you make the whole strace file available somewhere ?

Cheers

Dave

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Tue Jan 09, 2007 7:11 pm

Sent you a pm

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Thu Jan 11, 2007 5:51 pm

Did you see anything that looks suspicious in that strace Dave?

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Mon Jan 15, 2007 1:23 pm

I had a look through the strace and can see that we're trying to get a message catalog that should never exist ( I've checked through the source code and confirmed this ) so I'm suspecting that the log files are corrupted in some way ( these are binary files ).

One thing I'd have you try is to remove /var/opt/scalix/NN/s/logs/log.[012] and monitor this for a while to see if it's recurring or not.

Cheers

Dave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 8 guests

cron