Cannot find message file. Check INFORMIXDIR and DBLANG.
Posted in 2005
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration, Networking & sqlhosts Configuration
im trying to run the oninit -i in the command prompt when the message
appear...
we installed...
IBM Informix Dynamic Server 9.40
IBM INFORMIX-4GL Rapid Development System Version 7.32.UC2
IBM INFORMIX-4GL Version 7.32.UC2
set up sqlhosts, services, onconfig, path...
but when tryin to start up database this message appear...
> oninit -i
This action will initialize IBM Informix Dynamic Server;
any existing IBM Informix Dynamic Server databases will NOT be accessible
-
Do you wish to continue (y/n)? y
Cannot find message file. Check INFORMIXDIR and DBLANG.
wolf1975 wrote: > Cannot find message file. Check INFORMIXDIR and DBLANG. what is the value of $INFORMIXDIR and $DBLANG? Are they exported? What is the value of $LANG? Is it exported?
hello adrew,
INFORMIXDIR=/opt/informix -- i exported this one...
how to set the $DBLANG? i dont have it in my installation guide :(
wolf1975 wrote:
> hello adrew,
>
> INFORMIXDIR=/opt/informix -- i exported this one...
And the question i should have put into the first posting... is that where
you installed the products?
> how to set the $DBLANG? i dont have it in my installation guide :(
It's generally not important actually, but from the merest hint that you
are having trouble with English plurals, I'm going to guess that you are
maybe german or some non-language speaking origin? If so, then your UNIX
may have a bunch of language shell parameters exported, and maybe they are
causing trouble, which is why I mentioned $LANG too.
In modern UNIX, $LANG is almost obsolete, and a whole new set of shell
variables control languages. Most of them start with LC_ in their name.
You can detect their existence with
env | grep '^LC_'
by the way, this trick is the best way to prove that a shell variable is
properly exported, for example:
env | grep '^INFORMIXDIR='
env | grep '^PATH='
and so on.
Since I do not do anything with non-english machine setup, I cannot advise
you from any experience in this area, but it's my first hunch since it
sounds like it's trying to find the message file in some specific
language.
If you find that you have a whole set of non-english shell variables,
perhaps you need to set DBLANG to something like 'de' or whatever legal
values it takes. I hope the install guide offers it.
Also, if you have installed an English-only version onto a non-english
machine, you might have to remove all the $LANG and $LC_ variables.
Does any of these ideas match up with your situation?
I have to go home now, and my modem socket got broken by the vacuum
cleaner the other day ;-( so I'm going to have trouble following up. Maybe
i've given you enough hints to solve it, or I'm completely wrong so
someone else can pickup the thread. Good luck.