Page 1 of 1
Unable to open the specified message catalog.
Posted: Tue Jan 09, 2007 5:29 pm
by jryden
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
Posted: Tue Jan 09, 2007 5:57 pm
by dkelly
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
Posted: Tue Jan 09, 2007 6:02 pm
by jryden
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?
Posted: Tue Jan 09, 2007 6:17 pm
by jryden
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...
Posted: Tue Jan 09, 2007 6:18 pm
by dkelly
In that case, can you run strace on that command and post the results ?
Cheers
Dave
Posted: Tue Jan 09, 2007 6:34 pm
by jryden
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
Posted: Tue Jan 09, 2007 6:48 pm
by dkelly
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
Posted: Tue Jan 09, 2007 6:49 pm
by jryden
I'm running it all as root.
Posted: Tue Jan 09, 2007 6:59 pm
by dkelly
Can you make the whole strace file available somewhere ?
Cheers
Dave
Posted: Tue Jan 09, 2007 7:11 pm
by jryden
Sent you a pm
Posted: Thu Jan 11, 2007 5:51 pm
by jryden
Did you see anything that looks suspicious in that strace Dave?
Posted: Mon Jan 15, 2007 1:23 pm
by dkelly
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